Skip to content

Conversation

@jayantpatil1234
Copy link
Contributor

@jayantpatil1234 jayantpatil1234 commented Feb 14, 2017

ISSUE

Wrong presentation of volume id in ACS events.
While creating a snapshot, only volume ID is mentioned in the events. For example, “Scheduled async job for creating snapshot for volume Id:270". On looking into the notification, user is not able to identify the volume. So modified event description with UUID.

Please see screenshots.
Before modification:
before

After modification:

after

@borisstoyanov
Copy link
Contributor

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@borisstoyanov
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@borisstoyanov
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-832)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28868 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1940-t832-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 45 look ok, 4 have error(s)

Test Result Time (s) Test File
test_01_vpc_site2site_vpn Failure 175.58 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Failure 251.53 test_vpc_vpn.py
test_04_rvpc_privategw_static_routes Failure 335.65 test_privategw_acl.py
test_09_delete_detached_volume Error 10.28 test_volumes.py
test_08_resize_volume Error 5.10 test_volumes.py
test_07_resize_fail Error 10.24 test_volumes.py
test_06_download_detached_volume Error 5.09 test_volumes.py
test_05_detach_volume Error 5.08 test_volumes.py
test_04_delete_attached_volume Error 5.11 test_volumes.py
test_03_download_attached_volume Error 5.10 test_volumes.py
test_02_attach_volume Error 68.98 test_volumes.py
test_01_create_volume Error 144.36 test_volumes.py
ContextSuite context=TestVolumes>:teardown Error 146.37 test_volumes.py
test_03_delete_vm_snapshots Error 0.06 test_vm_snapshots.py
test_02_revert_vm_snapshots Error 90.25 test_vm_snapshots.py
test_01_vpc_remote_access_vpn Success 61.13 test_vpc_vpn.py
test_02_VPC_default_routes Success 292.56 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 520.39 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 506.44 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1402.02 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 527.36 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 761.32 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1265.46 test_vpc_redundant.py
test_01_create_vm_snapshots Success 163.72 test_vm_snapshots.py
test_deploy_vm_multiple Success 237.77 test_vm_life_cycle.py
test_deploy_vm Success 0.04 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.67 test_vm_life_cycle.py
test_09_expunge_vm Success 125.16 test_vm_life_cycle.py
test_08_migrate_vm Success 35.93 test_vm_life_cycle.py
test_07_restore_vm Success 0.13 test_vm_life_cycle.py
test_06_destroy_vm Success 125.89 test_vm_life_cycle.py
test_03_reboot_vm Success 126.16 test_vm_life_cycle.py
test_02_start_vm Success 10.18 test_vm_life_cycle.py
test_01_stop_vm Success 35.31 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 50.52 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.06 test_templates.py
test_04_extract_template Success 5.37 test_templates.py
test_03_delete_template Success 5.11 test_templates.py
test_02_edit_template Success 90.12 test_templates.py
test_01_create_template Success 30.39 test_templates.py
test_10_destroy_cpvm Success 161.68 test_ssvm.py
test_09_destroy_ssvm Success 163.70 test_ssvm.py
test_08_reboot_cpvm Success 102.78 test_ssvm.py
test_07_reboot_ssvm Success 133.66 test_ssvm.py
test_06_stop_cpvm Success 132.06 test_ssvm.py
test_05_stop_ssvm Success 133.65 test_ssvm.py
test_04_cpvm_internals Success 1.16 test_ssvm.py
test_03_ssvm_internals Success 3.49 test_ssvm.py
test_02_list_cpvm_vm Success 0.13 test_ssvm.py
test_01_list_sec_storage_vm Success 0.14 test_ssvm.py
test_01_snapshot_root_disk Success 11.28 test_snapshots.py
test_04_change_offering_small Success 209.55 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.07 test_service_offerings.py
test_01_create_service_offering Success 0.11 test_service_offerings.py
test_02_sys_template_ready Success 0.13 test_secondary_storage.py
test_01_sys_vm_start Success 0.18 test_secondary_storage.py
test_09_reboot_router Success 35.34 test_routers.py
test_08_start_router Success 25.26 test_routers.py
test_07_stop_router Success 10.16 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.59 test_routers.py
test_03_restart_network_cleanup Success 50.51 test_routers.py
test_02_router_internal_adv Success 0.85 test_routers.py
test_01_router_internal_basic Success 0.46 test_routers.py
test_router_dns_guestipquery Success 76.81 test_router_dns.py
test_router_dns_externalipquery Success 0.08 test_router_dns.py
test_router_dhcphosts Success 296.63 test_router_dhcphosts.py
test_router_dhcp_opts Success 22.01 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.09 test_resource_detail.py
test_01_reset_vm_on_reboot Success 146.02 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.20 test_pvlan.py
test_dedicatePublicIpRange Success 0.45 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 495.20 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 345.21 test_privategw_acl.py
test_01_vpc_privategw_acl Success 87.29 test_privategw_acl.py
test_01_primary_storage_nfs Success 35.83 test_primary_storage.py
test_createPortablePublicIPRange Success 15.19 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.51 test_portable_publicip.py
test_isolate_network_password_server Success 90.13 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.14 test_over_provisioning.py
test_oobm_zchange_password Success 30.95 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.51 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.39 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 10.38 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.34 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.40 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.31 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.59 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.16 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.10 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.20 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.10 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.08 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.08 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.45 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.33 test_non_contigiousvlan.py
test_01_nic Success 409.40 test_nic.py
test_releaseIP Success 162.42 test_network.py
test_reboot_router Success 413.70 test_network.py
test_public_ip_user_account Success 10.26 test_network.py
test_public_ip_admin_account Success 40.30 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.60 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.83 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 121.76 test_network.py
test_delete_account Success 263.13 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.68 test_network.py
test_01_port_fwd_on_src_nat Success 111.76 test_network.py
test_nic_secondaryip_add_remove Success 218.41 test_multipleips_per_nic.py
login_test_saml_user Success 19.54 test_login.py
test_assign_and_removal_lb Success 138.53 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.68 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 217.68 test_loadbalance.py
test_03_list_snapshots Success 0.07 test_list_ids_parameter.py
test_02_list_templates Success 0.04 test_list_ids_parameter.py
test_01_list_volumes Success 0.03 test_list_ids_parameter.py
test_07_list_default_iso Success 0.06 test_iso.py
test_05_iso_permissions Success 0.07 test_iso.py
test_04_extract_Iso Success 5.17 test_iso.py
test_03_delete_iso Success 95.22 test_iso.py
test_02_edit_iso Success 0.06 test_iso.py
test_01_create_iso Success 21.03 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 193.29 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 128.16 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 481.85 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 429.89 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.28 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.16 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.69 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.00 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.89 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.92 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.09 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.93 test_dynamicroles.py
test_role_lifecycle_update Success 11.03 test_dynamicroles.py
test_role_lifecycle_list Success 5.92 test_dynamicroles.py
test_role_lifecycle_delete Success 10.96 test_dynamicroles.py
test_role_lifecycle_create Success 6.00 test_dynamicroles.py
test_role_inuse_deletion Success 5.93 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.15 test_dynamicroles.py
test_role_account_acls Success 8.40 test_dynamicroles.py
test_default_role_deletion Success 5.99 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.07 test_disk_offerings.py
test_03_delete_disk_offering Success 0.04 test_disk_offerings.py
test_02_edit_disk_offering Success 0.05 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.07 test_disk_offerings.py
test_01_create_disk_offering Success 0.10 test_disk_offerings.py
test_deployvm_userdispersing Success 20.65 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 25.65 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 65.86 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.37 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 45.64 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.00 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.01 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 202.46 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 207.61 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 55.92 test_affinity_groups.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.04 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.04 test_deploy_vgpu_enabled_vm.py

@borisstoyanov
Copy link
Contributor

@jayantpatil1234 can you please have a look on the volumes and snapshots failures please.

@jayantpatil1234
Copy link
Contributor Author

@borisstoyanov I have done required fix and now all test cases are passing, please have a look.

@borisstoyanov
Copy link
Contributor

Thanks @jayantpatil1234, will kick the tests again
@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@borisstoyanov
Copy link
Contributor

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-901)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30078 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1940-t901-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_service_offerings.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 47 look ok, 2 have error(s)

Test Result Time (s) Test File
test_04_rvpc_privategw_static_routes Failure 321.08 test_privategw_acl.py
test_02_list_snapshots_with_removed_data_store Error 0.04 test_snapshots.py
test_01_vpc_site2site_vpn Success 155.29 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 66.18 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 220.72 test_vpc_vpn.py
test_02_VPC_default_routes Success 264.86 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 518.17 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 500.68 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1392.41 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 533.72 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 741.20 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Success 1285.68 test_vpc_redundant.py
test_09_delete_detached_volume Success 151.48 test_volumes.py
test_08_resize_volume Success 156.57 test_volumes.py
test_07_resize_fail Success 161.57 test_volumes.py
test_06_download_detached_volume Success 156.72 test_volumes.py
test_05_detach_volume Success 145.88 test_volumes.py
test_04_delete_attached_volume Success 151.23 test_volumes.py
test_03_download_attached_volume Success 156.32 test_volumes.py
test_02_attach_volume Success 89.25 test_volumes.py
test_01_create_volume Success 620.97 test_volumes.py
test_03_delete_vm_snapshots Success 275.14 test_vm_snapshots.py
test_02_revert_vm_snapshots Success 95.55 test_vm_snapshots.py
test_01_create_vm_snapshots Success 158.66 test_vm_snapshots.py
test_deploy_vm_multiple Success 262.76 test_vm_life_cycle.py
test_deploy_vm Success 0.03 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.52 test_vm_life_cycle.py
test_09_expunge_vm Success 125.17 test_vm_life_cycle.py
test_08_migrate_vm Success 56.05 test_vm_life_cycle.py
test_07_restore_vm Success 0.13 test_vm_life_cycle.py
test_06_destroy_vm Success 126.00 test_vm_life_cycle.py
test_03_reboot_vm Success 125.89 test_vm_life_cycle.py
test_02_start_vm Success 10.17 test_vm_life_cycle.py
test_01_stop_vm Success 40.33 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 45.48 test_templates.py
test_08_list_system_templates Success 0.03 test_templates.py
test_07_list_public_templates Success 0.04 test_templates.py
test_05_template_permissions Success 0.05 test_templates.py
test_04_extract_template Success 5.16 test_templates.py
test_03_delete_template Success 5.13 test_templates.py
test_02_edit_template Success 90.20 test_templates.py
test_01_create_template Success 35.39 test_templates.py
test_10_destroy_cpvm Success 161.51 test_ssvm.py
test_09_destroy_ssvm Success 133.28 test_ssvm.py
test_08_reboot_cpvm Success 101.37 test_ssvm.py
test_07_reboot_ssvm Success 103.22 test_ssvm.py
test_06_stop_cpvm Success 131.62 test_ssvm.py
test_05_stop_ssvm Success 133.25 test_ssvm.py
test_04_cpvm_internals Success 0.96 test_ssvm.py
test_03_ssvm_internals Success 2.94 test_ssvm.py
test_02_list_cpvm_vm Success 0.12 test_ssvm.py
test_01_list_sec_storage_vm Success 0.13 test_ssvm.py
test_01_snapshot_root_disk Success 11.15 test_snapshots.py
test_04_change_offering_small Success 239.56 test_service_offerings.py
test_03_delete_service_offering Success 0.04 test_service_offerings.py
test_02_edit_service_offering Success 0.05 test_service_offerings.py
test_01_create_service_offering Success 0.08 test_service_offerings.py
test_02_sys_template_ready Success 0.12 test_secondary_storage.py
test_01_sys_vm_start Success 0.18 test_secondary_storage.py
test_09_reboot_router Success 35.32 test_routers.py
test_08_start_router Success 25.27 test_routers.py
test_07_stop_router Success 10.16 test_routers.py
test_06_router_advanced Success 0.06 test_routers.py
test_05_router_basic Success 0.04 test_routers.py
test_04_restart_network_wo_cleanup Success 5.58 test_routers.py
test_03_restart_network_cleanup Success 45.45 test_routers.py
test_02_router_internal_adv Success 1.06 test_routers.py
test_01_router_internal_basic Success 0.59 test_routers.py
test_router_dns_guestipquery Success 76.86 test_router_dns.py
test_router_dns_externalipquery Success 0.08 test_router_dns.py
test_router_dhcphosts Success 271.55 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.69 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.08 test_resource_detail.py
test_01_reset_vm_on_reboot Success 146.08 test_reset_vm_on_reboot.py
test_createRegion Success 0.04 test_regions.py
test_create_pvlan_network Success 5.28 test_pvlan.py
test_dedicatePublicIpRange Success 0.42 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 449.79 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 345.20 test_privategw_acl.py
test_01_vpc_privategw_acl Success 82.16 test_privategw_acl.py
test_01_primary_storage_nfs Success 35.79 test_primary_storage.py
test_createPortablePublicIPRange Success 15.19 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.50 test_portable_publicip.py
test_isolate_network_password_server Success 59.15 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.13 test_over_provisioning.py
test_oobm_zchange_password Success 30.64 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.33 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.25 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.32 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.45 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.32 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.32 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.69 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.16 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.10 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.18 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.11 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.07 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.08 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 23.42 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.31 test_non_contigiousvlan.py
test_01_nic Success 404.81 test_nic.py
test_releaseIP Success 147.37 test_network.py
test_reboot_router Success 413.74 test_network.py
test_public_ip_user_account Success 10.26 test_network.py
test_public_ip_admin_account Success 40.27 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.90 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.88 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 124.31 test_network.py
test_delete_account Success 277.86 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.73 test_network.py
test_01_port_fwd_on_src_nat Success 111.97 test_network.py
test_nic_secondaryip_add_remove Success 197.62 test_multipleips_per_nic.py
login_test_saml_user Success 19.37 test_login.py
test_assign_and_removal_lb Success 132.97 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.08 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 208.19 test_loadbalance.py
test_03_list_snapshots Success 0.06 test_list_ids_parameter.py
test_02_list_templates Success 0.04 test_list_ids_parameter.py
test_01_list_volumes Success 0.03 test_list_ids_parameter.py
test_07_list_default_iso Success 0.07 test_iso.py
test_05_iso_permissions Success 0.19 test_iso.py
test_04_extract_Iso Success 5.15 test_iso.py
test_03_delete_iso Success 95.17 test_iso.py
test_02_edit_iso Success 0.07 test_iso.py
test_01_create_iso Success 21.02 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 182.84 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 128.00 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 511.75 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 440.50 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.27 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.14 test_global_settings.py
test_rolepermission_lifecycle_update Success 6.17 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 6.00 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.88 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.91 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 6.02 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.91 test_dynamicroles.py
test_role_lifecycle_update Success 10.99 test_dynamicroles.py
test_role_lifecycle_list Success 5.90 test_dynamicroles.py
test_role_lifecycle_delete Success 10.96 test_dynamicroles.py
test_role_lifecycle_create Success 5.91 test_dynamicroles.py
test_role_inuse_deletion Success 5.89 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 8.22 test_dynamicroles.py
test_role_account_acls Success 8.44 test_dynamicroles.py
test_default_role_deletion Success 5.99 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.07 test_disk_offerings.py
test_03_delete_disk_offering Success 0.04 test_disk_offerings.py
test_02_edit_disk_offering Success 0.05 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.07 test_disk_offerings.py
test_01_create_disk_offering Success 0.10 test_disk_offerings.py
test_deployvm_userdispersing Success 35.72 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 20.66 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 55.66 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.38 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 65.80 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 6.00 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 6.01 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 207.45 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 202.67 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 81.20 test_affinity_groups.py
test_change_service_offering_for_vm_with_snapshots Skipped 0.00 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.02 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.02 test_ssvm.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.04 test_primary_storage.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_deploy_vgpu_enabled_vm Skipped 0.03 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.04 test_deploy_vgpu_enabled_vm.py

@jayantpatil1234
Copy link
Contributor Author

@blueorangutan test cases which are failing, not related to my code changes. Could you restart test suites once again.

@borisstoyanov
Copy link
Contributor

Thanks @jayantpatil1234 those failures are known issues that we're looking forward to address soon. No need to rerun.

@SowjanyaPatha
Copy link
Contributor

LGTM for Testing.

Checked the Events Tab for the ID it is referring to UUID.
Attached screenshot

screenshot1

@mrunalinikankariya
Copy link
Contributor

mrunalinikankariya commented May 5, 2017

Code LGTM

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Though I am fully supporting the use of UUIDs, this is a behavioral change. We need to have this behind a setting and mark the former behaviour as deprecated so people already using this for billing are not hurt.

@yvsubhash
Copy link

yvsubhash commented May 5, 2017

@DaanHoogland Current approach is not consistent between uuid and id and pr is to make it consistent. This change does not impact the usage events. Can you please provide the possible reasons for using events for billing rather than usage events? Also even if some external system is parsing the event text to get the id and call our api based on that, it should work even with this change as our apis treat both id and uuid in the same way

@DaanHoogland
Copy link
Contributor

@yvsubhash there are no usage events, these are just copies from the event table. As for APIs treating id and uuid the same way, I would not trust that throughout the system, even when some API might.
in short: I like the change but see to many angles to trust it without extensive prove.

@yvsubhash
Copy link

@DaanHoogland usage events are a mostly a subset of events. However we are inserting in both the tables separately. So text inserted into events should not affect events. The ID to UUID conversion happens in param processor code before the api actually gets invoked. So I dont see a reason why it would not work for some of the apis

@DaanHoogland
Copy link
Contributor

ok @yvsubhash thanks for the explanation

@yvsubhash
Copy link

@DaanHoogland would you like to close your review

@syed
Copy link
Contributor

syed commented Jun 14, 2017

Hi @jayantpatil1234

FYI: This breaks a bunch of stuff. For example: We tried creating a template from a snapshot as a normal user or domain admin and it fails consistently. @caublet found this issue and disscused it here. Can you please test this again?

CallContext.current().setEventDetails(
"Template Id: " + getEntityId() + ((getSnapshotId() == null) ? " from volume Id: " + getVolumeId() : " from snapshot Id: " + getSnapshotId()));
"Template Id: " + getEntityUuid() + ((getSnapshotId() == null) ? " from volume Id: " + this._uuidMgr.getUuid(Volume.class,getVolumeId()) : " from snapshot Id: " + this._uuidMgr.getUuid(VirtualMachineTemplate.class,getSnapshotId())));
VirtualMachineTemplate template = null;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be Snapshot.class, can you also please check if other entity types match correctly?

@Override
public String getEventDescription() {
return "creating snapshot from vm snapshot : " + getVMSnapshotId();
return "creating snapshot from vm snapshot : " + this._uuidMgr.getUuid(Snapshot.class,getVMSnapshotId());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please check this VMSnapshot.class or Snapshot.class

public void execute() {
s_logger.info("CreateSnapshotFromVMSnapshotCmd with vm snapshot id:" + getVMSnapshotId() + " and snapshot id:" + getEntityId() + " starts:" + System.currentTimeMillis());
CallContext.current().setEventDetails("Vm Snapshot Id: "+ getVMSnapshotId());
CallContext.current().setEventDetails("Vm Snapshot Id: "+ this._uuidMgr.getUuid(Snapshot.class,getVMSnapshotId()));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here ...

@syed
Copy link
Contributor

syed commented Jun 15, 2017

@jayantpatil1234 Can you please look at the comments and resolve the conflicts?

@rafaelweingartner
Copy link
Member

Can you provide some feedback here @syed.
I notice you have a -1 here.

@rohityadavcloud
Copy link
Member

Ping @syed, let's re-discuss this?

@rohityadavcloud
Copy link
Member

Ping @syed, if you don't reply we'll have to consider other's review. Let's discuss? Thanks.

@DaanHoogland
Copy link
Contributor

PINGGG @syed

@rohityadavcloud
Copy link
Member

It's also a good idea to start a conversation on dev/user ML about this change. This PR has been blocked for months now, if @syed does not reply by end of this month I'm okay to merge this based on other reviewer's comments and test results on the PR. Thoughts - @DaanHoogland @rafaelweingartner @borisstoyanov ?

@rafaelweingartner
Copy link
Member

In my opinion we can proceed with the merge. @syed inquiries were already addressed.

@rohityadavcloud
Copy link
Member

@blueorangutan package

@blueorangutan
Copy link

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

@blueorangutan
Copy link

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

@rohityadavcloud
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-2554)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 30007 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1940-t2554-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 62 look OK, 5 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_04_extract_template Failure 128.35 test_templates.py
ContextSuite context=TestISOUsage>:setup Error 0.00 test_usage.py
test_01_secured_vm_migration Error 36.36 test_vm_life_cycle.py
test_02_not_secured_vm_migration Error 37.39 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 36.35 test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migration Error 37.38 test_vm_life_cycle.py
test_06_download_detached_volume Failure 143.82 test_volumes.py
test_11_migrate_volume_and_change_offering Error 128.66 test_volumes.py
test_hostha_enable_ha_when_host_in_maintenance Error 3.44 test_hostha_kvm.py

@rohityadavcloud
Copy link
Member

@blueorangutan test

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-2562)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 26635 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1940-t2562-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_certauthority_root.py
Intermitten failure detected: /marvin/tests/smoke/test_vm_life_cycle.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 64 look OK, 3 have error(s)
Only failed tests results shown below:

Test Result Time (s) Test File
test_01_secured_vm_migration Error 37.50 test_vm_life_cycle.py
test_02_not_secured_vm_migration Error 37.48 test_vm_life_cycle.py
test_03_secured_to_nonsecured_vm_migration Error 37.35 test_vm_life_cycle.py
test_04_nonsecured_to_secured_vm_migration Error 37.37 test_vm_life_cycle.py
test_11_migrate_volume_and_change_offering Error 129.77 test_volumes.py
test_hostha_enable_ha_when_host_in_maintenance Error 3.44 test_hostha_kvm.py

@rohityadavcloud
Copy link
Member

The only new issue/failure I see is test_11_migrate_volume_and_change_offering. @jayantpatil1234 can you check if this error is caused by your PR /cc @rafaelweingartner @DaanHoogland

@rafaelweingartner
Copy link
Member

rafaelweingartner commented May 2, 2018

I have replied you guys at #2607. This error happens if there are some other testes that change the tags of the primary storage I use.

@rohityadavcloud
Copy link
Member

Okay @rafaelweingartner. Let me diagnose that and get back to you soon.

@rohityadavcloud
Copy link
Member

Merging this based on code reviews and test results.

@rohityadavcloud rohityadavcloud merged commit 1ff171d into apache:master May 3, 2018
pdion891 added a commit to pdion891/cloudstack that referenced this pull request Jun 22, 2022
CLOUDSTACK-9781:ACS records ID in events tables instead of UUID.ISSUE
=====
Wrong presentation of volume id in ACS events.
While creating a snapshot, only volume ID is mentioned in the events. For example, Scheduled async job for creating snapshot for volume Id:270". On looking into the notification, user is not able to identify the volume. So modified event description with UUID.

Please see screenshots.
**Before modification:**
![before](https://cloud.githubusercontent.com/assets/12637540/23013215/bd8dd6b6-f44f-11e6-92bd-f097ad1213b8.PNG)

**After modification:**

![after](https://cloud.githubusercontent.com/assets/12637540/23013214/bd8c7da2-f44f-11e6-9ec7-1f0105196970.PNG)

* pr/1940:
  CLOUDSTACK-9781:ACS records ID in events tables instead of UUID.

Signed-off-by: Pierre-Luc Dion <[email protected]>
pdion891 pushed a commit to pdion891/cloudstack that referenced this pull request Jun 22, 2022
Cca custom 4.10jdk8 tmpl fix

Fixes problems in apache#1940

See merge request !15
bernardodemarco pushed a commit to scclouds/cloudstack that referenced this pull request Jul 16, 2025
Mudança na mensagem de erro quando é criado um template a partir de volume

Closes apache#1940

See merge request scclouds/scclouds!1164
Sign up for free to 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.