Skip to content

CLOUDSTACK-9502: DS template copies don’t get deleted in VMware ESXi with multiple clusters and zone wide storage (include CLOUDSTACK-9386 into 4.9 release branch) - #1676

Merged
asfgit merged 1 commit into
apache:4.9from
nvazquez:dstemplates49
Nov 17, 2016

Conversation

@nvazquez

Copy link
Copy Markdown
Contributor

Include #1560 into 4.9 release branch

@serg38

serg38 commented Sep 19, 2016

Copy link
Copy Markdown

@jburwell We just re-run integration tests. The same environment as 1560.
You can now safely back out 1560 and forward merge this one.

test DeployVM in anti-affinity groups for project ... === TestName: test_DeployVmAntiAffinityGroup_in_project | Status : SUCCESS ===
test DeployVM in anti-affinity groups ... === TestName: test_DeployVmAntiAffinityGroup | Status : SUCCESS ===
Test Deploy Virtual Machine ... SKIP: Skipping test because suitable hypervisor/host not present
Test Deploy Virtual Machine from ISO ... === TestName: test_deploy_vm_from_iso | Status : SUCCESS ===
Test deploy virtual machine with root resize ... === TestName: test_00_deploy_vm_root_resize | Status : SUCCESS ===
Test proper failure to deploy virtual machine with rootdisksize of 0 ... === TestName: test_01_deploy_vm_root_resize | Status : SUCCESS ===
Test proper failure to deploy virtual machine with rootdisksize less than template size ... === TestName: test_02_deploy_vm_root_resize | Status : SUCCESS ===
Test to deploy vm with a first fit offering ... === TestName: test_deployvm_firstfit | Status : SUCCESS ===
Test deploy VMs using user concentrated planner ... === TestName: test_deployvm_userconcentrated | Status : SUCCESS ===
Test deploy VMs using user dispersion planner ... === TestName: test_deployvm_userdispersing | Status : SUCCESS ===
Test userdata as GET, size > 2k ... === TestName: test_deployvm_userdata | Status : SUCCESS ===
Test userdata as POST, size > 2k ... === TestName: test_deployvm_userdata_post | Status : SUCCESS ===
Test to create disk offering ... === TestName: test_01_create_disk_offering | Status : SUCCESS ===
Test to create a sparse type disk offering ... === TestName: test_02_create_sparse_type_disk_offering | Status : SUCCESS ===
Test to create a sparse type disk offering ... === TestName: test_04_create_fat_type_disk_offering | Status : SUCCESS ===
Test to update existing disk offering ... === TestName: test_02_edit_disk_offering | Status : SUCCESS ===
Test to delete disk offering ... === TestName: test_03_delete_disk_offering | Status : SUCCESS ===
Test to ensure 4 default roles cannot be deleted ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Test to check role, role permissions and account life cycles ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Test for role-rule enforcement in case of multiple mgmt servers ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Test to ensure role in use cannot be deleted ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests normal lifecycle operations for roles ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests role update ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests that default four roles exist ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests role update ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests role update when role is in use by an account ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests concurrent order updation of role permission ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests creation of role permission ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests deletion of role permission ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests listing of default role's permission ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
Tests order updation of role permission ... SKIP: Dynamic Role-Based API checker not enabled, skipping test
test update configuration setting at zone level scope ... === TestName: test_UpdateConfigParamWithScope | Status : SUCCESS ===
Test guest vlan range dedication ... === TestName: test_dedicateGuestVlanRange | Status : SUCCESS ===
Test create public & private ISO ... === TestName: test_01_create_iso | Status : SUCCESS ===
Test Edit ISO ... === TestName: test_02_edit_iso | Status : SUCCESS ===
Test delete ISO ... === TestName: test_03_delete_iso | Status : SUCCESS ===
Test for extract ISO ... === TestName: test_04_extract_Iso | Status : SUCCESS ===
Update & Test for ISO permissions ... === TestName: test_05_iso_permissions | Status : SUCCESS ===
Test for copy ISO from one zone to another ... SKIP: Not enough zones available to perform copy template
Test delete ISO ... === TestName: test_07_list_default_iso | Status : SUCCESS ===
Test listing Volumes using 'ids' parameter ... === TestName: test_01_list_volumes | Status : SUCCESS ===
Test listing Templates using 'ids' parameter ... === TestName: test_02_list_templates | Status : SUCCESS ===
Test listing Snapshots using 'ids' parameter ... === TestName: test_03_list_snapshots | Status : SUCCESS ===
Test to create Load balancing rule with source NAT ... === TestName: test_01_create_lb_rule_src_nat | Status : SUCCESS ===
Test to create Load balancing rule with non source NAT ... === TestName: test_02_create_lb_rule_non_nat | Status : SUCCESS ===
Test for assign & removing load balancing rule ... === TestName: test_assign_and_removal_lb | Status : SUCCESS ===
Tests that SAML users are not allowed CloudStack local log in ... === TestName: login_test_saml_user | Status : SUCCESS ===
test_nic_secondaryip_add_remove (integration.smoke.test_multipleips_per_nic.TestDeployVM) ... === TestName: test_nic_secondaryip_add_remove | Status : SUCCESS ===
Test network ACL lists and items in VPC ... === TestName: test_network_acl | Status : SUCCESS ===
# 1. Register a template for VMware with nicAdapter vmxnet3 ... SKIP: VCenter API Integration Remaining
Test to add and update added nic to a virtual machine ... === TestName: test_01_nic | Status : SUCCESS ===
Test to update a physical network and extend its vlan ... === TestName: test_extendPhysicalNetworkVlan | Status : SUCCESS ===
test update configuration setting at storage scope ... === TestName: test_UpdateStorageOverProvisioningFactor | Status : SUCCESS ===
test_create_pvlan_network (integration.smoke.test_pvlan.TestPVLAN) ... === TestName: test_create_pvlan_network | Status : SUCCESS ===
Test for create region ... === TestName: test_createRegion | Status : SUCCESS ===
Test reset virtual machine on reboot ... === TestName: test_01_reset_vm_on_reboot | Status : SUCCESS ===
Test volume detail ... === TestName: test_01_updatevolumedetail | Status : SUCCESS ===
Test scale virtual machine ... SKIP: Skipping scale VM operation because VMware tools are not installed on the VM Test to create service offering ... === TestName: test_01_create_service_offering | Status : SUCCESS ===
Test to update existing service offering ... === TestName: test_02_edit_service_offering | Status : SUCCESS ===
Test to delete service offering ... === TestName: test_03_delete_service_offering | Status : SUCCESS ===
Test to change service to a small capacity ... === TestName: test_04_change_offering_small | Status : SUCCESS ===
Test List secondary storage VMs ... === TestName: test_01_list_sec_storage_vm | Status : SUCCESS ===
Test List console proxy VMs ... === TestName: test_02_list_cpvm_vm | Status : SUCCESS ===
Test SSVM Internals ... === TestName: test_03_ssvm_internals | Status : SUCCESS ===
Test CPVM Internals ... === TestName: test_04_cpvm_internals | Status : SUCCESS ===
Test stop SSVM ... === TestName: test_05_stop_ssvm | Status : SUCCESS ===
Test stop CPVM ... === TestName: test_06_stop_cpvm | Status : SUCCESS ===
Test reboot SSVM ... === TestName: test_07_reboot_ssvm | Status : SUCCESS ===
Test reboot CPVM ... === TestName: test_08_reboot_cpvm | Status : SUCCESS ===
Test destroy SSVM ... === TestName: test_09_destroy_ssvm | Status : SUCCESS ===
Test destroy CPVM ... === TestName: test_10_destroy_cpvm | Status : SUCCESS ===
Tests allowed APIs for common account types ... === TestName: test_static_role_account_acls | Status : SUCCESS ===
Test create public & private template ... === TestName: test_01_create_template | Status : SUCCESS ===
Test when createTemplate is used to create templates having the same name all of them get ... === TestName: test_CreateTemplateWithDuplicateName | Status : SUCCESS ===
Test Edit template ... === TestName: test_02_edit_template | Status : SUCCESS ===
Test delete template ... === TestName: test_03_delete_template | Status : SUCCESS ===
Test for extract template ... === TestName: test_04_extract_template | Status : SUCCESS ===
Update & Test for template permissions ... === TestName: test_05_template_permissions | Status : SUCCESS ===
Test for copy template from one zone to another ... SKIP: Not enough zones available to perform copy template
Test only public templates are visible to normal user ... === TestName: test_07_list_public_templates | Status : SUCCESS ===
Test System templates are not visible to normal user ... === TestName: test_08_list_system_templates | Status : SUCCESS ===
Check events in usage_events table when VM creation fails ... === TestName: test_01_positive_tests_usage | Status : SUCCESS ===
Test advanced zone virtual router ... === TestName: test_advZoneVirtualRouter | Status : SUCCESS ===
Tests for basic zone virtual router ... === TestName: test_basicZoneVirtualRouter | Status : SUCCESS ===
Test Deploy Virtual Machine ... === TestName: test_deploy_vm | Status : SUCCESS ===
Test Multiple Deploy Virtual Machine ... === TestName: test_deploy_vm_multiple | Status : SUCCESS ===
Test Stop Virtual Machine ... === TestName: test_01_stop_vm | Status : SUCCESS ===
Test Start Virtual Machine ... === TestName: test_02_start_vm | Status : SUCCESS ===
Test Reboot Virtual Machine ... === TestName: test_03_reboot_vm | Status : SUCCESS ===
Test destroy Virtual Machine ... === TestName: test_06_destroy_vm | Status : SUCCESS ===
Test recover Virtual Machine ... === TestName: test_07_restore_vm | Status : SUCCESS ===
Test migrate VM ... === TestName: test_08_migrate_vm | Status : SUCCESS ===
Test destroy(expunge) Virtual Machine ... === TestName: test_09_expunge_vm | Status : SUCCESS ===
Test for attach and detach ISO to virtual machine ... === TestName: test_10_attachAndDetach_iso | Status : SUCCESS ===
Test Volume creation for all Disk Offerings (incl. custom) ... === TestName: test_01_create_volume | Status : SUCCESS ===
Attach a created Volume to a Running VM ... === TestName: test_02_attach_volume | Status : SUCCESS ===
Download a Volume attached to a VM ... === TestName: test_03_download_attached_volume | Status : SUCCESS ===
Delete a Volume attached to a VM ... === TestName: test_04_delete_attached_volume | Status : SUCCESS ===
Detach a Volume attached to a VM ... === TestName: test_05_detach_volume | Status : SUCCESS ===
Download a Volume unattached to an VM ... === TestName: test_06_download_detached_volume | Status : SUCCESS ===
Test resize (negative) non-existent volume ... SKIP: Resize Volume is unsupported on VmWare and Hyper-V
Test resize a volume ... SKIP: Resize Volume is unsupported on VmWare and Hyper-V
Delete a Volume unattached to an VM ... === TestName: test_09_delete_detached_volume | Status : SUCCESS ===
Ran 104 tests in 11405.013s
OK (SKIP=21)

@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: ✔centos6 ✖centos7 ✖debian. JID-6

@blueorangutan

Copy link
Copy Markdown

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-14

@jburwell

Copy link
Copy Markdown
Contributor

LGTM for code review. We are awaiting the results of failures in #1692 to merge smoke tests fixes. When that is completed, we will rebase this PR and execute smoke tests. Upon passage, we will merge this PR.

@serg38

Copy link
Copy Markdown

@jburwell This is already in master. @nvazquez opened this to target 4.9 and forward merge. It is completely fine for fix to be 4.10 only since it only affects rather special circumstances.

@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: ✔centos6 ✔centos7 ✔debian. JID-82

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

Hi @rhtyd @jburwell could this be merged?

@jburwell

Copy link
Copy Markdown
Contributor

@blueorangutan test centos6 vmware55u3

@blueorangutan

Copy link
Copy Markdown

@jburwell a Trillian-Jenkins test job (centos6 mgmt + vmware55u3) has been kicked to run smoke tests

@jburwell

Copy link
Copy Markdown
Contributor

@nvazquez kicking regression tests now. If they pass, then I will add my LGTM and merge.

@nvazquez

Copy link
Copy Markdown
ContributorAuthor

Thanks! @jburwell

@jburwell

Copy link
Copy Markdown
Contributor

@rhtyd can you check into the status of the test run?

@yadvr

yadvr commented Nov 1, 2016

Copy link
Copy Markdown
Member

@blueorangutan help

@jburwell incorrect hypervisor name provided, as replied earlier bo does not check the passed arguments. I'll fix this.

@blueorangutan

Copy link
Copy Markdown

@rhtyd I understand these words: "help", "hello", "thanks", "package", "test"
Test run usage: test (mgmt server, one of: centos6, centos7, ubuntu) (hypervisor, one of: kvm-centos6, kvm-centos7, kvm-ubuntu, xenserver-65sp1, xenserver-62sp1, vmware-60u2, vmware-55u3, vmware-51u1, vmware-50u1)
Authorized contributors for kicking Trillian Jenkins test jobs are: ['rhtyd', 'jburwell', 'murali-reddy', 'abhinandanprateek', 'PaulAngus', 'borisstoyanov', 'karuturi']

@yadvr

yadvr commented Nov 1, 2016

Copy link
Copy Markdown
Member

Tests have been manually kicked on this now.

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-234)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 6
Total time taken: 49733 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1676-t234-vmware-55u3.zip
Test completed. 42 look ok, 6 have error(s)

TestResultTime (s)Test File
test_04_rvpc_privategw_static_routesFailure2782.99test_privategw_acl.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Failure1105.21test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Failure1480.57test_internal_lb.py
test_01_vpc_site2site_vpnError471.23test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnError667.68test_vpc_vpn.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersError2592.49test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLError1077.81test_vpc_redundant.py
test_01_snapshot_root_diskError15.20test_snapshots.py
test_09_reboot_routerError2599.85test_routers.py
test_01_vpc_remote_access_vpnSuccess186.61test_vpc_vpn.py
test_02_VPC_default_routesSuccess314.12test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess731.73test_vpc_router_nics.py
test_05_rvpc_multi_tiersSuccess663.26test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsSuccess1553.24test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess688.57test_vpc_redundant.py
test_09_delete_detached_volumeSuccess35.82test_volumes.py
test_06_download_detached_volumeSuccess60.49test_volumes.py
test_05_detach_volumeSuccess105.25test_volumes.py
test_04_delete_attached_volumeSuccess15.21test_volumes.py
test_03_download_attached_volumeSuccess15.27test_volumes.py
test_02_attach_volumeSuccess53.69test_volumes.py
test_01_create_volumeSuccess516.67test_volumes.py
test_03_delete_vm_snapshotsSuccess275.23test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess230.29test_vm_snapshots.py
test_01_test_vm_volume_snapshotSuccess241.65test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess161.71test_vm_snapshots.py
test_deploy_vm_multipleSuccess222.62test_vm_life_cycle.py
test_deploy_vmSuccess0.02test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.70test_vm_life_cycle.py
test_09_expunge_vmSuccess125.17test_vm_life_cycle.py
test_08_migrate_vmSuccess86.00test_vm_life_cycle.py
test_07_restore_vmSuccess0.09test_vm_life_cycle.py
test_06_destroy_vmSuccess10.13test_vm_life_cycle.py
test_03_reboot_vmSuccess5.12test_vm_life_cycle.py
test_02_start_vmSuccess20.19test_vm_life_cycle.py
test_01_stop_vmSuccess10.13test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess206.37test_templates.py
test_08_list_system_templatesSuccess0.02test_templates.py
test_07_list_public_templatesSuccess0.03test_templates.py
test_05_template_permissionsSuccess0.05test_templates.py
test_04_extract_templateSuccess15.23test_templates.py
test_03_delete_templateSuccess5.09test_templates.py
test_02_edit_templateSuccess90.16test_templates.py
test_01_create_templateSuccess105.93test_templates.py
test_10_destroy_cpvmSuccess241.70test_ssvm.py
test_09_destroy_ssvmSuccess233.46test_ssvm.py
test_08_reboot_cpvmSuccess156.53test_ssvm.py
test_07_reboot_ssvmSuccess158.53test_ssvm.py
test_06_stop_cpvmSuccess331.90test_ssvm.py
test_05_stop_ssvmSuccess208.74test_ssvm.py
test_04_cpvm_internalsSuccess1.18test_ssvm.py
test_03_ssvm_internalsSuccess3.71test_ssvm.py
test_02_list_cpvm_vmSuccess0.09test_ssvm.py
test_01_list_sec_storage_vmSuccess0.10test_ssvm.py
test_04_change_offering_smallSuccess96.82test_service_offerings.py
test_03_delete_service_offeringSuccess0.04test_service_offerings.py
test_02_edit_service_offeringSuccess0.07test_service_offerings.py
test_01_create_service_offeringSuccess0.10test_service_offerings.py
test_02_sys_template_readySuccess0.19test_secondary_storage.py
test_01_sys_vm_startSuccess0.12test_secondary_storage.py
test_08_start_routerSuccess110.76test_routers.py
test_07_stop_routerSuccess20.19test_routers.py
test_06_router_advancedSuccess0.04test_routers.py
test_05_router_basicSuccess0.03test_routers.py
test_04_restart_network_wo_cleanupSuccess5.49test_routers.py
test_03_restart_network_cleanupSuccess136.03test_routers.py
test_02_router_internal_advSuccess0.86test_routers.py
test_01_router_internal_basicSuccess0.46test_routers.py
test_router_dns_guestipquerySuccess76.72test_router_dns.py
test_router_dns_externalipquerySuccess0.06test_router_dns.py
test_router_dhcphostsSuccess145.72test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.08test_resource_detail.py
test_01_reset_vm_on_rebootSuccess30.30test_reset_vm_on_reboot.py
test_createRegionSuccess0.04test_regions.py
test_create_pvlan_networkSuccess5.20test_pvlan.py
test_dedicatePublicIpRangeSuccess0.40test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess1073.24test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess692.19test_privategw_acl.py
test_01_vpc_privategw_aclSuccess223.28test_privategw_acl.py
test_01_primary_storage_nfsSuccess36.71test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.57test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.40test_portable_publicip.py
test_isolate_network_password_serverSuccess89.24test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.11test_over_provisioning.py
test_oobm_zchange_passwordSuccess20.51test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess16.52test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess10.51test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess10.51test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess47.13test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess0.19test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.11test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess0.19test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.12test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.10test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.11test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess23.76test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.29test_non_contigiousvlan.py
test_01_nicSuccess666.37test_nic.py
test_releaseIPSuccess232.98test_network.py
test_reboot_routerSuccess711.29test_network.py
test_public_ip_user_accountSuccess10.23test_network.py
test_public_ip_admin_accountSuccess40.27test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess76.76test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess67.22test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess125.61test_network.py
test_delete_accountSuccess419.33test_network.py
test_02_port_fwd_on_non_src_natSuccess56.55test_network.py
test_01_port_fwd_on_src_natSuccess111.72test_network.py
test_nic_secondaryip_add_removeSuccess227.88test_multipleips_per_nic.py
login_test_saml_userSuccess22.13test_login.py
test_assign_and_removal_lbSuccess133.56test_loadbalance.py
test_02_create_lb_rule_non_natSuccess187.13test_loadbalance.py
test_01_create_lb_rule_src_natSuccess188.54test_loadbalance.py
test_03_list_snapshotsSuccess0.06test_list_ids_parameter.py
test_02_list_templatesSuccess0.03test_list_ids_parameter.py
test_01_list_volumesSuccess0.02test_list_ids_parameter.py
test_07_list_default_isoSuccess0.05test_iso.py
test_05_iso_permissionsSuccess0.06test_iso.py
test_04_extract_IsoSuccess5.14test_iso.py
test_03_delete_isoSuccess95.12test_iso.py
test_02_edit_isoSuccess0.05test_iso.py
test_01_create_isoSuccess21.38test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess561.82test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess430.39test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.26test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.13test_global_settings.py
test_rolepermission_lifecycle_updateSuccess6.52test_dynamicroles.py
test_rolepermission_lifecycle_listSuccess6.50test_dynamicroles.py
test_rolepermission_lifecycle_deleteSuccess6.32test_dynamicroles.py
test_rolepermission_lifecycle_createSuccess6.26test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updatesSuccess6.37test_dynamicroles.py
test_role_lifecycle_update_role_inuseSuccess6.30test_dynamicroles.py
test_role_lifecycle_updateSuccess11.35test_dynamicroles.py
test_role_lifecycle_listSuccess6.27test_dynamicroles.py
test_role_lifecycle_deleteSuccess11.44test_dynamicroles.py
test_role_lifecycle_createSuccess6.31test_dynamicroles.py
test_role_inuse_deletionSuccess6.29test_dynamicroles.py
test_role_account_acls_multiple_mgmt_serversSuccess8.01test_dynamicroles.py
test_role_account_aclsSuccess8.00test_dynamicroles.py
test_default_role_deletionSuccess6.64test_dynamicroles.py
test_04_create_fat_type_disk_offeringSuccess0.07test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.04test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.05test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.07test_disk_offerings.py
test_01_create_disk_offeringSuccess0.10test_disk_offerings.py
test_deployvm_userdispersingSuccess111.06test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess56.21test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess161.32test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess30.49test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess137.22test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.25test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.26test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.30test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess207.83test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess287.63test_affinity_groups.py
test_08_resize_volumeSkipped5.10test_volumes.py
test_07_resize_failSkipped10.25test_volumes.py
test_06_copy_templateSkipped0.00test_templates.py
test_static_role_account_aclsSkipped0.01test_staticroles.py
test_01_scale_vmSkipped33.90test_scale_vm.py
test_01_primary_storage_iscsiSkipped0.03test_primary_storage.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.01test_deploy_vgpu_enabled_vm.py

@jburwell

Copy link
Copy Markdown
Contributor

@nvazquez could you please investigate the snapshot test failures?

@murali-reddy could you please investigate the VR test failures? These failures appear similar to failures seen on #1681 and #1680?

@serg38

Copy link
Copy Markdown

@jburwell This is most likely blueorangutan issue. This code is already merged into Master via PR1560. We can even cancel this PR and leave it in 4.10 only.

@jburwell

Copy link
Copy Markdown
Contributor

@serg38 it may be environmental, but those tests are passing on other PRs in the same environment configuration. Therefore, I would like to determine why it is breaking here sand not elsewhere.

@jburwell

Copy link
Copy Markdown
Contributor

@serg38 on what PR was this code merged to master? When we merge this PR, we need to revert and properly forward merge this fix in order to maintain traceability across release branches.

@serg38

Copy link
Copy Markdown

@blueorangutan test vmware-55u3

@serg38

Copy link
Copy Markdown

@jburwell PR1560. At this point it might be make sense to leave it for 4.10 and not to forward merge it. I checked blueorangutan log and without management server log it is impossible to determine exact reason for the exception. Most likely you had a hypervisor in a failed/disconnected state during the test

"Exception: Job failed: {jobprocstatus : 0, created : u'2016-11-01T16:12:54+0000', jobresult : {errorcode : 530, errortext : u'Resource [Host:2] is unreachable: Host 2: Unable to start instance due to Unable to start VM:529663de-7158-4303-9948-5c3ea9f939cc due to error in finalizeStart, not retrying'}, cmd : u'org.apache.cloudstack.api.command.admin.router.RebootRouterCmd', userid : u'896fea80-a00e-11e6-a5b5-0629ca010832', jobstatus : 2, jobid : u'ff89481d-9894-480f-8b15-b678b91baf27', jobresultcode : 530, jobinstanceid :

Can we kick off test again?

@murali-reddy

Copy link
Copy Markdown
Contributor

@jburwell VR failures seen are intermittent failures we are seeing w.r.t VPC static routes, RVPC VR in other PR's as well. Not related to the patch.

@jburwell

Copy link
Copy Markdown
Contributor

@murali-reddy only the following failures are expected:

  • test_01_vpc_site2site_vpn
  • test_01_redundant_vpc_site2site_vpn

The test failures, particularly around storage, are a bit concerning and need to be explained/fixed before merging. I am kicking off another round of tests to help determine whether or not these issues are regressions in the management server (potentially from another commit) or environmental.

@blueorangutan test centos6 vmware-55u3

@blueorangutan

Copy link
Copy Markdown

@jburwell a Trillian-Jenkins test job (centos6 mgmt + vmware-55u3) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-299)
Environment: vmware-55u3 (x2), Advanced Networking with Mgmt server 6
Total time taken: 34414 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1676-t299-vmware-55u3.zip
Test completed. 46 look ok, 2 have error(s)

TestResultTime (s)Test File
test_01_vpc_site2site_vpnError506.29test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnError732.73test_vpc_vpn.py
test_04_rvpc_privategw_static_routesError1083.88test_privategw_acl.py
test_01_vpc_remote_access_vpnSuccess201.95test_vpc_vpn.py
test_02_VPC_default_routesSuccess330.80test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess796.35test_vpc_router_nics.py
test_05_rvpc_multi_tiersSuccess698.70test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsSuccess1532.82test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess702.83test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess734.73test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLSuccess1399.40test_vpc_redundant.py
test_09_delete_detached_volumeSuccess25.68test_volumes.py
test_06_download_detached_volumeSuccess60.50test_volumes.py
test_05_detach_volumeSuccess100.27test_volumes.py
test_04_delete_attached_volumeSuccess20.26test_volumes.py
test_03_download_attached_volumeSuccess15.28test_volumes.py
test_02_attach_volumeSuccess63.81test_volumes.py
test_01_create_volumeSuccess513.54test_volumes.py
test_03_delete_vm_snapshotsSuccess275.21test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess230.16test_vm_snapshots.py
test_01_test_vm_volume_snapshotSuccess161.18test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess161.65test_vm_snapshots.py
test_deploy_vm_multipleSuccess217.92test_vm_life_cycle.py
test_deploy_vmSuccess0.02test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.79test_vm_life_cycle.py
test_09_expunge_vmSuccess125.13test_vm_life_cycle.py
test_08_migrate_vmSuccess76.11test_vm_life_cycle.py
test_07_restore_vmSuccess0.11test_vm_life_cycle.py
test_06_destroy_vmSuccess10.14test_vm_life_cycle.py
test_03_reboot_vmSuccess5.12test_vm_life_cycle.py
test_02_start_vmSuccess20.21test_vm_life_cycle.py
test_01_stop_vmSuccess5.12test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess251.60test_templates.py
test_08_list_system_templatesSuccess0.02test_templates.py
test_07_list_public_templatesSuccess0.03test_templates.py
test_05_template_permissionsSuccess0.04test_templates.py
test_04_extract_templateSuccess15.22test_templates.py
test_03_delete_templateSuccess5.09test_templates.py
test_02_edit_templateSuccess90.12test_templates.py
test_01_create_templateSuccess135.90test_templates.py
test_10_destroy_cpvmSuccess201.48test_ssvm.py
test_09_destroy_ssvmSuccess263.49test_ssvm.py
test_08_reboot_cpvmSuccess156.46test_ssvm.py
test_07_reboot_ssvmSuccess158.43test_ssvm.py
test_06_stop_cpvmSuccess171.58test_ssvm.py
test_05_stop_ssvmSuccess203.62test_ssvm.py
test_04_cpvm_internalsSuccess1.07test_ssvm.py
test_03_ssvm_internalsSuccess3.28test_ssvm.py
test_02_list_cpvm_vmSuccess0.10test_ssvm.py
test_01_list_sec_storage_vmSuccess0.10test_ssvm.py
test_01_snapshot_root_diskSuccess66.39test_snapshots.py
test_04_change_offering_smallSuccess92.31test_service_offerings.py
test_03_delete_service_offeringSuccess0.04test_service_offerings.py
test_02_edit_service_offeringSuccess0.07test_service_offerings.py
test_01_create_service_offeringSuccess0.10test_service_offerings.py
test_02_sys_template_readySuccess0.09test_secondary_storage.py
test_01_sys_vm_startSuccess0.17test_secondary_storage.py
test_09_reboot_routerSuccess135.79test_routers.py
test_08_start_routerSuccess120.77test_routers.py
test_07_stop_routerSuccess20.19test_routers.py
test_06_router_advancedSuccess0.04test_routers.py
test_05_router_basicSuccess0.03test_routers.py
test_04_restart_network_wo_cleanupSuccess5.51test_routers.py
test_03_restart_network_cleanupSuccess171.06test_routers.py
test_02_router_internal_advSuccess0.81test_routers.py
test_01_router_internal_basicSuccess0.44test_routers.py
test_router_dns_guestipquerySuccess76.73test_router_dns.py
test_router_dns_externalipquerySuccess0.06test_router_dns.py
test_router_dhcphostsSuccess157.25test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.08test_resource_detail.py
test_01_reset_vm_on_rebootSuccess30.30test_reset_vm_on_reboot.py
test_createRegionSuccess0.03test_regions.py
test_create_pvlan_networkSuccess5.18test_pvlan.py
test_dedicatePublicIpRangeSuccess0.42test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess1033.45test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess696.88test_privategw_acl.py
test_01_vpc_privategw_aclSuccess198.22test_privategw_acl.py
test_01_primary_storage_nfsSuccess38.50test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.18test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.40test_portable_publicip.py
test_isolate_network_password_serverSuccess95.33test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.12test_over_provisioning.py
test_oobm_zchange_passwordSuccess20.51test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownershipSuccess16.52test_outofbandmanagement.py
test_oobm_issue_power_statusSuccess5.50test_outofbandmanagement.py
test_oobm_issue_power_softSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_resetSuccess16.02test_outofbandmanagement.py
test_oobm_issue_power_onSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_offSuccess15.51test_outofbandmanagement.py
test_oobm_issue_power_cycleSuccess15.51test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzonesSuccess62.35test_outofbandmanagement.py
test_oobm_enable_feature_validSuccess5.15test_outofbandmanagement.py
test_oobm_enable_feature_invalidSuccess0.10test_outofbandmanagement.py
test_oobm_disable_feature_validSuccess5.17test_outofbandmanagement.py
test_oobm_disable_feature_invalidSuccess0.11test_outofbandmanagement.py
test_oobm_configure_invalid_driverSuccess0.09test_outofbandmanagement.py
test_oobm_configure_default_driverSuccess0.08test_outofbandmanagement.py
test_oobm_background_powerstate_syncSuccess23.75test_outofbandmanagement.py
test_extendPhysicalNetworkVlanSuccess15.30test_non_contigiousvlan.py
test_01_nicSuccess640.96test_nic.py
test_releaseIPSuccess238.18test_network.py
test_reboot_routerSuccess615.23test_network.py
test_public_ip_user_accountSuccess10.24test_network.py
test_public_ip_admin_accountSuccess40.27test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess76.55test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess61.40test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess124.99test_network.py
test_delete_accountSuccess303.08test_network.py
test_02_port_fwd_on_non_src_natSuccess55.54test_network.py
test_01_port_fwd_on_src_natSuccess111.69test_network.py
test_nic_secondaryip_add_removeSuccess233.53test_multipleips_per_nic.py
login_test_saml_userSuccess21.43test_login.py
test_assign_and_removal_lbSuccess148.27test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.21test_loadbalance.py
test_01_create_lb_rule_src_natSuccess207.66test_loadbalance.py
test_03_list_snapshotsSuccess0.14test_list_ids_parameter.py
test_02_list_templatesSuccess0.03test_list_ids_parameter.py
test_01_list_volumesSuccess0.02test_list_ids_parameter.py
test_07_list_default_isoSuccess0.04test_iso.py
test_05_iso_permissionsSuccess0.05test_iso.py
test_04_extract_IsoSuccess5.16test_iso.py
test_03_delete_isoSuccess95.18test_iso.py
test_02_edit_isoSuccess0.04test_iso.py
test_01_create_isoSuccess21.30test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess579.86test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess399.18test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success1046.94test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success781.94test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.24test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.17test_global_settings.py
test_rolepermission_lifecycle_updateSuccess6.53test_dynamicroles.py
test_rolepermission_lifecycle_listSuccess6.34test_dynamicroles.py
test_rolepermission_lifecycle_deleteSuccess6.22test_dynamicroles.py
test_rolepermission_lifecycle_createSuccess6.28test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updatesSuccess6.50test_dynamicroles.py
test_role_lifecycle_update_role_inuseSuccess6.28test_dynamicroles.py
test_role_lifecycle_updateSuccess11.35test_dynamicroles.py
test_role_lifecycle_listSuccess6.28test_dynamicroles.py
test_role_lifecycle_deleteSuccess11.54test_dynamicroles.py
test_role_lifecycle_createSuccess6.24test_dynamicroles.py
test_role_inuse_deletionSuccess6.23test_dynamicroles.py
test_role_account_acls_multiple_mgmt_serversSuccess7.92test_dynamicroles.py
test_role_account_aclsSuccess8.07test_dynamicroles.py
test_default_role_deletionSuccess6.31test_dynamicroles.py
test_04_create_fat_type_disk_offeringSuccess0.07test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.04test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.04test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.07test_disk_offerings.py
test_01_create_disk_offeringSuccess0.11test_disk_offerings.py
test_deployvm_userdispersingSuccess101.16test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess55.77test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess206.46test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess30.42test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess156.54test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.20test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.21test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.31test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess202.60test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess171.68test_affinity_groups.py
test_08_resize_volumeSkipped5.10test_volumes.py
test_07_resize_failSkipped15.29test_volumes.py
test_06_copy_templateSkipped0.00test_templates.py
test_static_role_account_aclsSkipped0.02test_staticroles.py
test_01_scale_vmSkipped66.33test_scale_vm.py
test_01_primary_storage_iscsiSkipped0.03test_primary_storage.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.01test_deploy_vgpu_enabled_vm.py

@serg38

Copy link
Copy Markdown

@jburwell Non-VPC tests on VmWare passed this time. This one seems to be ready for merging.

@serg38

Copy link
Copy Markdown

@jburwell @rhtyd @karuturi This PR also seems to be ready for merging
.

asfgit pushed a commit that referenced this pull request Nov 17, 2016
CLOUDSTACK-9502: DS template copies dont get deleted in VMware ESXi with multiple clusters and zone wide storage (include CLOUDSTACK-9386 into 4.9 release branch)Include #1560 into 4.9 release branch
* pr/1676:
CLOUDSTACK-9502: DS template copies don’t get deleted in VMware ESXi with multiple clusters and zone wide storage
Signed-off-by: John Burwell <meaux@cockamamy.net>
@asfgit
asfgit merged commit 4104cea into apache:4.9Nov 17, 2016
@nvazquez
nvazquez deleted the dstemplates49 branch April 6, 2020 14:55
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@nvazquez@serg38@yadvr@blueorangutan@jburwell@murali-reddy@asfgit