Skip to content

server: Optional destination host when migrate a vm - #4378

Merged
nvazquez merged 15 commits into
apache:mainfrom
ustcweizhou:4.15-migration-vm-optional-host
Aug 10, 2021
Merged

server: Optional destination host when migrate a vm#4378
nvazquez merged 15 commits into
apache:mainfrom
ustcweizhou:4.15-migration-vm-optional-host

Conversation

@ustcweizhou

Copy link
Copy Markdown
Contributor

Description

For now, destination host is required when migrate a vm.
Make it optional and let cloudstack to choose an destination host.

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?

@DaanHoogland

Copy link
Copy Markdown
Contributor

@weizhouapache a little functional nit; in a bigger env where several admins are working one might want to disable this behaviour so two admins trying to empty a host each don't cross each other. Agree?

Comment threadserver/src/main/java/com/cloud/vm/UserVmManagerImpl.java Outdated
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 10, 2020
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 10, 2020
@ustcweizhou
ustcweizhouforce-pushed the 4.15-migration-vm-optional-host branch from fcf8427 to de06a9aCompareOctober 10, 2020 13:21
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 10, 2020
@ustcweizhou
ustcweizhouforce-pushed the 4.15-migration-vm-optional-host branch from de06a9a to 3bc3773CompareOctober 10, 2020 14:16
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 13, 2020
@yadvr

Copy link
Copy Markdown
Member

@ustcweizhou can you address the conflict?

ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 30, 2020
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Oct 30, 2020
@ustcweizhou
ustcweizhouforce-pushed the 4.15-migration-vm-optional-host branch from e4758ae to 4e22e64CompareOctober 30, 2020 09:01
@yadvr

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✖centos7 ✔centos8 ✔debian. JID-2436

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos7 ✔centos8 ✔debian. JID-2438

@DaanHoogland

Copy link
Copy Markdown
Contributor

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@DaanHoogland a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3280)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 36832 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t3280-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 85 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_03_deploy_and_upgrade_kubernetes_clusterFailure290.90test_kubernetes_clusters.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3283)
Environment: vmware-65u2 (x2), Advanced Networking with Mgmt server 7
Total time taken: 38250 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t3283-vmware-65u2.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Smoke tests completed. 85 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_03_deploy_and_upgrade_kubernetes_clusterFailure796.51test_kubernetes_clusters.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-3282)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 95091 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t3282-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_network.py
Intermittent failure detected: /marvin/tests/smoke/test_password_server.py
Intermittent failure detected: /marvin/tests/smoke/test_portforwardingrules.py
Intermittent failure detected: /marvin/tests/smoke/test_primary_storage.py
Intermittent failure detected: /marvin/tests/smoke/test_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_scale_vm.py
Intermittent failure detected: /marvin/tests/smoke/test_secondary_storage.py
Intermittent failure detected: /marvin/tests/smoke/test_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_deployment_planner.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Smoke tests completed. 76 look OK, 10 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_l2network_restartError3709.22test_network.py
test_l2network_restartError3711.03test_network.py
ContextSuite context=TestL2Networks>:teardownError3712.74test_network.py
ContextSuite context=TestPortForwarding>:setupError7379.44test_network.py
ContextSuite context=TestPublicIP>:setupError3739.68test_network.py
test_releaseIPError3607.99test_network.py
ContextSuite context=TestRouterRules>:setupError7313.90test_network.py
ContextSuite context=TestIsolatedNetworksPasswdServer>:setupError0.00test_password_server.py
test_01_create_delete_portforwarding_fornonvpcError3668.44test_portforwardingrules.py
test_01_add_primary_storage_disabled_hostError5.38test_primary_storage.py
test_01_primary_storage_nfsError0.17test_primary_storage.py
ContextSuite context=TestStorageTags>:setupError0.29test_primary_storage.py
ContextSuite context=TestCrossDomainAccountAdd>:teardownError35.36test_projects.py
test_01_scale_vmFailure2.18test_scale_vm.py
test_01_sys_vm_startFailure0.09test_secondary_storage.py
test_02_list_snapshots_with_removed_data_storeError1.19test_snapshots.py
test_01_deploy_vm_on_specific_hostError37.34test_vm_deployment_planner.py
test_04_deploy_vm_on_host_override_pod_and_clusterError6.41test_vm_deployment_planner.py
test_11_migrate_vmError5.34test_vm_life_cycle.py

ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Dec 11, 2020
ustcweizhou added a commit to ustcweizhou/cloudstack that referenced this pull request Dec 11, 2020
@ustcweizhouustcweizhou mentioned this pull request Dec 11, 2020
7 tasks
@shwstppr

Copy link
Copy Markdown
Contributor

@ustcweizhou needs changes in new UI

@DaanHooglandDaanHoogland added this to the 4.16.0.0 milestone Jan 26, 2021
@ustcweizhou
ustcweizhouforce-pushed the 4.15-migration-vm-optional-host branch from 4e22e64 to f7078b5CompareJanuary 26, 2021 13:34
@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1388)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 51540 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1388-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 85 look OK, 4 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_05_ping_in_cpvm_successFailure4.13test_diagnostics.py
test_01_invalid_upgrade_kubernetes_clusterFailure3622.50test_kubernetes_clusters.py
ContextSuite context=TestKubernetesCluster>:teardownError95.70test_kubernetes_clusters.py
test_04_rvpc_privategw_static_routesFailure1134.77test_privategw_acl.py
test_02_VPC_default_routesFailure969.59test_vpc_router_nics.py

@weizhouapache

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 674

@weizhouapache

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian Build Failed (tid-1398)

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1397)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 34958 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1397-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Smoke tests completed. 89 look OK, 0 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1396)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 55002 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1396-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_routers.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 82 look OK, 7 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_01_vpc_privategw_aclFailure4.64test_privategw_acl.py
test_02_vpc_privategw_static_routesFailure4.60test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupFailure5.67test_privategw_acl.py
test_04_rvpc_privategw_static_routesFailure7.75test_privategw_acl.py
test_02_isolate_network_FW_PF_default_routes_egress_falseFailure118.13test_routers_network_ops.py
test_01_create_vm_snapshotsFailure600.42test_vm_snapshots.py
test_02_revert_vm_snapshotsFailure600.44test_vm_snapshots.py
test_03_delete_vm_snapshotsFailure0.01test_vm_snapshots.py
test_01_create_volumeFailure191.04test_volumes.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure644.07test_vpc_redundant.py
test_02_redundant_VPC_default_routesFailure1029.30test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersFailure529.99test_vpc_redundant.py
test_05_rvpc_multi_tiersFailure671.81test_vpc_redundant.py
test_02_VPC_default_routesFailure1343.03test_vpc_router_nics.py
test_01_vpc_site2site_vpnFailure46.23test_vpc_vpn.py

@weizhouapache

Copy link
Copy Markdown
Member

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a Trillian-Jenkins matrix job (centos7 mgmt + xs71, centos7 mgmt + vmware65, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1420)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 60279 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1420-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_accounts.py
Intermittent failure detected: /marvin/tests/smoke/test_async_job.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_iso.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vms_with_varied_deploymentplanners.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_with_userdata.py
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_domain_service_offerings.py
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_iso.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_list_ids_parameter.py
Intermittent failure detected: /marvin/tests/smoke/test_loadbalance.py
Intermittent failure detected: /marvin/tests/smoke/test_metrics_api.py
Intermittent failure detected: /marvin/tests/smoke/test_multipleips_per_nic.py
Intermittent failure detected: /marvin/tests/smoke/test_nested_virtualization.py
Intermittent failure detected: /marvin/tests/smoke/test_network_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_network.py
Intermittent failure detected: /marvin/tests/smoke/test_nic.py
Intermittent failure detected: /marvin/tests/smoke/test_password_server.py
Intermittent failure detected: /marvin/tests/smoke/test_portforwardingrules.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_reset_vm_on_reboot.py
Intermittent failure detected: /marvin/tests/smoke/test_resource_accounting.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dns.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermittent failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 64 look OK, 25 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
ContextSuite context=TestAccounts>:setupError0.00test_accounts.py
ContextSuite context=TestAddVmToSubDomain>:setupError0.00test_accounts.py
test_DeleteDomainError3.97test_accounts.py
test_forceDeleteDomainFailure3.96test_accounts.py
ContextSuite context=TestRemoveUserFromAccount>:setupError4.98test_accounts.py
ContextSuite context=TestInternalLb>:setupError0.00test_internal_lb.py
test_01_nicError136.29test_nic.py
test_01_1_create_iso_with_checksum_sha1_negativeError66.40test_iso.py
test_01_create_iso_with_checksum_sha1Error66.37test_iso.py
test_01_create_iso_with_checksum_sha1Error66.37test_iso.py
test_02_1_create_iso_with_checksum_sha256_negativeError66.42test_iso.py
test_04_extract_IsoFailure128.25test_iso.py
ContextSuite context=TestLoadBalance>:setupError0.00test_loadbalance.py
ContextSuite context=TestDeployVMFromISO>:setupError0.00test_deploy_vm_iso.py
test_list_vms_metricsError0.67test_metrics_api.py
ContextSuite context=TestDeployVmWithVariedPlanners>:setupError0.00test_deploy_vms_with_varied_deploymentplanners.py
ContextSuite context=TestDeployVmWithUserData>:setupError0.00test_deploy_vm_with_userdata.py
test_03_ping_in_ssvm_successFailure15.74test_diagnostics.py
test_08_arping_in_ssvmFailure5.15test_diagnostics.py
test_09_arping_in_cpvmFailure5.15test_diagnostics.py
test_13_retrieve_vr_default_filesFailure129.28test_diagnostics.py
test_14_retrieve_vr_one_fileFailure128.38test_diagnostics.py
test_15_retrieve_ssvm_default_filesFailure129.41test_diagnostics.py
test_16_retrieve_ssvm_single_fileFailure128.38test_diagnostics.py
test_17_retrieve_cpvm_default_filesFailure129.41test_diagnostics.py
test_18_retrieve_cpvm_single_fileFailure129.28test_diagnostics.py
ContextSuite context=TestNetworkACL>:setupError0.00test_network_acl.py
test_delete_accountError0.45test_network.py
test_delete_network_while_vm_on_itError1.10test_network.py
test_deploy_vm_l2networkError1.10test_network.py
test_l2network_restartError2.22test_network.py
ContextSuite context=TestPortForwarding>:setupError3.37test_network.py
ContextSuite context=TestPublicIP>:setupError1.02test_network.py
test_reboot_routerFailure0.04test_network.py
test_releaseIPError0.43test_network.py
ContextSuite context=TestRouterRules>:setupError0.48test_network.py
ContextSuite context=TestDomainsServiceOfferings>:setupError1553.54test_domain_service_offerings.py
test_01_invalid_upgrade_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_02_deploy_and_upgrade_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_04_basic_lifecycle_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_05_delete_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_06_deploy_invalid_kubernetes_ha_clusterFailure0.01test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_clusterFailure0.01test_kubernetes_clusters.py
test_08_deploy_and_upgrade_kubernetes_ha_clusterFailure0.01test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_clusterFailure0.01test_kubernetes_clusters.py
ContextSuite context=TestListIdsParams>:setupError0.00test_list_ids_parameter.py
test_nic_secondaryip_add_removeFailure0.05test_multipleips_per_nic.py
ContextSuite context=TestNestedVirtualization>:setupError0.00test_nested_virtualization.py
ContextSuite context=TestIsolatedNetworksPasswdServer>:setupError0.00test_password_server.py
test_01_redundant_vpc_site2site_vpnFailure359.18test_vpc_vpn.py
ContextSuite context=TestPortForwardingRules>:setupError0.00test_portforwardingrules.py
ContextSuite context=TestPrivateGwACL>:setupError0.00test_privategw_acl.py
test_09_project_suspendError1.13test_projects.py
test_10_project_activationError1.06test_projects.py
ContextSuite context=TestResetVmOnReboot>:setupError0.00test_reset_vm_on_reboot.py
ContextSuite context=TestRAMCPUResourceAccounting>:setupError0.00test_resource_accounting.py
test_hostha_enable_ha_when_host_in_maintenanceError301.88test_hostha_kvm.py

@weizhouapache

Copy link
Copy Markdown
Member

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@weizhouapache a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1429)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40649 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1429-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 88 look OK, 1 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
test_02_deploy_and_upgrade_kubernetes_clusterFailure515.61test_kubernetes_clusters.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1419)
Environment: xenserver-71 (x2), Advanced Networking with Mgmt server 7
Total time taken: 116451 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1419-xenserver-71.zip
Intermittent failure detected: /marvin/tests/smoke/test_accounts.py
Intermittent failure detected: /marvin/tests/smoke/test_affinity_groups_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_async_job.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_iso.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vms_with_varied_deploymentplanners.py
Intermittent failure detected: /marvin/tests/smoke/test_deploy_vm_with_userdata.py
Intermittent failure detected: /marvin/tests/smoke/test_diagnostics.py
Intermittent failure detected: /marvin/tests/smoke/test_domain_service_offerings.py
Intermittent failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermittent failure detected: /marvin/tests/smoke/test_iso.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_clusters.py
Intermittent failure detected: /marvin/tests/smoke/test_kubernetes_supported_versions.py
Intermittent failure detected: /marvin/tests/smoke/test_list_ids_parameter.py
Intermittent failure detected: /marvin/tests/smoke/test_loadbalance.py
Intermittent failure detected: /marvin/tests/smoke/test_metrics_api.py
Intermittent failure detected: /marvin/tests/smoke/test_multipleips_per_nic.py
Intermittent failure detected: /marvin/tests/smoke/test_nested_virtualization.py
Intermittent failure detected: /marvin/tests/smoke/test_network_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_network.py
Intermittent failure detected: /marvin/tests/smoke/test_nic_adapter_type.py
Intermittent failure detected: /marvin/tests/smoke/test_password_server.py
Intermittent failure detected: /marvin/tests/smoke/test_portforwardingrules.py
Intermittent failure detected: /marvin/tests/smoke/test_primary_storage.py
Intermittent failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermittent failure detected: /marvin/tests/smoke/test_projects.py
Intermittent failure detected: /marvin/tests/smoke/test_reset_vm_on_reboot.py
Intermittent failure detected: /marvin/tests/smoke/test_resource_accounting.py
Intermittent failure detected: /marvin/tests/smoke/test_router_dhcphosts.py
Intermittent failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermittent failure detected: /marvin/tests/smoke/test_templates.py
Intermittent failure detected: /marvin/tests/smoke/test_usage.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermittent failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermittent failure detected: /marvin/tests/smoke/test_volumes.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_router_nics.py
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermittent failure detected: /marvin/tests/smoke/test_host_maintenance.py
Smoke tests completed. 54 look OK, 35 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File
ContextSuite context=TestInternalLb>:setupError0.00test_internal_lb.py
ContextSuite context=TestAccounts>:setupError0.00test_accounts.py
ContextSuite context=TestAddVmToSubDomain>:setupError0.00test_accounts.py
test_DeleteDomainError9.02test_accounts.py
test_forceDeleteDomainFailure5.22test_accounts.py
ContextSuite context=TestRemoveUserFromAccount>:setupError5.29test_accounts.py
ContextSuite context=TestDomainsServiceOfferings>:setupError1545.14test_domain_service_offerings.py
ContextSuite context=TestDeployVmWithAffinityGroup>:setupError0.00test_affinity_groups_projects.py
ContextSuite context=TestAsyncJob>:setupError0.00test_async_job.py
test_01_create_iso_with_checksum_sha1Error66.38test_iso.py
test_02_create_iso_with_checksum_sha256Error66.37test_iso.py
test_03_create_iso_with_checksum_md5Error66.38test_iso.py
test_04_create_iso_with_no_checksumError66.37test_iso.py
test_01_create_isoFailure1557.13test_iso.py
ContextSuite context=TestISO>:setupError3085.47test_iso.py
ContextSuite context=TestLoadBalance>:setupError0.00test_loadbalance.py
ContextSuite context=TestDeployVMFromISO>:setupError0.00test_deploy_vm_iso.py
test_list_clusters_metricsError1562.94test_metrics_api.py
test_list_vms_metricsError0.14test_metrics_api.py
ContextSuite context=TestDeployVmWithVariedPlanners>:setupError0.00test_deploy_vms_with_varied_deploymentplanners.py
ContextSuite context=TestDeployVmWithUserData>:setupError0.00test_deploy_vm_with_userdata.py
ContextSuite context=TestRemoteDiagnostics>:setupError0.00test_diagnostics.py
ContextSuite context=TestNetworkACL>:setupError0.00test_network_acl.py
test_delete_accountError1519.74test_network.py
test_delete_network_while_vm_on_itError1.10test_network.py
test_deploy_vm_l2networkError1.10test_network.py
test_l2network_restartError4.37test_network.py
ContextSuite context=TestPortForwarding>:setupError5.49test_network.py
ContextSuite context=TestPublicIP>:setupError1.07test_network.py
test_reboot_routerFailure0.07test_network.py
test_releaseIPError0.46test_network.py
ContextSuite context=TestRouterRules>:setupError0.64test_network.py
test_01_invalid_upgrade_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_02_deploy_and_upgrade_kubernetes_clusterFailure0.00test_kubernetes_clusters.py
test_03_deploy_and_scale_kubernetes_clusterFailure0.00test_kubernetes_clusters.py
test_04_basic_lifecycle_kubernetes_clusterFailure0.01test_kubernetes_clusters.py
test_05_delete_kubernetes_clusterFailure0.00test_kubernetes_clusters.py
test_06_deploy_invalid_kubernetes_ha_clusterFailure0.00test_kubernetes_clusters.py
test_07_deploy_kubernetes_ha_clusterFailure0.00test_kubernetes_clusters.py
test_08_deploy_and_upgrade_kubernetes_ha_clusterFailure0.00test_kubernetes_clusters.py
test_09_delete_kubernetes_ha_clusterFailure0.00test_kubernetes_clusters.py
test_01_add_delete_kubernetes_supported_versionError1805.65test_kubernetes_supported_versions.py
ContextSuite context=TestListIdsParams>:setupError0.00test_list_ids_parameter.py
test_nic_secondaryip_add_removeError1519.74test_multipleips_per_nic.py
ContextSuite context=TestNestedVirtualization>:setupError0.00test_nested_virtualization.py
ContextSuite context=TestIsolatedNetworksPasswdServer>:setupError0.00test_password_server.py
ContextSuite context=TestPortForwardingRules>:setupError0.00test_portforwardingrules.py
ContextSuite context=TestRVPCSite2SiteVpn>:setupError0.00test_vpc_vpn.py
ContextSuite context=TestVPCSite2SiteVPNMultipleOptions>:setupError0.00test_vpc_vpn.py
ContextSuite context=TestVpcRemoteAccessVpn>:setupError0.00test_vpc_vpn.py
ContextSuite context=TestVpcSite2SiteVpn>:setupError0.00test_vpc_vpn.py
ContextSuite context=TestPrivateGwACL>:setupError0.00test_privategw_acl.py
test_09_project_suspendError1.08test_projects.py
test_10_project_activationError1.06test_projects.py
ContextSuite context=TestVPCNics>:setupError0.00test_vpc_router_nics.py
ContextSuite context=TestResetVmOnReboot>:setupError0.00test_reset_vm_on_reboot.py
ContextSuite context=TestRAMCPUResourceAccounting>:setupError0.00test_resource_accounting.py
ContextSuite context=TestRouterDHCPHosts>:setupError0.00test_router_dhcphosts.py
ContextSuite context=TestRouterDHCPOpts>:setupError0.00test_router_dhcphosts.py
test_01_RVR_Network_FW_PF_SSH_default_routes_egress_trueFailure387.61test_routers_network_ops.py
test_02_create_template_with_checksum_sha1Error65.61test_templates.py
test_03_create_template_with_checksum_sha256Error65.38test_templates.py
test_04_create_template_with_checksum_md5Error65.39test_templates.py
test_05_create_template_with_no_checksumError65.41test_templates.py
test_04_extract_templateFailure128.30test_templates.py
ContextSuite context=TestISOUsage>:setupError0.00test_usage.py
ContextSuite context=TestLBRuleUsage>:setupError0.00test_usage.py
test_01_volume_usageFailure688.66test_usage.py
ContextSuite context=TestDeployVM>:setupError0.00test_vm_life_cycle.py
test_10_attachAndDetach_isoFailure1559.57test_vm_life_cycle.py
ContextSuite context=TestChangeServiceOfferingForVmWithSnapshots>:setupError0.00test_vm_snapshots.py
ContextSuite context=TestCreateVolume>:setupError0.00test_volumes.py
test_06_download_detached_volumeFailure320.85test_volumes.py
ContextSuite context=TestVPCRedundancy>:setupError0.00test_vpc_redundant.py

@yadvryadvr closed this Aug 9, 2021
@yadvryadvr reopened this Aug 9, 2021
@yadvr

yadvr commented Aug 9, 2021

Copy link
Copy Markdown
Member

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 803

@nvazquez

Copy link
Copy Markdown
Contributor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

@nvazquez a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-1558)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 35862 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr4378-t1558-kvm-centos7.zip
Intermittent failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Smoke tests completed. 89 look OK, 0 have error(s)
Only failed tests results shown below:

TestResultTime (s)Test File

@nvazquez
nvazquez merged commit 846efdb into apache:mainAug 10, 2021
nvazquez pushed a commit that referenced this pull request Sep 8, 2021
* server: Optional destination host when migrate a vm
* #4378: migrate systemvms/routers with optional host
* Migrate vms across clusters
After enabling maintenance mode on host, if no suitable hosts
are found in the same cluster then search for hosts in
different clusters having the same hypervisor type
set global setting migrate.vm.across.clusters to true
* search all clusters in zone when migrate vm across clusters if applicable
* Honor migrate.vm.across.clusters when migrate vm without destination
* Check MIGRATE_VM_ACROSS_CLUSTERS in zone setting
* #4534 Fix Vms are migrated to same clusters in CloudStack caused by dedicated resources.
* #4534 extract some codes to methods
* fix#4534: an error in 'git merge'
* fix#4534: remove useless methods in FirstFitPlanner.java
* fix#4534: vms are stopped in host maintenance
* fix#4534: across-cluster migration of vms with cluster-scoped pools is supported by vmware vmotion
* fix#4534: migrate systemvms is only possible across clusters in same pod to avoid potential network errors.
* fix#4534: code optimization
Co-authored-by: Rakesh Venkatesh <r.venkatesh@global.leaseweb.com>
Co-authored-by: Sina Kashipazha <s.kashipazha@global.leaseweb.com>
Co-authored-by: Wei Zhou <weizhou@apache.org>
Co-authored-by: Sina Kashipazha <soreana@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@ustcweizhou@DaanHoogland@yadvr@blueorangutan@shwstppr@weizhouapache@sureshanaparti@GabrielBrascher@nvazquez@ACSGitBot