cloudstack/test/integration/smoke
Vishesh d2615bb142
Add support for providing userdata to system VMs (#11654)
This PR adds support for specifying user data (cloud-init) for system VMs via Zone Scoped global settings. This allows the operators to customize the System VMs and setup monitoring, logging or execute any custom commands.

We set the user data from the global setting in /var/cache/cloud/cmdline, and use the NoCloud datasource to process user data. cloud-init service is still disabled in the system VMs and it's executed as part of the cloud-postinit service which executes the postinit.sh script.

Added global settings:
systemvm.userdata.enabled - Disabled by default. Needs to be enabled to utilize the feature.
console.proxy.vm.userdata - UUID of the User data to be used for Console Proxy
secstorage.vm.userdata - UUID of the User data to be used for Secondary Storage VM
virtual.router.userdata - UUID of the User data to be used for Virtual Routers
2025-10-08 10:44:26 +05:30
..
__init__.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_2fa.py User two factor authentication (#6924) 2023-02-13 09:14:17 +01:00
test_account_access.py server, api: account and api entity access improvements 2024-08-06 12:24:19 -03:00
test_accounts.py Fix spelling (#7087) 2023-01-16 10:56:07 +01:00
test_affinity_groups.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_affinity_groups_projects.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_annotations.py Allow admin/users to add comments to Management Servers (#7379) 2023-04-18 14:16:55 +05:30
test_async_job.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_attach_multiple_volumes.py Create new Instance from VM backup (#10140) 2025-07-31 15:47:22 +05:30
test_backup_recovery_dummy.py Create new Instance from VM backup (#10140) 2025-07-31 15:47:22 +05:30
test_backup_recovery_nas.py Create Instance from backup on another Zone (DRaaS use case) (#11560) 2025-09-25 13:28:29 +05:30
test_backup_recovery_veeam.py veeam: fix some issues with restoring volume from backup and attaching it to VM (#8570) 2024-01-29 11:40:43 +01:00
test_bucket.py ObjectStore Framework with MinIO and Simulator plugins (#7752) 2023-12-01 17:51:00 +05:30
test_certauthority_root.py test: fix test_certauthority_root.py (#10762) 2025-04-24 14:13:20 +05:30
test_cluster_drs.py smoke tests: Fix cluster DRS & non-strict host affinity smoke test failures on XenServer / XCP-ng (#10761) 2025-04-26 17:39:17 +02:00
test_console_endpoint.py console: Console access enhancements (#6577) 2022-09-14 12:39:59 +05:30
test_create_list_domain_account_project.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_create_network.py Make displayText in createNetwork optional (#7112) 2023-02-08 14:41:59 +01:00
test_deploy_vgpu_enabled_vm.py Fix failing simulator vgpu test (#11374) 2025-08-01 17:45:17 +05:30
test_deploy_virtio_scsi_vm.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_deploy_vm_extra_config_data.py Support XenServer 8.4 / XCP 8.3 - make scripts python3 compatible (#10684) 2025-05-13 12:35:04 +02:00
test_deploy_vm_iso.py CLOUDSTACK-10013: Fixes based on code review and test failures 2017-12-23 17:51:42 +05:30
test_deploy_vm_iso_uefi.py Adding support for RHEL8 binary-compatible variants (#5158) 2021-08-18 10:03:03 +02:00
test_deploy_vm_root_resize.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_deploy_vm_with_userdata.py Fix spelling (#6898) 2022-12-13 14:58:14 +01:00
test_deploy_vms_in_parallel.py Resource reservation framework (#6694) 2022-09-16 15:44:35 +05:30
test_deploy_vms_with_varied_deploymentplanners.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_diagnostics.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_direct_download.py Direct download certificates additions and improvements (#6104) 2022-04-11 22:57:23 -03:00
test_disk_offerings.py kvm: volume encryption feature (#6522) 2022-09-27 10:20:59 +05:30
test_disk_provisioning_types.py Added disk provisioning type support for VMWare (#4640) 2021-07-16 22:37:42 -03:00
test_domain_disk_offerings.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_domain_network_offerings.py tests: Fix test failures for Local storage and Basic zones (#5106) 2021-07-01 09:45:21 +05:30
test_domain_service_offerings.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_domain_vpc_offerings.py tests: Fix test failures for Local storage and Basic zones (#5106) 2021-07-01 09:45:21 +05:30
test_dynamicroles.py Merge branch '4.19' of https://github.com/apache/cloudstack into 4.20 2025-04-28 11:10:08 +05:30
test_enable_account_settings_for_domain.py Fix spelling in docs, logs, exception messages etc (#9076) 2024-05-28 07:41:20 +02:00
test_enable_role_based_users_in_projects.py Enable Flake8 rule W391 (#6606) 2022-11-13 11:00:07 +01:00
test_events_resource.py Fix smoke tests due to change in behavior of restore VM (#10583) 2025-04-26 10:11:27 +05:30
test_extension_custom.py Extensions Framework & Orchestrate Anything (#9752) 2025-07-28 10:41:17 +05:30
test_extension_custom_action_lifecycle.py Extensions Framework & Orchestrate Anything (#9752) 2025-07-28 10:41:17 +05:30
test_extension_lifecycle.py Extensions Framework & Orchestrate Anything (#9752) 2025-07-28 10:41:17 +05:30
test_gateway_on_shared_networks.py Gateways after Nic update on Shared Network tests (#6355) 2022-05-05 19:53:31 -03:00
test_global_acls.py test: cleanup acl in test_global_acls.py (#10893) 2025-05-22 11:40:08 +05:30
test_global_settings.py Introducing granular command timeouts global setting (#9659) 2025-01-07 17:06:32 +05:30
test_guest_os.py Support XenServer 8.4 / XCP 8.3 - make scripts python3 compatible (#10684) 2025-05-13 12:35:04 +02:00
test_guest_vlan_range.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_host_control_state.py Auto Enable/Disable KVM hosts (#7170) 2023-04-04 17:03:37 +05:30
test_host_maintenance.py packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068) 2020-08-17 16:28:30 +05:30
test_host_ping.py test: fix test_host_ping.py to restore original host state (#8380) 2023-12-20 11:52:08 +05:30
test_host_tags.py New feature: Implicit host tags (#8929) 2024-05-30 17:21:13 +05:30
test_hostha_kvm.py Adding support for RHEL8 binary-compatible variants (#5158) 2021-08-18 10:03:03 +02:00
test_hostha_simulator.py test: fix test_hostha_simulator.py and test_outofbandmanagement.py (#10815) 2025-05-08 09:17:00 +02:00
test_human_readable_logs.py Changed test failure to warning (#4264) 2020-08-25 15:29:59 +05:30
test_image_store_object_migration.py Fixup test_image_store_object_migration.py (#8378) 2023-12-20 11:17:41 +05:30
test_import_unmanage_volumes.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_internal_lb.py VMware: add support for 8.0b (8.0.0.2), 8.0c (8.0.0.3) (#7380) 2023-08-17 10:42:42 +02:00
test_ipv4_routing.py feature: Dynamic and Static Routing (#9470) 2024-09-06 08:55:17 +05:30
test_ipv6_infra.py test: add, refactor ipv6 network, vpc tests (#6338) 2022-07-12 12:54:53 +05:30
test_iso.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_kubernetes_clusters.py CKS Enhancements (#9102) 2025-06-19 11:00:42 +05:30
test_kubernetes_supported_versions.py test: upgrade kubernetes versions to 1.25.0/1.26.0 (#7685) 2023-08-10 09:48:08 +02:00
test_list_accounts.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_list_disk_offerings.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_list_domains.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_list_hosts.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_list_ids_parameter.py xen: Fix volume snapshot deletion when it has child snapshots (#6296) 2022-04-22 14:36:08 -03:00
test_list_service_offerings.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_list_storage_pools.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_list_volumes.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_loadbalance.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_login.py util: check JSESSIONID in cookies if user is passed 2024-10-11 17:24:34 +02:00
test_metrics_api.py test: skip check for volume stats history on xenserver (#8661) 2024-02-15 16:32:49 +05:30
test_migration.py docs: fix spelling in code comments (#8690) 2024-02-26 14:16:35 +01:00
test_ms_maintenance_and_safe_shutdown.py Support for Management Server Maintenance Mode (#9854) 2025-01-29 13:31:15 +05:30
test_multipleips_per_nic.py CLOUDSTACK-10193: Fix smoke tests failures with new systemvmtemplate 2017-12-23 09:22:44 +05:30
test_nested_virtualization.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_network.py Add support for network data in Config Drive (#9329) 2024-08-26 10:53:42 +02:00
test_network_acl.py server: fix conserve_mode of DefaultIsolatedNetworkOfferingForVpcNetworks (#11133) 2025-08-15 17:58:28 +05:30
test_network_ipv6.py feature: Dynamic and Static Routing (#9470) 2024-09-06 08:55:17 +05:30
test_network_permissions.py Fix smoke tests due to change in behavior of restore VM (#10583) 2025-04-26 10:11:27 +05:30
test_nic.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_nic_adapter_type.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_non_contigiousvlan.py Enable Flake8 rule W391 (#6606) 2022-11-13 11:00:07 +01:00
test_nonstrict_affinity_group.py smoke tests: Fix cluster DRS & non-strict host affinity smoke test failures on XenServer / XCP-ng (#10761) 2025-04-26 17:39:17 +02:00
test_object_stores.py ObjectStore Framework with MinIO and Simulator plugins (#7752) 2023-12-01 17:51:00 +05:30
test_outofbandmanagement.py test: fix test_hostha_simulator.py and test_outofbandmanagement.py (#10815) 2025-05-08 09:17:00 +02:00
test_outofbandmanagement_nestedplugin.py Use lowercase HTTP header field names so we are compatible with HTTP/2 (#7006) 2023-01-23 11:17:54 +01:00
test_over_provisioning.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_password_server.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_persistent_network.py Enable flake8 rule W292 No newline at end of file (#6274) 2022-06-30 12:08:27 +05:30
test_portable_publicip.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_portforwardingrules.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_primary_storage.py utils,framework/db: Introduce new database encryption cipher based on AesGcmJce (#7003) 2023-02-02 16:25:49 +01:00
test_primary_storage_scope.py test_primary_storage_scope.py should only run with kvm, vmware and simulator (#9323) 2024-07-04 13:29:05 +05:30
test_private_roles.py create parameter to determine whether roles are public or private (#6960) 2023-05-01 15:26:10 +02:00
test_privategw_acl.py pre-commit: enable Python flake8 rule `E271` (#9358) 2024-07-09 10:17:53 +02:00
test_privategw_acl_ovs_gre.py pre-commit: enable Python flake8 rule `E271` (#9358) 2024-07-09 10:17:53 +02:00
test_projects.py server: allow updating project name (#7149) 2023-04-25 15:29:13 +05:30
test_public_ip_range.py server: fix cannot get systemvm ips in dedicated ranges (#7144) 2023-08-25 11:36:39 +02:00
test_purge_expunged_vms.py test: fix failure in test_06_purge_expunged_vm_background_task (#10501) 2025-03-06 09:25:22 +05:30
test_pvlan.py Fix spelling (#6860) 2022-11-13 10:56:15 +01:00
test_quarantined_ips.py Public IP quarantine feature (#7378) 2023-11-15 10:29:22 +01:00
test_regions.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_register_userdata.py test: fix test/integration/smoke/test_register_userdata.py which caused networks not to be deleted (#9244) 2024-06-14 09:05:57 +02:00
test_reset_configuration_settings.py Fix spelling (#6272) 2022-07-05 09:08:53 +02:00
test_reset_vm_on_reboot.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_resource_accounting.py CLOUDSTACK-3009: Fix resource calculation CPU, RAM for accounts. (#3012) 2018-11-13 06:29:08 +05:30
test_resource_detail.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_resource_names.py Support user resource name / displaytext with emoji, unicode chars, and some sql exception msg improvements (#9340) 2024-08-07 14:50:29 +05:30
test_restore_vm.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_router_dhcphosts.py cleanup of unused code and cleanup of cleanup procedure (#5562) 2021-12-23 10:10:38 +05:30
test_router_dns.py CLOUDSTACK-10193: Fix smoke tests failures with new systemvmtemplate 2017-12-23 09:22:44 +05:30
test_router_dnsservice.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_routers.py Upgrade to JRE17 and Upgrade System VMs/VRs to Python3 and Debian 12 (#8497) 2024-02-26 18:07:50 +05:30
test_routers_iptables_default_policy.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_routers_network_ops.py Upgrade to JRE17 and Upgrade System VMs/VRs to Python3 and Debian 12 (#8497) 2024-02-26 18:07:50 +05:30
test_scale_vm.py Smoke tests: Xenserver - Fix consistent failure noticed on scale VM test (#10741) 2025-04-25 10:49:04 +02:00
test_secondary_storage.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_service_offerings.py Instance lease: Allow deployment of instances with lease duration and leaseexpiry action (#10560) 2025-05-28 17:40:09 +05:30
test_set_sourcenat.py test: fix ci failures on main branch (#7733) 2023-07-12 09:19:28 +02:00
test_sharedfs_lifecycle.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_snapshots.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_ssl_offloading.py Improvement: SSL offloading with Virtual Router (#11468) 2025-09-11 16:37:18 +05:30
test_ssvm.py Add support for providing userdata to system VMs (#11654) 2025-10-08 10:44:26 +05:30
test_staticroles.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_storage_policy.py network: fix vm can be deployed on L2 network of other accounts (#5784) 2022-01-11 12:16:00 +05:30
test_systemvm_userdata.py Add support for providing userdata to system VMs (#11654) 2025-10-08 10:44:26 +05:30
test_templates.py test: Add e2e tests for listing resources (#8410) 2024-02-07 08:25:55 +01:00
test_update_security_group.py Fix spelling (#6597) 2022-08-03 15:43:47 +05:30
test_usage.py Merge branch '4.20' 2025-09-17 14:26:06 +05:30
test_usage_events.py python3: Migrate Marvin and smoketests to python3 (#4727) 2021-05-04 23:19:37 +05:30
test_vm_autoscaling.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_vm_deployment_planner.py test_vm_deployment_planner: fix using wrong hypervisor (#7718) 2023-08-07 10:20:42 +05:30
test_vm_life_cycle.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_vm_lifecycle_unmanage_import.py test: fix failure on non-VMware env (#6969) 2022-12-12 10:32:29 +05:30
test_vm_lifecycle_unmanage_kvm_import.py Make kvm domain persistent when unmanaged from CS (#11541) 2025-10-07 10:32:33 +05:30
test_vm_lifecycle_with_snapshot_or_volume.py KVM: Option to deploy a VM with existing volume/snapshot (#10503) 2025-07-14 15:10:45 +05:30
test_vm_schedule.py Add extra checks for test_vm_schedule to avoid intermittent failures (#8036) 2023-10-05 11:48:37 +05:30
test_vm_snapshot_kvm.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_vm_snapshots.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_vm_strict_host_tags.py smoke tests / CI : Fix test_vm_stric_host_tags (#10806) 2025-05-04 08:16:28 +02:00
test_vnf_templates.py New feature: VNF templates and appliances integration (#8022) 2023-10-27 10:23:00 +02:00
test_volumes.py ScaleIO/PowerFlex smoke tests improvements, and some fixes (#11554) 2025-09-12 16:17:20 +02:00
test_vpc_ipv6.py feature: Dynamic and Static Routing (#9470) 2024-09-06 08:55:17 +05:30
test_vpc_redundant.py test: fix test_04_rvpc_network_garbage_collector_nics failure (#11542) 2025-09-02 08:08:10 +02:00
test_vpc_router_nics.py Add Python flake8 linting for W291 trailing whitespace with Super-Linter (#4687) 2022-03-28 11:40:26 -03:00
test_vpc_vpn.py Upgrade to JRE17 and Upgrade System VMs/VRs to Python3 and Debian 12 (#8497) 2024-02-26 18:07:50 +05:30
test_webhook_delivery.py feature: webhooks (#8674) 2024-06-10 10:40:12 +05:30
test_webhook_lifecycle.py feature: webhooks (#8674) 2024-06-10 10:40:12 +05:30