Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLOUDSTACK-9397: Add Watchdog timer to KVM Instance #1707

Merged
merged 1 commit into from
Sep 28, 2017

Conversation

wido
Copy link
Contributor

@wido wido commented Oct 13, 2016

The watchdog timer adds functionality where the Hypervisor can detect if an
instance has crashed or stopped functioning.

When the Instance has the 'watchdog' daemon running it will send heartbeats
to the /dev/watchdog device.

If these heartbeats are no longer received by the HV it will reset the Instance.

If the Instance never sends the heartbeats the HV does not take action. It only
takes action if it stops sending heartbeats.

This is supported since Libvirt 0.7.3 and can be defined in the XML format as
described in the docs: https://libvirt.org/formatdomain.html#elementsWatchdog

To the 'devices' section this will be added:

In the agent.properties the action to be taken can be defined:

vm.watchdog.action=reset

The same goes for the model. The Intel i6300esb is however the most commonly used.

vm.watchdog.model=i6300esb

@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-140

@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-142

@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-196

@wido
Copy link
Contributor Author

wido commented Dec 7, 2016

I fixed the merge conflict of this PR and it should cleanly merge now.

@rohityadavcloud
Copy link
Member

Thanks @wido I'll kick some tests
@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-337

@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-342

@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-614)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 31536 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1707-t614-kvm-centos7.zip
Test completed. 42 look ok, 7 have error(s)

Test Result Time (s) Test File
test_02_VPC_default_routes Failure 917.71 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Failure 998.58 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Failure 148.41 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Failure 97.47 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Failure 158.02 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Failure 143.27 test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 148.20 test_vpc_redundant.py
test_router_dhcphosts Failure 95.80 test_router_dhcphosts.py
test_04_rvpc_privategw_static_routes Failure 1129.83 test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanup Failure 1094.63 test_privategw_acl.py
test_02_vpc_privategw_static_routes Failure 1049.14 test_privategw_acl.py
test_isolate_network_password_server Failure 62.76 test_password_server.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Failure 357.30 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Failure 357.44 test_internal_lb.py
test_01_vpc_site2site_vpn Error 357.34 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Error 527.94 test_vpc_vpn.py
test_05_rvpc_multi_tiers Error 445.31 test_vpc_redundant.py
ContextSuite context=TestRouterDHCPHosts>:teardown Error 151.17 test_router_dhcphosts.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Error 261.53 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Error 221.42 test_internal_lb.py
test_01_vpc_remote_access_vpn Success 65.82 test_vpc_vpn.py
test_09_delete_detached_volume Success 15.36 test_volumes.py
test_08_resize_volume Success 15.29 test_volumes.py
test_07_resize_fail Success 20.36 test_volumes.py
test_06_download_detached_volume Success 15.30 test_volumes.py
test_05_detach_volume Success 100.18 test_volumes.py
test_04_delete_attached_volume Success 10.15 test_volumes.py
test_03_download_attached_volume Success 15.23 test_volumes.py
test_02_attach_volume Success 73.68 test_volumes.py
test_01_create_volume Success 713.26 test_volumes.py
test_deploy_vm_multiple Success 267.48 test_vm_life_cycle.py
test_deploy_vm Success 0.02 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.21 test_vm_life_cycle.py
test_08_migrate_vm Success 40.68 test_vm_life_cycle.py
test_07_restore_vm Success 0.08 test_vm_life_cycle.py
test_06_destroy_vm Success 130.69 test_vm_life_cycle.py
test_03_reboot_vm Success 130.70 test_vm_life_cycle.py
test_02_start_vm Success 10.14 test_vm_life_cycle.py
test_01_stop_vm Success 45.27 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 120.72 test_templates.py
test_08_list_system_templates Success 0.02 test_templates.py
test_07_list_public_templates Success 0.03 test_templates.py
test_05_template_permissions Success 0.04 test_templates.py
test_04_extract_template Success 5.13 test_templates.py
test_03_delete_template Success 5.09 test_templates.py
test_02_edit_template Success 90.11 test_templates.py
test_01_create_template Success 85.51 test_templates.py
test_10_destroy_cpvm Success 171.51 test_ssvm.py
test_09_destroy_ssvm Success 168.55 test_ssvm.py
test_08_reboot_cpvm Success 136.48 test_ssvm.py
test_07_reboot_ssvm Success 138.61 test_ssvm.py
test_06_stop_cpvm Success 136.61 test_ssvm.py
test_05_stop_ssvm Success 143.59 test_ssvm.py
test_04_cpvm_internals Success 1.24 test_ssvm.py
test_03_ssvm_internals Success 3.87 test_ssvm.py
test_02_list_cpvm_vm Success 0.09 test_ssvm.py
test_01_list_sec_storage_vm Success 0.09 test_ssvm.py
test_01_snapshot_root_disk Success 11.00 test_snapshots.py
test_04_change_offering_small Success 245.80 test_service_offerings.py
test_03_delete_service_offering Success 0.03 test_service_offerings.py
test_02_edit_service_offering Success 0.04 test_service_offerings.py
test_01_create_service_offering Success 0.08 test_service_offerings.py
test_02_sys_template_ready Success 0.09 test_secondary_storage.py
test_01_sys_vm_start Success 0.14 test_secondary_storage.py
test_09_reboot_router Success 60.40 test_routers.py
test_08_start_router Success 40.26 test_routers.py
test_07_stop_router Success 15.14 test_routers.py
test_06_router_advanced Success 0.04 test_routers.py
test_05_router_basic Success 0.03 test_routers.py
test_04_restart_network_wo_cleanup Success 5.64 test_routers.py
test_03_restart_network_cleanup Success 60.44 test_routers.py
test_02_router_internal_adv Success 1.02 test_routers.py
test_01_router_internal_basic Success 0.55 test_routers.py
test_router_dns_guestipquery Success 76.65 test_router_dns.py
test_router_dns_externalipquery Success 0.06 test_router_dns.py
test_router_dhcp_opts Success 21.54 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.06 test_resource_detail.py
test_01_reset_vm_on_reboot Success 175.92 test_reset_vm_on_reboot.py
test_createRegion Success 0.03 test_regions.py
test_create_pvlan_network Success 5.16 test_pvlan.py
test_dedicatePublicIpRange Success 0.29 test_public_ip_range.py
test_01_vpc_privategw_acl Success 96.59 test_privategw_acl.py
test_01_primary_storage_nfs Success 35.72 test_primary_storage.py
test_createPortablePublicIPRange Success 15.14 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.51 test_portable_publicip.py
test_UpdateStorageOverProvisioningFactor Success 0.10 test_over_provisioning.py
test_oobm_zchange_password Success 30.47 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.25 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.18 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.23 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.24 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.23 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.33 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.23 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 77.16 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.12 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 5.09 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 5.24 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.07 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.06 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.06 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.32 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.24 test_non_contigiousvlan.py
test_01_nic Success 529.07 test_nic.py
test_releaseIP Success 307.32 test_network.py
test_reboot_router Success 437.72 test_network.py
test_public_ip_user_account Success 10.20 test_network.py
test_public_ip_admin_account Success 40.20 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.63 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 154.10 test_network.py
test_delete_account Success 342.69 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.49 test_network.py
test_01_port_fwd_on_src_nat Success 111.58 test_network.py
test_nic_secondaryip_add_remove Success 297.51 test_multipleips_per_nic.py
login_test_saml_user Success 17.78 test_login.py
test_assign_and_removal_lb Success 133.47 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.20 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 227.56 test_loadbalance.py
test_03_list_snapshots Success 0.06 test_list_ids_parameter.py
test_02_list_templates Success 0.03 test_list_ids_parameter.py
test_01_list_volumes Success 0.02 test_list_ids_parameter.py
test_07_list_default_iso Success 0.04 test_iso.py
test_05_iso_permissions Success 0.04 test_iso.py
test_04_extract_Iso Success 5.27 test_iso.py
test_03_delete_iso Success 95.17 test_iso.py
test_02_edit_iso Success 0.04 test_iso.py
test_01_create_iso Success 20.69 test_iso.py
test_dedicateGuestVlanRange Success 10.25 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.12 test_global_settings.py
test_rolepermission_lifecycle_update Success 5.83 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 5.67 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.58 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.79 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 5.79 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.62 test_dynamicroles.py
test_role_lifecycle_update Success 10.66 test_dynamicroles.py
test_role_lifecycle_list Success 5.60 test_dynamicroles.py
test_role_lifecycle_delete Success 10.63 test_dynamicroles.py
test_role_lifecycle_create Success 5.60 test_dynamicroles.py
test_role_inuse_deletion Success 5.58 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 6.92 test_dynamicroles.py
test_role_account_acls Success 7.06 test_dynamicroles.py
test_default_role_deletion Success 5.67 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.06 test_disk_offerings.py
test_03_delete_disk_offering Success 0.03 test_disk_offerings.py
test_02_edit_disk_offering Success 0.09 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.05 test_disk_offerings.py
test_01_create_disk_offering Success 0.08 test_disk_offerings.py
test_deployvm_userdispersing Success 20.41 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 61.07 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 55.49 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.26 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 50.48 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 5.65 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 5.65 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 262.22 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 237.43 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 120.94 test_affinity_groups.py
test_03_delete_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_02_revert_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_01_create_vm_snapshots 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.03 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.03 test_deploy_vgpu_enabled_vm.py

@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-365

@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-638)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27687 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1707-t638-kvm-centos7.zip
Test completed. 45 look ok, 4 have error(s)

Test Result Time (s) Test File
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACL Failure 407.80 test_vpc_redundant.py
test_04_rvpc_privategw_static_routes Failure 379.10 test_privategw_acl.py
ContextSuite context=TestTemplates>:setup Error 354.09 test_templates.py
ContextSuite context=TestListIdsParams>:setup Error 0.00 test_list_ids_parameter.py
test_01_vpc_site2site_vpn Success 169.33 test_vpc_vpn.py
test_01_vpc_remote_access_vpn Success 70.80 test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpn Success 304.86 test_vpc_vpn.py
test_02_VPC_default_routes Success 366.80 test_vpc_router_nics.py
test_01_VPC_nics_after_destroy Success 567.31 test_vpc_router_nics.py
test_05_rvpc_multi_tiers Success 538.71 test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nics Success 1457.23 test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routers Success 607.93 test_vpc_redundant.py
test_02_redundant_VPC_default_routes Success 784.38 test_vpc_redundant.py
test_09_delete_detached_volume Success 15.79 test_volumes.py
test_08_resize_volume Success 15.25 test_volumes.py
test_07_resize_fail Success 20.43 test_volumes.py
test_06_download_detached_volume Success 15.24 test_volumes.py
test_05_detach_volume Success 100.24 test_volumes.py
test_04_delete_attached_volume Success 10.15 test_volumes.py
test_03_download_attached_volume Success 15.24 test_volumes.py
test_02_attach_volume Success 73.68 test_volumes.py
test_01_create_volume Success 724.49 test_volumes.py
test_deploy_vm_multiple Success 271.94 test_vm_life_cycle.py
test_deploy_vm Success 0.02 test_vm_life_cycle.py
test_advZoneVirtualRouter Success 0.02 test_vm_life_cycle.py
test_10_attachAndDetach_iso Success 26.55 test_vm_life_cycle.py
test_09_expunge_vm Success 125.17 test_vm_life_cycle.py
test_08_migrate_vm Success 40.64 test_vm_life_cycle.py
test_07_restore_vm Success 0.09 test_vm_life_cycle.py
test_06_destroy_vm Success 130.60 test_vm_life_cycle.py
test_03_reboot_vm Success 130.67 test_vm_life_cycle.py
test_02_start_vm Success 10.12 test_vm_life_cycle.py
test_01_stop_vm Success 45.26 test_vm_life_cycle.py
test_CreateTemplateWithDuplicateName Success 126.44 test_templates.py
test_01_create_template Success 95.59 test_templates.py
test_10_destroy_cpvm Success 171.51 test_ssvm.py
test_09_destroy_ssvm Success 228.73 test_ssvm.py
test_08_reboot_cpvm Success 136.60 test_ssvm.py
test_07_reboot_ssvm Success 139.18 test_ssvm.py
test_06_stop_cpvm Success 166.72 test_ssvm.py
test_05_stop_ssvm Success 140.53 test_ssvm.py
test_04_cpvm_internals Success 1.17 test_ssvm.py
test_03_ssvm_internals Success 3.81 test_ssvm.py
test_02_list_cpvm_vm Success 0.08 test_ssvm.py
test_01_list_sec_storage_vm Success 0.09 test_ssvm.py
test_01_snapshot_root_disk Success 11.01 test_snapshots.py
test_04_change_offering_small Success 244.40 test_service_offerings.py
test_03_delete_service_offering Success 0.03 test_service_offerings.py
test_02_edit_service_offering Success 0.05 test_service_offerings.py
test_01_create_service_offering Success 0.07 test_service_offerings.py
test_02_sys_template_ready Success 0.08 test_secondary_storage.py
test_01_sys_vm_start Success 0.12 test_secondary_storage.py
test_09_reboot_router Success 45.31 test_routers.py
test_08_start_router Success 30.22 test_routers.py
test_07_stop_router Success 15.14 test_routers.py
test_06_router_advanced Success 0.04 test_routers.py
test_05_router_basic Success 0.03 test_routers.py
test_04_restart_network_wo_cleanup Success 5.64 test_routers.py
test_03_restart_network_cleanup Success 65.44 test_routers.py
test_02_router_internal_adv Success 1.01 test_routers.py
test_01_router_internal_basic Success 0.56 test_routers.py
test_router_dns_guestipquery Success 76.79 test_router_dns.py
test_router_dns_externalipquery Success 0.06 test_router_dns.py
test_router_dhcphosts Success 287.50 test_router_dhcphosts.py
test_router_dhcp_opts Success 21.48 test_router_dhcphosts.py
test_01_updatevolumedetail Success 0.05 test_resource_detail.py
test_01_reset_vm_on_reboot Success 165.78 test_reset_vm_on_reboot.py
test_createRegion Success 0.03 test_regions.py
test_create_pvlan_network Success 5.15 test_pvlan.py
test_dedicatePublicIpRange Success 0.27 test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanup Success 644.92 test_privategw_acl.py
test_02_vpc_privategw_static_routes Success 428.71 test_privategw_acl.py
test_01_vpc_privategw_acl Success 116.64 test_privategw_acl.py
test_01_primary_storage_nfs Success 35.81 test_primary_storage.py
test_createPortablePublicIPRange Success 15.12 test_portable_publicip.py
test_createPortablePublicIPAcquire Success 15.32 test_portable_publicip.py
test_isolate_network_password_server Success 86.26 test_password_server.py
test_UpdateStorageOverProvisioningFactor Success 0.09 test_over_provisioning.py
test_oobm_zchange_password Success 30.46 test_outofbandmanagement.py
test_oobm_multiple_mgmt_server_ownership Success 16.25 test_outofbandmanagement.py
test_oobm_issue_power_status Success 10.18 test_outofbandmanagement.py
test_oobm_issue_power_soft Success 15.23 test_outofbandmanagement.py
test_oobm_issue_power_reset Success 15.22 test_outofbandmanagement.py
test_oobm_issue_power_on Success 15.24 test_outofbandmanagement.py
test_oobm_issue_power_off Success 15.24 test_outofbandmanagement.py
test_oobm_issue_power_cycle Success 15.22 test_outofbandmanagement.py
test_oobm_enabledisable_across_clusterzones Success 92.14 test_outofbandmanagement.py
test_oobm_enable_feature_valid Success 5.33 test_outofbandmanagement.py
test_oobm_enable_feature_invalid Success 0.12 test_outofbandmanagement.py
test_oobm_disable_feature_valid Success 0.22 test_outofbandmanagement.py
test_oobm_disable_feature_invalid Success 0.14 test_outofbandmanagement.py
test_oobm_configure_invalid_driver Success 0.08 test_outofbandmanagement.py
test_oobm_configure_default_driver Success 0.11 test_outofbandmanagement.py
test_oobm_background_powerstate_sync Success 29.37 test_outofbandmanagement.py
test_extendPhysicalNetworkVlan Success 15.22 test_non_contigiousvlan.py
test_01_nic Success 553.65 test_nic.py
test_releaseIP Success 166.63 test_network.py
test_reboot_router Success 457.82 test_network.py
test_public_ip_user_account Success 10.17 test_network.py
test_public_ip_admin_account Success 40.18 test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_Rule Success 66.57 test_network.py
test_network_rules_acquired_public_ip_2_nat_rule Success 61.46 test_network.py
test_network_rules_acquired_public_ip_1_static_nat_rule Success 124.35 test_network.py
test_delete_account Success 312.06 test_network.py
test_02_port_fwd_on_non_src_nat Success 55.44 test_network.py
test_01_port_fwd_on_src_nat Success 111.62 test_network.py
test_nic_secondaryip_add_remove Success 216.75 test_multipleips_per_nic.py
login_test_saml_user Success 17.75 test_login.py
test_assign_and_removal_lb Success 133.16 test_loadbalance.py
test_02_create_lb_rule_non_nat Success 187.53 test_loadbalance.py
test_01_create_lb_rule_src_nat Success 228.42 test_loadbalance.py
test_07_list_default_iso Success 0.04 test_iso.py
test_05_iso_permissions Success 0.04 test_iso.py
test_04_extract_Iso Success 5.12 test_iso.py
test_03_delete_iso Success 95.16 test_iso.py
test_02_edit_iso Success 0.04 test_iso.py
test_01_create_iso Success 20.65 test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfaces Success 273.41 test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfaces Success 192.49 test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80 Success 550.97 test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80 Success 489.68 test_internal_lb.py
test_dedicateGuestVlanRange Success 10.21 test_guest_vlan_range.py
test_UpdateConfigParamWithScope Success 0.09 test_global_settings.py
test_rolepermission_lifecycle_update Success 5.84 test_dynamicroles.py
test_rolepermission_lifecycle_list Success 5.65 test_dynamicroles.py
test_rolepermission_lifecycle_delete Success 5.56 test_dynamicroles.py
test_rolepermission_lifecycle_create Success 5.59 test_dynamicroles.py
test_rolepermission_lifecycle_concurrent_updates Success 5.66 test_dynamicroles.py
test_role_lifecycle_update_role_inuse Success 5.62 test_dynamicroles.py
test_role_lifecycle_update Success 10.64 test_dynamicroles.py
test_role_lifecycle_list Success 5.59 test_dynamicroles.py
test_role_lifecycle_delete Success 10.60 test_dynamicroles.py
test_role_lifecycle_create Success 5.59 test_dynamicroles.py
test_role_inuse_deletion Success 5.56 test_dynamicroles.py
test_role_account_acls_multiple_mgmt_servers Success 6.99 test_dynamicroles.py
test_role_account_acls Success 7.06 test_dynamicroles.py
test_default_role_deletion Success 5.63 test_dynamicroles.py
test_04_create_fat_type_disk_offering Success 0.04 test_disk_offerings.py
test_03_delete_disk_offering Success 0.02 test_disk_offerings.py
test_02_edit_disk_offering Success 0.03 test_disk_offerings.py
test_02_create_sparse_type_disk_offering Success 0.04 test_disk_offerings.py
test_01_create_disk_offering Success 0.07 test_disk_offerings.py
test_deployvm_userdispersing Success 20.37 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentrated Success 20.49 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfit Success 125.73 test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_post Success 10.25 test_deploy_vm_with_userdata.py
test_deployvm_userdata Success 110.75 test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resize Success 5.62 test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resize Success 5.65 test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resize Success 281.98 test_deploy_vm_root_resize.py
test_deploy_vm_from_iso Success 226.73 test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroup Success 75.66 test_affinity_groups.py
test_03_delete_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_02_revert_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_01_test_vm_volume_snapshot Skipped 0.00 test_vm_snapshots.py
test_01_create_vm_snapshots Skipped 0.00 test_vm_snapshots.py
test_static_role_account_acls Skipped 0.01 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.01 test_ssvm.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.02 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.02 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.02 test_deploy_vgpu_enabled_vm.py

@wido
Copy link
Contributor Author

wido commented Mar 23, 2017

I rebased the code against master, merges again. Tests are looking good.

@rohityadavcloud
Copy link
Member

@wido I can run another round of testing, for comparison I'm using the #2225 test results as baseline for comparison
@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-1103

@rohityadavcloud
Copy link
Member

@blueorangutan test centos7 kvm-centos6

@blueorangutan
Copy link

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

@blueorangutan
Copy link

Trillian test result (tid-1529)
Environment: kvm-centos6 (x2), Advanced Networking with Mgmt server 7
Total time taken: 49877 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1707-t1529-kvm-centos6.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_internal_lb.py
Intermitten failure detected: /marvin/tests/smoke/test_iso.py
Intermitten failure detected: /marvin/tests/smoke/test_list_ids_parameter.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_router_dnsservice.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 55 look OK, 7 have error(s)

Test Result Time (s) Test File
test_01_vpc_remote_access_vpn Failure 66.00 test_vpc_vpn.py
test_04_rvpc_privategw_static_routes Failure 451.12 test_privategw_acl.py
test_01_create_iso Failure 1513.55 test_iso.py
test_05_change_vm_ostype_restart Failure 21.35 test_deploy_virtio_scsi_vm.py
test_03_verify_libvirt_attach_disk Failure 11.04 test_deploy_virtio_scsi_vm.py
test_02_verify_libvirt_after_restart Failure 141.87 test_deploy_virtio_scsi_vm.py
test_01_verify_libvirt Failure 0.77 test_deploy_virtio_scsi_vm.py
ContextSuite context=TestRedundantIsolateNetworks>:setup Error 1815.07 test_routers_network_ops.py
ContextSuite context=TestListIdsParams>:setup Error 0.00 test_list_ids_parameter.py
ContextSuite context=TestISO>:setup Error 3032.19 test_iso.py
ContextSuite context=TestInternalLb>:setup Error 0.00 test_internal_lb.py
test_change_service_offering_for_vm_with_snapshots Skipped 0.00 test_vm_snapshots.py
test_09_copy_delete_template Skipped 0.03 test_templates.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_02_list_snapshots_with_removed_data_store Skipped 0.00 test_snapshots.py
test_01_snapshot_root_disk Skipped 0.00 test_snapshots.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.03 test_primary_storage.py
test_vm_nic_adapter_vmxnet3 Skipped 0.00 test_nic_adapter_type.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_list_ha_for_host_valid Skipped 0.03 test_hostha_simulator.py
test_list_ha_for_host_invalid Skipped 0.03 test_hostha_simulator.py
test_list_ha_for_host Skipped 0.03 test_hostha_simulator.py
test_hostha_enable_feature_without_setting_provider Skipped 0.03 test_hostha_simulator.py
test_hostha_enable_feature_valid Skipped 0.03 test_hostha_simulator.py
test_hostha_disable_feature_valid Skipped 0.04 test_hostha_simulator.py
test_hostha_configure_invalid_provider Skipped 0.03 test_hostha_simulator.py
test_hostha_configure_default_driver Skipped 0.04 test_hostha_simulator.py
test_ha_verify_fsm_recovering Skipped 0.03 test_hostha_simulator.py
test_ha_verify_fsm_fenced Skipped 0.02 test_hostha_simulator.py
test_ha_verify_fsm_degraded Skipped 0.03 test_hostha_simulator.py
test_ha_verify_fsm_available Skipped 0.03 test_hostha_simulator.py
test_ha_multiple_mgmt_server_ownership Skipped 0.02 test_hostha_simulator.py
test_ha_list_providers Skipped 0.04 test_hostha_simulator.py
test_ha_enable_feature_invalid Skipped 0.06 test_hostha_simulator.py
test_ha_disable_feature_invalid Skipped 0.05 test_hostha_simulator.py
test_ha_configure_enabledisable_across_clusterzones Skipped 0.06 test_hostha_simulator.py
test_configure_ha_provider_valid Skipped 0.02 test_hostha_simulator.py
test_configure_ha_provider_invalid Skipped 0.04 test_hostha_simulator.py
test_deploy_vgpu_enabled_vm Skipped 0.05 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.04 test_deploy_vgpu_enabled_vm.py

@rohityadavcloud
Copy link
Member

@borisstoyanov can you check failures related to libvirt tests on kvm/centos6, however those failures are not seen in kvm/centos7? /cc @wido

@wido
Copy link
Contributor Author

wido commented Sep 21, 2017

Is virtio-scsi supported in CentOS 6 by libvirt? I doubt it.

@kiwiflyer
Copy link
Contributor

According to Redhat, it's supported in RHEL6 U4, so it's quite possible it's supported in Centos 6.4 and beyond, but we haven't tested it. All of our testing was Centos 7.x.

@rohityadavcloud
Copy link
Member

@wido I think Trillian may be using CentOS 6.8 for buildilng kvm hosts, @borisstoyanov @PaulAngus can you comment?

@wido
Copy link
Contributor Author

wido commented Sep 22, 2017

Understood! It was my only explanation I could give for this error. Right now I don't know anything else.

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

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

I can confirm that these tests fail at CentOS release 6.8 (Final) but pass on CentOS 7... Looks like the discard attribute is missing from the XML on CentOS-6. Please let me know if you need me to retest this once we have a fix. Test failures are observed in the #2225 PR as well (smoke tests on master)

@rohityadavcloud
Copy link
Member

Comparing a recent smoketest result against centos6-kvm I don't see an issue with failing tests, they are failing on the baseline as well. However I do see additional failures around routers, isos etc that diverge from the baseline. We may run another round.
@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-1110

@rohityadavcloud
Copy link
Member

@blueorangutan test centos7 kvm-centos6

@blueorangutan
Copy link

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

@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-1538)
Environment: kvm-centos6 (x2), Advanced Networking with Mgmt server 7
Total time taken: 56153 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1707-t1538-kvm-centos6.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Intermitten failure detected: /marvin/tests/smoke/test_list_ids_parameter.py
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_routers_network_ops.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.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
Test completed. 52 look OK, 10 have error(s)

Test Result Time (s) Test File
test_07_resize_fail Failure 15.26 test_volumes.py
test_10_attachAndDetach_iso Failure 1510.82 test_vm_life_cycle.py
test_09_destroy_ssvm Failure 0.02 test_ssvm.py
test_08_reboot_cpvm Failure 0.02 test_ssvm.py
test_07_reboot_ssvm Failure 0.02 test_ssvm.py
test_06_stop_cpvm Failure 0.02 test_ssvm.py
test_05_stop_ssvm Failure 0.02 test_ssvm.py
test_04_cpvm_internals Failure 0.02 test_ssvm.py
test_03_ssvm_internals Failure 0.02 test_ssvm.py
test_02_list_cpvm_vm Failure 0.02 test_ssvm.py
test_01_list_sec_storage_vm Failure 0.02 test_ssvm.py
test_04_rvpc_privategw_static_routes Failure 419.50 test_privategw_acl.py
test_05_change_vm_ostype_restart Failure 20.86 test_deploy_virtio_scsi_vm.py
test_03_verify_libvirt_attach_disk Failure 10.69 test_deploy_virtio_scsi_vm.py
test_02_verify_libvirt_after_restart Failure 141.30 test_deploy_virtio_scsi_vm.py
test_01_verify_libvirt Failure 0.62 test_deploy_virtio_scsi_vm.py
ContextSuite context=TestVpcSite2SiteVpn>:setup Error 0.00 test_vpc_vpn.py
ContextSuite context=TestVpcRemoteAccessVpn>:setup Error 0.00 test_vpc_vpn.py
ContextSuite context=TestRVPCSite2SiteVpn>:setup Error 0.00 test_vpc_vpn.py
ContextSuite context=TestVPCRedundancy>:setup Error 0.00 test_vpc_redundant.py
test_06_download_detached_volume Error 20.22 test_volumes.py
test_04_extract_template Error 5.08 test_templates.py
test_03_delete_template Error 5.08 test_templates.py
test_01_create_template Error 80.51 test_templates.py
test_10_destroy_cpvm Error 5.10 test_ssvm.py
ContextSuite context=TestRedundantIsolateNetworks>:setup Error 1711.98 test_routers_network_ops.py
ContextSuite context=TestListIdsParams>:setup Error 0.00 test_list_ids_parameter.py
test_change_service_offering_for_vm_with_snapshots Skipped 0.00 test_vm_snapshots.py
test_09_copy_delete_template Skipped 0.01 test_templates.py
test_06_copy_template Skipped 0.00 test_templates.py
test_static_role_account_acls Skipped 0.01 test_staticroles.py
test_11_ss_nfs_version_on_ssvm Skipped 0.01 test_ssvm.py
test_02_list_snapshots_with_removed_data_store Skipped 0.00 test_snapshots.py
test_01_snapshot_root_disk Skipped 0.00 test_snapshots.py
test_01_scale_vm Skipped 0.00 test_scale_vm.py
test_01_primary_storage_iscsi Skipped 0.06 test_primary_storage.py
test_vm_nic_adapter_vmxnet3 Skipped 0.00 test_nic_adapter_type.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_list_ha_for_host_valid Skipped 0.02 test_hostha_simulator.py
test_list_ha_for_host_invalid Skipped 0.01 test_hostha_simulator.py
test_list_ha_for_host Skipped 0.01 test_hostha_simulator.py
test_hostha_enable_feature_without_setting_provider Skipped 0.01 test_hostha_simulator.py
test_hostha_enable_feature_valid Skipped 0.01 test_hostha_simulator.py
test_hostha_disable_feature_valid Skipped 0.02 test_hostha_simulator.py
test_hostha_configure_invalid_provider Skipped 0.01 test_hostha_simulator.py
test_hostha_configure_default_driver Skipped 0.01 test_hostha_simulator.py
test_ha_verify_fsm_recovering Skipped 0.02 test_hostha_simulator.py
test_ha_verify_fsm_fenced Skipped 0.01 test_hostha_simulator.py
test_ha_verify_fsm_degraded Skipped 0.01 test_hostha_simulator.py
test_ha_verify_fsm_available Skipped 0.01 test_hostha_simulator.py
test_ha_multiple_mgmt_server_ownership Skipped 0.02 test_hostha_simulator.py
test_ha_list_providers Skipped 0.01 test_hostha_simulator.py
test_ha_enable_feature_invalid Skipped 0.01 test_hostha_simulator.py
test_ha_disable_feature_invalid Skipped 0.01 test_hostha_simulator.py
test_ha_configure_enabledisable_across_clusterzones Skipped 0.01 test_hostha_simulator.py
test_configure_ha_provider_valid Skipped 0.02 test_hostha_simulator.py
test_configure_ha_provider_invalid Skipped 0.02 test_hostha_simulator.py
test_deploy_vgpu_enabled_vm Skipped 0.02 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.02 test_deploy_vgpu_enabled_vm.py

@blueorangutan
Copy link

Trillian test result (tid-1539)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 40838 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1707-t1539-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_privategw_acl.py
Intermitten failure detected: /marvin/tests/smoke/test_snapshots.py
Intermitten failure detected: /marvin/tests/smoke/test_ssvm.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Test completed. 58 look OK, 4 have error(s)

Test Result Time (s) Test File
test_01_vpc_remote_access_vpn Failure 65.98 test_vpc_vpn.py
test_05_rvpc_multi_tiers Failure 207.34 test_vpc_redundant.py
test_04_rvpc_privategw_static_routes Failure 446.81 test_privategw_acl.py
ContextSuite context=TestSnapshotRootDisk>:teardown Error 102.50 test_snapshots.py
test_change_service_offering_for_vm_with_snapshots Skipped 0.00 test_vm_snapshots.py
test_09_copy_delete_template Skipped 0.02 test_templates.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.18 test_primary_storage.py
test_vm_nic_adapter_vmxnet3 Skipped 0.00 test_nic_adapter_type.py
test_nested_virtualization_vmware Skipped 0.00 test_nested_virtualization.py
test_06_copy_iso Skipped 0.00 test_iso.py
test_list_ha_for_host_valid Skipped 0.04 test_hostha_simulator.py
test_list_ha_for_host_invalid Skipped 0.03 test_hostha_simulator.py
test_list_ha_for_host Skipped 0.03 test_hostha_simulator.py
test_hostha_enable_feature_without_setting_provider Skipped 0.03 test_hostha_simulator.py
test_hostha_enable_feature_valid Skipped 0.02 test_hostha_simulator.py
test_hostha_disable_feature_valid Skipped 0.02 test_hostha_simulator.py
test_hostha_configure_invalid_provider Skipped 0.02 test_hostha_simulator.py
test_hostha_configure_default_driver Skipped 0.02 test_hostha_simulator.py
test_ha_verify_fsm_recovering Skipped 0.02 test_hostha_simulator.py
test_ha_verify_fsm_fenced Skipped 0.02 test_hostha_simulator.py
test_ha_verify_fsm_degraded Skipped 0.03 test_hostha_simulator.py
test_ha_verify_fsm_available Skipped 0.02 test_hostha_simulator.py
test_ha_multiple_mgmt_server_ownership Skipped 0.02 test_hostha_simulator.py
test_ha_list_providers Skipped 0.02 test_hostha_simulator.py
test_ha_enable_feature_invalid Skipped 0.02 test_hostha_simulator.py
test_ha_disable_feature_invalid Skipped 0.02 test_hostha_simulator.py
test_ha_configure_enabledisable_across_clusterzones Skipped 0.03 test_hostha_simulator.py
test_configure_ha_provider_valid Skipped 0.03 test_hostha_simulator.py
test_configure_ha_provider_invalid Skipped 0.04 test_hostha_simulator.py
test_deploy_vgpu_enabled_vm Skipped 0.03 test_deploy_vgpu_enabled_vm.py
test_3d_gpu_support Skipped 0.03 test_deploy_vgpu_enabled_vm.py

@rohityadavcloud
Copy link
Member

Ignoring test failures on centos6, LGTM. @borisstoyanov @wido @kiwiflyer what do you think, should we merge this PR?

Copy link
Contributor

@borisstoyanov borisstoyanov left a comment

Choose a reason for hiding this comment

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

LGTM

@wido
Copy link
Contributor Author

wido commented Sep 28, 2017

I personally think we can merge it. But hey, it's my PR, I can't make that decision.

@rohityadavcloud
Copy link
Member

@wido can you comment on the potential NPE issue, see the code/comment?

@wido
Copy link
Contributor Author

wido commented Sep 28, 2017

@rhtyd: I already did? I added a if-statement around the check in case libvirt doesn't return anything. Which is highly unlikely

@rohityadavcloud
Copy link
Member

Alright based on test results and LGTMs presented on this PR, I'll merge this. If we hit regressions or error reports, we might revisit this (unlikely).

@rohityadavcloud rohityadavcloud merged commit b130e55 into apache:master Sep 28, 2017
lucas-a-martins pushed a commit to scclouds/cloudstack that referenced this pull request Jan 29, 2024
…0-scclouds'

Apresentar _disk offering_ utilizada para o _root disk_ no _wizard_ de _deploy_ de VMs

Closes apache#1707

See merge request scclouds/scclouds!722
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.

8 participants