cloudstack/scripts/vm/hypervisor/xenserver
Pearl Dsilva 830f3061bc
SystemVM optimizations (#5831)
* Support for live patching systemVMs and deprecating systemVM.iso. Includes:
- fix systemVM template version
- Include agent.zip, cloud-scripts.tgz to the commons package
- Support for live-patching systemVMs - CPVM, SSVM, Routers
- Fix Unit test
- Remove systemvm.iso dependency

* The following commit:
- refactors logic added to support SystemVM deployment on KVM
- Adds support to copy specific files (required for patching) to the hosts on Xenserver
- Modifies vmops method - createFileInDomr to take cleanup param
- Adds configuratble sleep param to CitrixResourceBase::connect() used to verify if telnet to specifc port is possible (if sleep is 0, then default to _sleep = 10000ms)
- Adds Command/Answer for patch systemVMs on XenServer/Xcp

* - Support to patch SystemVMs - VMWare
- Remove attaching systemvm.iso to systemVMs
- Modify / Refactor VMware start command to copy patch related files to the systemvms
- cleanup

* Commit comprises of:
- remove docker from systemvm template - use containerd as container runtime
- update create-k8s-binaries script to use ctr for all docker operations
- Update userdata sent to the k8s nodes
- update cksnode script, run during patching of the cks/k8s nodes

* Add ssh to k8s nodes details in the Access tab on the UI

* test

* Refactor ca/cert patching logic

* Commit comprises of the following changes:
- Use restart network/VPC API to patch routers
- use livePatch API support patching of only cpvm/ssvm
- add timeout to the keystore setup/import script

* remove all references of systemvm.iso

* Fix keystore-cert-import invocation + refactor cert timeout in CP/SS VMs

* fix script timeout

* Refactor cert patching for systemVMs + update keystore-cert-import script + patch-sysvms script + remove patchSysvmCommand from networkelementcommand

* remove commented code + change core user to cloud for cks nodes

* Update ownership of ssh directory

* NEED TO DISCUSS - add on the fly template conversion as an ExecStartPre action (systemd)

* Add UI changes + move changes from patch file to runcmd

* test: validate performance for template modification during seeding

* create vms folder in cloudstack-commons directory - debian rules

* remove logic for on the fly template convert + update k8s test

* fix syntax issue - causing issue with shared network tests

* Code cleanup

* refactor patching logic - certs

* move logic of fixing rootdiskcontroller from upgrade to kubernetes service

* add livepatch option to restart network & vpc

* smooth upgrade of cks clusters

* Support for live patching systemVMs and deprecating systemVM.iso. Includes:
- fix systemVM template version
- Include agent.zip, cloud-scripts.tgz to the commons package
- Support for live-patching systemVMs - CPVM, SSVM, Routers
- Fix Unit test
- Remove systemvm.iso dependency

* The following commit:
- refactors logic added to support SystemVM deployment on KVM
- Adds support to copy specific files (required for patching) to the hosts on Xenserver
- Modifies vmops method - createFileInDomr to take cleanup param
- Adds configuratble sleep param to CitrixResourceBase::connect() used to verify if telnet to specifc port is possible (if sleep is 0, then default to _sleep = 10000ms)
- Adds Command/Answer for patch systemVMs on XenServer/Xcp

* - Support to patch SystemVMs - VMWare
- Remove attaching systemvm.iso to systemVMs
- Modify / Refactor VMware start command to copy patch related files to the systemvms
- cleanup

* Commit comprises of:
- remove docker from systemvm template - use containerd as container runtime
- update create-k8s-binaries script to use ctr for all docker operations
- Update userdata sent to the k8s nodes
- update cksnode script, run during patching of the cks/k8s nodes

* Add ssh to k8s nodes details in the Access tab on the UI

* test

* Refactor ca/cert patching logic

* Commit comprises of the following changes:
- Use restart network/VPC API to patch routers
- use livePatch API support patching of only cpvm/ssvm
- add timeout to the keystore setup/import script

* remove all references of systemvm.iso

* Fix keystore-cert-import invocation + refactor cert timeout in CP/SS VMs

* fix script timeout

* Refactor cert patching for systemVMs + update keystore-cert-import script + patch-sysvms script + remove patchSysvmCommand from networkelementcommand

* remove commented code + change core user to cloud for cks nodes

* Update ownership of ssh directory

* NEED TO DISCUSS - add on the fly template conversion as an ExecStartPre action (systemd)

* Add UI changes + move changes from patch file to runcmd

* test: validate performance for template modification during seeding

* create vms folder in cloudstack-commons directory - debian rules

* remove logic for on the fly template convert + update k8s test

* fix syntax issue - causing issue with shared network tests

* Code cleanup

* add cgroup config for containerd

* add systemd config for kubelet

* add additional info during image registry config

* address comments

* add temp links of download.cloudstack.org

* address part of the comments

* address comments

* update containerd config - as version has upgraded to 1.5 from 1.4.12 in 4.17.0

* address comments - simplify

* fix vue3 related icon changes

* allow network commands when router template version is lower but is patched

* add internal LB to the list of routers to be patched on network restart with live patch

* add unit tests for API param validations and new helper utilities - file scp & checksum validations

* perform patching only for non-user i.e., system VMs

* add test to validate params

* remove unused import

* add column to domain_router to display software version and support networkrestart with livePatch from router view

* Requires upgrade column to consider package (cloud-scripts) checksum to identify if true/false

* use router software version instead of checksum

* show N/A if no software version reported i.e., in upgraded envs

* fix deb failure

* update pom to official links of systemVM template
2022-04-21 13:40:19 -03:00
..
xcposs SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
xcpserver SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
xenserver56 SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
xenserver56fp1 SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
xenserver60 SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
xenserver62 SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
xenserver65 SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
add_to_vcpus_params_live.sh CLOUDSTACK-2085: VM weight on xen remain same as before vmscaleup ;because "Add-To-VCPUs-Params-Live.sh" is not getting copied on xs host 2013-05-15 16:17:21 +05:30
check_heartbeat.sh check_heartbeat and pingtest execute through ssh, not XAPI, because XAPI may hang when master host is downi 2014-03-25 10:44:20 -07:00
cloud-clean-vlan.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloud-plugin-storage [XenServer/XCP-ng] Pass the image store NFS version on storage commands (#5886) 2022-01-31 12:21:13 +05:30
cloud-prepare-upgrade.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloud-propagate-vlan.sh Summary: several scripts are not mode executable 2013-01-17 11:21:42 -07:00
cloud-setup-bonding.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
cloudlog Rename xapi plugins for s3 and swift to make them work after renaming the calls 2015-10-27 14:07:29 +01:00
cloudstack_pluginlib.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
cloudstack_plugins.conf license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
copy_vhd_from_secondarystorage.sh use directIO flags when dd'ing template 2014-12-15 16:36:35 +01:00
copy_vhd_to_secondarystorage.sh put shell scripts to a seperate directory in XS 2013-12-03 02:05:34 -08:00
create_privatetemplate_from_snapshot.sh put shell scripts to a seperate directory in XS 2013-12-03 02:05:34 -08:00
kill_copy_process.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
launch_hb.sh CLOUDSTACK-7184: xenheartbeat gets passed timeout and interval 2014-09-18 12:51:10 +02:00
logrotate CLOUDSTACK-8906: /var/log/cloud/ doesn't get logrotated on xenserver (#883) 2017-08-03 00:51:16 +02:00
make_migratable.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
mockxcpplugin.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
network_info.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
ovs-get-bridge.sh PVLAN: Add network label parameter to PvlanSetupCommand 2013-05-01 13:23:09 -07:00
ovs-get-dhcp-iface.sh PVLAN: PvlanSetupCommand for KVM support 2013-05-01 13:23:09 -07:00
ovs-pvlan put CS/XS plugin log into seperate directory 2013-12-10 01:23:46 -08:00
ovs-vif-flows.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
ovstunnel OVS/GRE: bug fixes (#5446) 2021-10-03 14:47:52 +05:30
perfmon.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
s3xenserver CLOUDSTACK-9062: Improve S3 implementation. 2015-11-19 15:29:10 +01:00
setup_heartbeat_file.sh put shell scripts to a seperate directory in XS 2013-12-03 02:05:34 -08:00
setup_heartbeat_sr.sh xenserver: add support for XCP-ng 7/8 to create it's heartbeat LVM properly (#4109) 2020-06-11 17:30:16 +05:30
setup_iscsi.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
setupxenserver.sh CLOUDSTACK-8906: /var/log/cloud/ doesn't get logrotated on xenserver (#883) 2017-08-03 00:51:16 +02:00
storagePlugin put CS/XS plugin log into seperate directory 2013-12-10 01:23:46 -08:00
swift CLOUDSTACK-9677: Adding storage policy support for swift as secondary storage (#2412) 2018-04-26 00:42:15 +02:00
swiftxenserver CLOUDSTACK-10229: improve xenserver swift logging, removed usued code (#2152) 2018-01-12 19:53:35 +05:30
upgrade_snapshot.sh put shell scripts to a seperate directory in XS 2013-12-03 02:05:34 -08:00
upgrade_vnc_config.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
vmops SystemVM optimizations (#5831) 2022-04-21 13:40:19 -03:00
vmopsSnapshot [XenServer/XCP-ng] Pass the image store NFS version on storage commands (#5886) 2022-01-31 12:21:13 +05:30
vmopspremium CLOUDSTACK-7868: Failed storage.PrimaryStorageDownloadCommand leaves corrupt VDIs in primary storage. 2014-11-08 13:43:56 +05:30
xen-ovs-vif-flows.rules license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00
xenheartbeat.sh CLOUDSTACK-7527 reboot faster by writing to /proc/sysrq-trigger 2014-09-18 12:51:42 +02:00
xs_cleanup.sh license header changes for scripts folder from Chip Childers 2012-06-23 00:58:00 -04:00