Skip to content

CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to resolve to 127.0.0.1 - #1757

Merged
asfgit merged 1 commit into
apache:4.8from
murali-reddy:vr_dhcp_entries
Nov 23, 2016
Merged

CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to resolve to 127.0.0.1#1757
asfgit merged 1 commit into
apache:4.8from
murali-reddy:vr_dhcp_entries

Conversation

@murali-reddy

Copy link
Copy Markdown
Contributor

The VR executes a ip route flush command as part of configurations. This command performs a
DNS lookup on the VR hostname. Since the VR does not have a DNS entry, the ip command would
wait 5 seconds before timing out and executing the flush operation. This fix adds the VR
hostname to /etc/hosts mapped to 127.0.0.1 to answer the DNS lookup – reducing the
execution time.

…t to resolve to 127.0.0.1
The VR executes a ip route flush command as part of configurations. This command performs a
DNS lookup on the VR hostname. Since the VR does not have a DNS entry, the ip command would
wait 5 seconds before timing out and executing the flush operation. This fix adds the VR
hostname to /etc/hosts mapped to 127.0.0.1 to answer the DNS lookup – reducing the
execution time.
@murali-reddy

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan package

@blueorangutan

Copy link
Copy Markdown

@murali-reddy 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-160

@murali-reddy

Copy link
Copy Markdown
ContributorAuthor

@blueorangutan test

@blueorangutan

Copy link
Copy Markdown

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

@jburwelljburwell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM for code review

@jburwell

Copy link
Copy Markdown
Contributor

@blueorangutan test matrix

@blueorangutan

Copy link
Copy Markdown

@jburwell a Trillian-Jenkins matrix job (centos6 mgmt + xs65sp1, centos7 mgmt + vmware55u3, centos7 mgmt + kvmcentos7) has been kicked to run smoke tests

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-338)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 24043 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1757-t338-kvm-centos7.zip
Test completed. 42 look ok, 1 have error(s)

TestResultTime (s)Test File
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure396.62test_vpc_redundant.py
test_01_vpc_site2site_vpnSuccess150.37test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess56.14test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnSuccess257.22test_vpc_vpn.py
test_02_VPC_default_routesSuccess291.44test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess502.74test_vpc_router_nics.py
test_05_rvpc_multi_tiersSuccess530.07test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsSuccess1443.95test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess576.62test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess758.56test_vpc_redundant.py
test_09_delete_detached_volumeSuccess15.46test_volumes.py
test_08_resize_volumeSuccess15.38test_volumes.py
test_07_resize_failSuccess20.55test_volumes.py
test_06_download_detached_volumeSuccess15.30test_volumes.py
test_05_detach_volumeSuccess100.36test_volumes.py
test_04_delete_attached_volumeSuccess10.21test_volumes.py
test_03_download_attached_volumeSuccess15.45test_volumes.py
test_02_attach_volumeSuccess43.71test_volumes.py
test_01_create_volumeSuccess712.26test_volumes.py
test_deploy_vm_multipleSuccess254.22test_vm_life_cycle.py
test_deploy_vmSuccess0.03test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.66test_vm_life_cycle.py
test_09_expunge_vmSuccess125.29test_vm_life_cycle.py
test_08_migrate_vmSuccess41.43test_vm_life_cycle.py
test_07_restore_vmSuccess0.13test_vm_life_cycle.py
test_06_destroy_vmSuccess126.01test_vm_life_cycle.py
test_03_reboot_vmSuccess126.01test_vm_life_cycle.py
test_02_start_vmSuccess10.23test_vm_life_cycle.py
test_01_stop_vmSuccess40.42test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess65.72test_templates.py
test_08_list_system_templatesSuccess0.03test_templates.py
test_07_list_public_templatesSuccess0.03test_templates.py
test_05_template_permissionsSuccess0.05test_templates.py
test_04_extract_templateSuccess5.28test_templates.py
test_03_delete_templateSuccess5.51test_templates.py
test_02_edit_templateSuccess90.16test_templates.py
test_01_create_templateSuccess65.67test_templates.py
test_10_destroy_cpvmSuccess131.43test_ssvm.py
test_09_destroy_ssvmSuccess163.33test_ssvm.py
test_08_reboot_cpvmSuccess101.52test_ssvm.py
test_07_reboot_ssvmSuccess103.22test_ssvm.py
test_06_stop_cpvmSuccess101.46test_ssvm.py
test_05_stop_ssvmSuccess133.18test_ssvm.py
test_04_cpvm_internalsSuccess1.02test_ssvm.py
test_03_ssvm_internalsSuccess3.99test_ssvm.py
test_02_list_cpvm_vmSuccess0.11test_ssvm.py
test_01_list_sec_storage_vmSuccess0.12test_ssvm.py
test_01_snapshot_root_diskSuccess12.48test_snapshots.py
test_04_change_offering_smallSuccess209.76test_service_offerings.py
test_03_delete_service_offeringSuccess0.03test_service_offerings.py
test_02_edit_service_offeringSuccess0.05test_service_offerings.py
test_01_create_service_offeringSuccess0.10test_service_offerings.py
test_02_sys_template_readySuccess0.16test_secondary_storage.py
test_01_sys_vm_startSuccess0.24test_secondary_storage.py
test_09_reboot_routerSuccess35.33test_routers.py
test_08_start_routerSuccess30.32test_routers.py
test_07_stop_routerSuccess10.28test_routers.py
test_06_router_advancedSuccess0.06test_routers.py
test_05_router_basicSuccess0.05test_routers.py
test_04_restart_network_wo_cleanupSuccess5.65test_routers.py
test_03_restart_network_cleanupSuccess50.51test_routers.py
test_02_router_internal_advSuccess0.87test_routers.py
test_01_router_internal_basicSuccess0.46test_routers.py
test_router_dhcphostsSuccess276.56test_router_dhcphosts.py
test_01_updatevolumedetailSuccess5.10test_resource_detail.py
test_01_reset_vm_on_rebootSuccess181.57test_reset_vm_on_reboot.py
test_createRegionSuccess0.18test_regions.py
test_create_pvlan_networkSuccess5.52test_pvlan.py
test_dedicatePublicIpRangeSuccess1.29test_public_ip_range.py
test_04_rvpc_privategw_static_routesSuccess529.83test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess483.05test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess394.13test_privategw_acl.py
test_01_vpc_privategw_aclSuccess98.35test_privategw_acl.py
test_01_primary_storage_nfsSuccess35.77test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.27test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess20.76test_portable_publicip.py
test_isolate_network_password_serverSuccess89.34test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.14test_over_provisioning.py
test_extendPhysicalNetworkVlanSuccess15.46test_non_contigiousvlan.py
test_01_nicSuccess642.82test_nic.py
test_releaseIPSuccess178.68test_network.py
test_reboot_routerSuccess429.86test_network.py
test_public_ip_user_accountSuccess10.37test_network.py
test_public_ip_admin_accountSuccess40.44test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess67.02test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess57.15test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess124.55test_network.py
test_delete_accountSuccess289.83test_network.py
test_02_port_fwd_on_non_src_natSuccess55.96test_network.py
test_01_port_fwd_on_src_natSuccess111.78test_network.py
test_nic_secondaryip_add_removeSuccess208.83test_multipleips_per_nic.py
login_test_saml_userSuccess24.71test_login.py
test_assign_and_removal_lbSuccess133.39test_loadbalance.py
test_02_create_lb_rule_non_natSuccess187.12test_loadbalance.py
test_01_create_lb_rule_src_natSuccess197.92test_loadbalance.py
test_07_list_default_isoSuccess0.07test_iso.py
test_05_iso_permissionsSuccess0.10test_iso.py
test_04_extract_IsoSuccess5.18test_iso.py
test_03_delete_isoSuccess95.15test_iso.py
test_02_edit_isoSuccess0.05test_iso.py
test_01_create_isoSuccess22.41test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess233.87test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess193.15test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success573.65test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success476.87test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.53test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.14test_global_settings.py
test_04_create_fat_type_disk_offeringSuccess0.06test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.05test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.04test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.06test_disk_offerings.py
test_01_create_disk_offeringSuccess0.11test_disk_offerings.py
test_deployvm_userdispersingSuccess15.61test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess20.75test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess86.21test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess10.58test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess85.97test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.87test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess7.05test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess224.10test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess213.88test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess81.06test_affinity_groups.py
test_03_delete_vm_snapshotsSkipped0.00test_vm_snapshots.py
test_02_revert_vm_snapshotsSkipped0.00test_vm_snapshots.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_01_create_vm_snapshotsSkipped0.00test_vm_snapshots.py
test_06_copy_templateSkipped0.00test_templates.py
test_01_scale_vmSkipped0.00test_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

@blueorangutan

Copy link
Copy Markdown

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

TestResultTime (s)Test File
test_01_vpc_site2site_vpnError426.66test_vpc_vpn.py
test_01_redundant_vpc_site2site_vpnError669.50test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess142.18test_vpc_vpn.py
test_02_VPC_default_routesSuccess299.75test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess661.29test_vpc_router_nics.py
test_05_rvpc_multi_tiersSuccess494.72test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsSuccess1513.28test_vpc_redundant.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess571.88test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess511.48test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLSuccess1135.81test_vpc_redundant.py
test_09_delete_detached_volumeSuccess31.73test_volumes.py
test_06_download_detached_volumeSuccess70.64test_volumes.py
test_05_detach_volumeSuccess110.39test_volumes.py
test_04_delete_attached_volumeSuccess15.24test_volumes.py
test_03_download_attached_volumeSuccess20.38test_volumes.py
test_02_attach_volumeSuccess58.72test_volumes.py
test_01_create_volumeSuccess455.56test_volumes.py
test_03_delete_vm_snapshotsSuccess275.26test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess194.06test_vm_snapshots.py
test_01_test_vm_volume_snapshotSuccess156.69test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess129.77test_vm_snapshots.py
test_deploy_vm_multipleSuccess238.87test_vm_life_cycle.py
test_deploy_vmSuccess0.03test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess26.90test_vm_life_cycle.py
test_09_expunge_vmSuccess125.28test_vm_life_cycle.py
test_08_migrate_vmSuccess66.47test_vm_life_cycle.py
test_07_restore_vmSuccess0.09test_vm_life_cycle.py
test_06_destroy_vmSuccess10.20test_vm_life_cycle.py
test_03_reboot_vmSuccess5.23test_vm_life_cycle.py
test_02_start_vmSuccess20.38test_vm_life_cycle.py
test_01_stop_vmSuccess10.30test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess257.55test_templates.py
test_08_list_system_templatesSuccess0.03test_templates.py
test_07_list_public_templatesSuccess0.04test_templates.py
test_05_template_permissionsSuccess0.07test_templates.py
test_04_extract_templateSuccess15.24test_templates.py
test_03_delete_templateSuccess5.10test_templates.py
test_02_edit_templateSuccess90.14test_templates.py
test_01_create_templateSuccess111.24test_templates.py
test_10_destroy_cpvmSuccess266.90test_ssvm.py
test_09_destroy_ssvmSuccess238.71test_ssvm.py
test_08_reboot_cpvmSuccess126.62test_ssvm.py
test_07_reboot_ssvmSuccess128.49test_ssvm.py
test_06_stop_cpvmSuccess207.77test_ssvm.py
test_05_stop_ssvmSuccess174.68test_ssvm.py
test_04_cpvm_internalsSuccess1.22test_ssvm.py
test_03_ssvm_internalsSuccess4.42test_ssvm.py
test_02_list_cpvm_vmSuccess0.12test_ssvm.py
test_01_list_sec_storage_vmSuccess0.18test_ssvm.py
test_01_snapshot_root_diskSuccess26.71test_snapshots.py
test_04_change_offering_smallSuccess92.16test_service_offerings.py
test_03_delete_service_offeringSuccess0.03test_service_offerings.py
test_02_edit_service_offeringSuccess0.08test_service_offerings.py
test_01_create_service_offeringSuccess0.10test_service_offerings.py
test_02_sys_template_readySuccess0.11test_secondary_storage.py
test_01_sys_vm_startSuccess0.16test_secondary_storage.py
test_09_reboot_routerSuccess105.96test_routers.py
test_08_start_routerSuccess100.77test_routers.py
test_07_stop_routerSuccess20.20test_routers.py
test_06_router_advancedSuccess0.04test_routers.py
test_05_router_basicSuccess0.03test_routers.py
test_04_restart_network_wo_cleanupSuccess5.75test_routers.py
test_03_restart_network_cleanupSuccess126.03test_routers.py
test_02_router_internal_advSuccess1.01test_routers.py
test_01_router_internal_basicSuccess0.54test_routers.py
test_router_dhcphostsSuccess116.89test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.08test_resource_detail.py
test_01_reset_vm_on_rebootSuccess30.51test_reset_vm_on_reboot.py
test_createRegionSuccess0.10test_regions.py
test_create_pvlan_networkSuccess5.27test_pvlan.py
test_dedicatePublicIpRangeSuccess0.67test_public_ip_range.py
test_04_rvpc_privategw_static_routesSuccess780.77test_privategw_acl.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess825.31test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess540.11test_privategw_acl.py
test_01_vpc_privategw_aclSuccess249.87test_privategw_acl.py
test_01_primary_storage_nfsSuccess38.25test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.24test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.92test_portable_publicip.py
test_isolate_network_password_serverSuccess60.01test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.20test_over_provisioning.py
test_extendPhysicalNetworkVlanSuccess15.35test_non_contigiousvlan.py
test_01_nicSuccess638.21test_nic.py
test_releaseIPSuccess249.04test_network.py
test_reboot_routerSuccess626.79test_network.py
test_public_ip_user_accountSuccess10.34test_network.py
test_public_ip_admin_accountSuccess40.48test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess67.02test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess62.66test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess124.73test_network.py
test_delete_accountSuccess274.27test_network.py
test_02_port_fwd_on_non_src_natSuccess55.84test_network.py
test_01_port_fwd_on_src_natSuccess111.88test_network.py
test_nic_secondaryip_add_removeSuccess189.46test_multipleips_per_nic.py
login_test_saml_userSuccess27.10test_login.py
test_assign_and_removal_lbSuccess132.78test_loadbalance.py
test_02_create_lb_rule_non_natSuccess187.33test_loadbalance.py
test_01_create_lb_rule_src_natSuccess187.89test_loadbalance.py
test_07_list_default_isoSuccess0.05test_iso.py
test_05_iso_permissionsSuccess0.06test_iso.py
test_04_extract_IsoSuccess5.13test_iso.py
test_03_delete_isoSuccess95.32test_iso.py
test_02_edit_isoSuccess0.15test_iso.py
test_01_create_isoSuccess21.93test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess525.40test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess390.23test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success883.49test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success736.01test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.31test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.33test_global_settings.py
test_04_create_fat_type_disk_offeringSuccess0.05test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.03test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.04test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.06test_disk_offerings.py
test_01_create_disk_offeringSuccess0.09test_disk_offerings.py
test_deployvm_userdispersingSuccess61.72test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess46.17test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess171.82test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess25.54test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess201.74test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.78test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.72test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess7.13test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess209.12test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess182.46test_affinity_groups.py
test_08_resize_volumeSkipped5.12test_volumes.py
test_07_resize_failSkipped15.38test_volumes.py
test_06_copy_templateSkipped0.00test_templates.py
test_01_scale_vmSkipped66.25test_scale_vm.py
test_01_primary_storage_iscsiSkipped0.03test_primary_storage.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.00test_deploy_vgpu_enabled_vm.py

@blueorangutan

Copy link
Copy Markdown

Trillian test result (tid-337)
Environment: xenserver-65sp1 (x2), Advanced Networking with Mgmt server 6
Total time taken: 30772 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr1757-t337-xenserver-65sp1.zip
Test completed. 39 look ok, 4 have error(s)

TestResultTime (s)Test File
test_05_rvpc_multi_tiersFailure420.58test_vpc_redundant.py
test_04_rvpc_network_garbage_collector_nicsFailure1372.61test_vpc_redundant.py
test_01_create_redundant_VPC_2tiers_4VMs_4IPs_4PF_ACLFailure479.80test_vpc_redundant.py
test_04_rvpc_privategw_static_routesFailure619.78test_privategw_acl.py
ContextSuite context=TestRVPCSite2SiteVpn>:setupError0.00test_vpc_vpn.py
test_06_download_detached_volumeError30.43test_volumes.py
test_01_vpc_site2site_vpnSuccess326.97test_vpc_vpn.py
test_01_vpc_remote_access_vpnSuccess121.74test_vpc_vpn.py
test_02_VPC_default_routesSuccess271.09test_vpc_router_nics.py
test_01_VPC_nics_after_destroySuccess638.24test_vpc_router_nics.py
test_03_create_redundant_VPC_1tier_2VMs_2IPs_2PF_ACL_reboot_routersSuccess777.50test_vpc_redundant.py
test_02_redundant_VPC_default_routesSuccess984.30test_vpc_redundant.py
test_09_delete_detached_volumeSuccess15.75test_volumes.py
test_08_resize_volumeSuccess85.99test_volumes.py
test_07_resize_failSuccess91.06test_volumes.py
test_05_detach_volumeSuccess100.28test_volumes.py
test_04_delete_attached_volumeSuccess10.27test_volumes.py
test_03_download_attached_volumeSuccess15.38test_volumes.py
test_02_attach_volumeSuccess10.71test_volumes.py
test_01_create_volumeSuccess427.98test_volumes.py
test_03_delete_vm_snapshotsSuccess280.78test_vm_snapshots.py
test_02_revert_vm_snapshotsSuccess186.62test_vm_snapshots.py
test_01_create_vm_snapshotsSuccess133.90test_vm_snapshots.py
test_deploy_vm_multipleSuccess294.33test_vm_life_cycle.py
test_deploy_vmSuccess0.03test_vm_life_cycle.py
test_advZoneVirtualRouterSuccess0.02test_vm_life_cycle.py
test_10_attachAndDetach_isoSuccess31.87test_vm_life_cycle.py
test_09_expunge_vmSuccess125.17test_vm_life_cycle.py
test_08_migrate_vmSuccess66.24test_vm_life_cycle.py
test_07_restore_vmSuccess0.14test_vm_life_cycle.py
test_06_destroy_vmSuccess10.18test_vm_life_cycle.py
test_03_reboot_vmSuccess10.20test_vm_life_cycle.py
test_02_start_vmSuccess15.22test_vm_life_cycle.py
test_01_stop_vmSuccess30.30test_vm_life_cycle.py
test_CreateTemplateWithDuplicateNameSuccess126.15test_templates.py
test_08_list_system_templatesSuccess0.03test_templates.py
test_07_list_public_templatesSuccess0.04test_templates.py
test_05_template_permissionsSuccess0.06test_templates.py
test_04_extract_templateSuccess5.17test_templates.py
test_03_delete_templateSuccess5.12test_templates.py
test_02_edit_templateSuccess90.13test_templates.py
test_01_create_templateSuccess80.84test_templates.py
test_10_destroy_cpvmSuccess221.74test_ssvm.py
test_09_destroy_ssvmSuccess204.12test_ssvm.py
test_08_reboot_cpvmSuccess141.60test_ssvm.py
test_07_reboot_ssvmSuccess153.97test_ssvm.py
test_06_stop_cpvmSuccess136.74test_ssvm.py
test_05_stop_ssvmSuccess174.01test_ssvm.py
test_04_cpvm_internalsSuccess1.10test_ssvm.py
test_03_ssvm_internalsSuccess3.54test_ssvm.py
test_02_list_cpvm_vmSuccess0.12test_ssvm.py
test_01_list_sec_storage_vmSuccess0.13test_ssvm.py
test_01_snapshot_root_diskSuccess16.69test_snapshots.py
test_04_change_offering_smallSuccess58.90test_service_offerings.py
test_03_delete_service_offeringSuccess0.05test_service_offerings.py
test_02_edit_service_offeringSuccess0.12test_service_offerings.py
test_01_create_service_offeringSuccess0.10test_service_offerings.py
test_02_sys_template_readySuccess0.13test_secondary_storage.py
test_01_sys_vm_startSuccess0.20test_secondary_storage.py
test_01_scale_vmSuccess5.24test_scale_vm.py
test_09_reboot_routerSuccess50.48test_routers.py
test_08_start_routerSuccess40.43test_routers.py
test_07_stop_routerSuccess10.20test_routers.py
test_06_router_advancedSuccess0.06test_routers.py
test_05_router_basicSuccess0.04test_routers.py
test_04_restart_network_wo_cleanupSuccess5.54test_routers.py
test_03_restart_network_cleanupSuccess96.04test_routers.py
test_02_router_internal_advSuccess0.79test_routers.py
test_01_router_internal_basicSuccess0.49test_routers.py
test_router_dhcphostsSuccess137.87test_router_dhcphosts.py
test_01_updatevolumedetailSuccess0.12test_resource_detail.py
test_01_reset_vm_on_rebootSuccess90.78test_reset_vm_on_reboot.py
test_createRegionSuccess0.05test_regions.py
test_create_pvlan_networkSuccess5.26test_pvlan.py
test_dedicatePublicIpRangeSuccess0.57test_public_ip_range.py
test_03_vpc_privategw_restart_vpc_cleanupSuccess859.78test_privategw_acl.py
test_02_vpc_privategw_static_routesSuccess564.04test_privategw_acl.py
test_01_vpc_privategw_aclSuccess164.51test_privategw_acl.py
test_01_primary_storage_nfsSuccess38.92test_primary_storage.py
test_01_primary_storage_iscsiSuccess77.70test_primary_storage.py
test_createPortablePublicIPRangeSuccess15.24test_portable_publicip.py
test_createPortablePublicIPAcquireSuccess15.57test_portable_publicip.py
test_isolate_network_password_serverSuccess31.33test_password_server.py
test_UpdateStorageOverProvisioningFactorSuccess0.19test_over_provisioning.py
test_extendPhysicalNetworkVlanSuccess15.40test_non_contigiousvlan.py
test_01_nicSuccess789.04test_nic.py
test_releaseIPSuccess274.57test_network.py
test_reboot_routerSuccess571.34test_network.py
test_public_ip_user_accountSuccess10.29test_network.py
test_public_ip_admin_accountSuccess40.39test_network.py
test_network_rules_acquired_public_ip_3_Load_Balancer_RuleSuccess71.77test_network.py
test_network_rules_acquired_public_ip_2_nat_ruleSuccess61.65test_network.py
test_network_rules_acquired_public_ip_1_static_nat_ruleSuccess92.15test_network.py
test_delete_accountSuccess198.56test_network.py
test_02_port_fwd_on_non_src_natSuccess55.82test_network.py
test_01_port_fwd_on_src_natSuccess78.84test_network.py
test_nic_secondaryip_add_removeSuccess158.47test_multipleips_per_nic.py
login_test_saml_userSuccess25.08test_login.py
test_assign_and_removal_lbSuccess148.87test_loadbalance.py
test_02_create_lb_rule_non_natSuccess207.70test_loadbalance.py
test_01_create_lb_rule_src_natSuccess203.26test_loadbalance.py
test_07_list_default_isoSuccess0.06test_iso.py
test_05_iso_permissionsSuccess0.07test_iso.py
test_04_extract_IsoSuccess5.16test_iso.py
test_03_delete_isoSuccess95.16test_iso.py
test_02_edit_isoSuccess0.06test_iso.py
test_01_create_isoSuccess22.08test_iso.py
test_04_rvpc_internallb_haproxy_stats_on_all_interfacesSuccess491.08test_internal_lb.py
test_03_vpc_internallb_haproxy_stats_on_all_interfacesSuccess305.20test_internal_lb.py
test_02_internallb_roundrobin_1RVPC_3VM_HTTP_port80Success879.77test_internal_lb.py
test_01_internallb_roundrobin_1VPC_3VM_HTTP_port80Success643.04test_internal_lb.py
test_dedicateGuestVlanRangeSuccess10.40test_guest_vlan_range.py
test_UpdateConfigParamWithScopeSuccess0.20test_global_settings.py
test_04_create_fat_type_disk_offeringSuccess0.08test_disk_offerings.py
test_03_delete_disk_offeringSuccess0.05test_disk_offerings.py
test_02_edit_disk_offeringSuccess0.06test_disk_offerings.py
test_02_create_sparse_type_disk_offeringSuccess0.08test_disk_offerings.py
test_01_create_disk_offeringSuccess0.12test_disk_offerings.py
test_deployvm_userdispersingSuccess50.87test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userconcentratedSuccess111.56test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_firstfitSuccess176.71test_deploy_vms_with_varied_deploymentplanners.py
test_deployvm_userdata_postSuccess25.62test_deploy_vm_with_userdata.py
test_deployvm_userdataSuccess121.58test_deploy_vm_with_userdata.py
test_02_deploy_vm_root_resizeSuccess6.79test_deploy_vm_root_resize.py
test_01_deploy_vm_root_resizeSuccess6.92test_deploy_vm_root_resize.py
test_00_deploy_vm_root_resizeSuccess6.97test_deploy_vm_root_resize.py
test_deploy_vm_from_isoSuccess163.47test_deploy_vm_iso.py
test_DeployVmAntiAffinityGroupSuccess318.13test_affinity_groups.py
test_01_test_vm_volume_snapshotSkipped0.00test_vm_snapshots.py
test_06_copy_templateSkipped0.00test_templates.py
test_06_copy_isoSkipped0.00test_iso.py
test_deploy_vgpu_enabled_vmSkipped0.01test_deploy_vgpu_enabled_vm.py

@jburwelljburwell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM for code review

@jburwell

Copy link
Copy Markdown
Contributor

@rhtyd @swill@abhinandanprateek@karuturi could you review the test results/perform further testing for a second LGTM? I would like to get this PR into 4.8.2.0/4.9.1.0/4.10.0.0 as it greatly improves the performance of VR configuration.

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

@yadvr

yadvr commented Nov 23, 2016

Copy link
Copy Markdown
Member

LGTM, merging this based on code review and test results. Failures in VPC/RVR are known intermittent issues.

asfgit pushed a commit that referenced this pull request Nov 23, 2016
CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to resolve to 127.0.0.1
The VR executes a ip route flush command as part of configurations. This command performs a
DNS lookup on the VR hostname. Since the VR does not have a DNS entry, the ip command would
wait 5 seconds before timing out and executing the flush operation. This fix adds the VR
hostname to /etc/hosts mapped to 127.0.0.1 to answer the DNS lookup reducing the
execution time.
* pr/1757:
CLOUDSTACK-9583: VR: In CsDhcp.py preseed both hostaname and localhost to resolve to 127.0.0.1
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
@asfgit
asfgit merged commit 4c4696e into apache:4.8Nov 23, 2016

@borisstoyanovborisstoyanov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM, tested the change 127.0.0.1 is added to /etc/hosts.

lucas-a-martins pushed a commit to scclouds/cloudstack that referenced this pull request Jan 29, 2024
…clouds'
Corrigir alocação de VMs com múltiplos _clusters_
Closesapache#1757
See merge request scclouds/scclouds!721
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.

6 participants

@murali-reddy@blueorangutan@jburwell@yadvr@borisstoyanov@asfgit