Change socket type in nova.utils.get_my_ip() to SOCK_DGRAM. This way, we don't actually have to set up a connection. Also, change the destination host to an IP (chose one of Google's DNS's at random) rather than a hostname, so we avoid doing a DNS lookup.
Change socket type in nova.utils.get_my_ip() to SOCK_DGRAM. This way, we don't actually have to set up a connection.
Also, change the destination host to an IP (chose one of Google's DNS's at random) rather than a hostname, so we avoid doing a DNS lookup.

Juniper/nova,orbitfp7/nova,watonyweng/nova,bigswitch/nova,CiscoSystems/nova,maoy/zknova,rajalokan/nova,fnordahl/nova,phenoxim/nova,mahak/nova,dstroppa/openstack-smartos-nova-grizzly,devoid/nova,akash1808/nova_test_latest,yrobla/nova,CCI-MOC/nova,watonyweng/nova,adelina-t/nova,j-carpentier/nova,silenceli/nova,dims/nova,belmiromoreira/nova,eonpatapon/nova,shahar-stratoscale/nova,spring-week-topos/nova-week,qwefi/nova,JianyuWang/nova,JioCloud/nova,ruslanloman/nova,spring-week-topos/nova-week,noironetworks/nova,cernops/nova,josephsuh/extra-specs,usc-isi/nova,SUSE-Cloud/nova,yrobla/nova,sridevikoushik31/nova,NoBodyCam/TftpPxeBootBareMetal,dims/nova,josephsuh/extra-specs,sridevikoushik31/nova,ntt-sic/nova,ntt-sic/nova,cyx1231st/nova,sileht/deb-openstack-nova,rajalokan/nova,jeffrey4l/nova,jianghuaw/nova,petrutlucian94/nova_dev,termie/nova-migration-demo,tudorvio/nova,TieWei/nova,salv-orlando/MyRepo,cloudbau/nova,Juniper/nova,Triv90/Nova,rahulunair/nova,scripnichenko/nova,Yuriy-Leonov/nova,tealover/nova,maoy/zknova,NoBodyCam/TftpPxeBootBareMetal,blueboxgroup/nova,mikalstill/nova,gspilio/nova,mgagne/nova,projectcalico/calico-nova,LoHChina/nova,bgxavier/nova,maelnor/nova,badock/nova,klmitch/nova,usc-isi/nova,kimjaejoong/nova,Francis-Liu/animated-broccoli,maelnor/nova,DirectXMan12/nova-hacking,superstack/nova,cloudbase/nova-virtualbox,whitepages/nova,berrange/nova,houshengbo/nova_vmware_compute_driver,hanlind/nova,termie/pupa,barnsnake351/nova,rrader/nova-docker-plugin,aristanetworks/arista-ovs-nova,vmturbo/nova,vladikr/nova_drafts,cloudbase/nova,tangfeixiong/nova,KarimAllah/nova,bigswitch/nova,isyippee/nova,russellb/nova,usc-isi/extra-specs,leilihh/nova,psiwczak/openstack,shail2810/nova,alvarolopez/nova,alexandrucoman/vbox-nova-driver,jianghuaw/nova,usc-isi/extra-specs,TwinkleChawla/nova,jianghuaw/nova,nikesh-mahalka/nova,devoid/nova,Brocade-OpenSource/OpenStack-DNRM-Nova,paulmathews/nova,cloudbase/nova-virtualbox,eayunstack/nova,Francis-Liu/animated-broccoli,felixma/nova,anotherjesse/nova,takeshineshiro/nova,Metaswitch/calico-nova,shahar-stratoscale/nova,nikesh-mahalka/nova,redhat-openstack/nova,sileht/deb-openstack-nova,zhimin711/nova,whitepages/nova,shootstar/novatest,superstack/nova,gooddata/openstack-nova,openstack/nova,paulmathews/nova,joker946/nova,affo/nova,saleemjaveds/https-github.com-openstack-nova,berrange/nova,gooddata/openstack-nova,mahak/nova,rajalokan/nova,CiscoSystems/nova,dawnpower/nova,DirectXMan12/nova-hacking,klmitch/nova,mahak/nova,ted-gould/nova,rajalokan/nova,zaina/nova,j-carpentier/nova,iuliat/nova,anotherjesse/nova,thomasem/nova,saleemjaveds/https-github.com-openstack-nova,viggates/nova,usc-isi/nova,MountainWei/nova,bgxavier/nova,sridevikoushik31/openstack,Brocade-OpenSource/OpenStack-DNRM-Nova,qwefi/nova,fajoy/nova,houshengbo/nova_vmware_compute_driver,sridevikoushik31/openstack,rahulunair/nova,ruslanloman/nova,Triv90/Nova,rickerc/nova_audit,scripnichenko/nova,petrutlucian94/nova,mandeepdhami/nova,vladikr/nova_drafts,ewindisch/nova,viggates/nova,takeshineshiro/nova,dstroppa/openstack-smartos-nova-grizzly,devendermishrajio/nova_test_latest,savi-dev/nova,rrader/nova-docker-plugin,citrix-openstack-build/nova,projectcalico/calico-nova,savi-dev/nova,cloudbase/nova,isyippee/nova,TieWei/nova,tanglei528/nova,klmitch/nova,hanlind/nova,CloudServer/nova,rahulunair/nova,cloudbau/nova,termie/pupa,vmturbo/nova,mmnelemane/nova,OpenAcademy-OpenStack/nova-scheduler,imsplitbit/nova,shootstar/novatest,CEG-FYP-OpenStack/scheduler,petrutlucian94/nova,felixma/nova,akash1808/nova_test_latest,edulramirez/nova,sridevikoushik31/nova,leilihh/nova,hanlind/nova,cyx1231st/nova,anotherjesse/nova,devendermishrajio/nova,virtualopensystems/nova,Yuriy-Leonov/nova,maoy/zknova,maheshp/novatest,eneabio/nova,Tehsmash/nova,yrobla/nova,sacharya/nova,gspilio/nova,Triv90/Nova,JioCloud/nova_test_latest,CloudServer/nova,yatinkumbhare/openstack-nova,raildo/nova,zaina/nova,cernops/nova,fajoy/nova,Tehsmash/nova,ted-gould/nova,klmitch/nova,sileht/deb-openstack-nova,DirectXMan12/nova-hacking,petrutlucian94/nova_dev,tangfeixiong/nova,varunarya10/nova_test_latest,akash1808/nova,redhat-openstack/nova,BeyondTheClouds/nova,sacharya/nova,citrix-openstack-build/nova,belmiromoreira/nova,raildo/nova,aristanetworks/arista-ovs-nova,NewpTone/stacklab-nova,virtualopensystems/nova,mgagne/nova,eonpatapon/nova,josephsuh/extra-specs,mikalstill/nova,CEG-FYP-OpenStack/scheduler,angdraug/nova,alaski/nova,akash1808/nova,termie/pupa,termie/nova-migration-demo,shail2810/nova,cernops/nova,sebrandon1/nova,noironetworks/nova,SUSE-Cloud/nova,JioCloud/nova,Stavitsky/nova,jianghuaw/nova,tianweizhang/nova,alaski/nova,houshengbo/nova_vmware_compute_driver,plumgrid/plumgrid-nova,KarimAllah/nova,cloudbase/nova,phenoxim/nova,sebrandon1/nova,dstroppa/openstack-smartos-nova-grizzly,tianweizhang/nova,tealover/nova,sebrandon1/nova,savi-dev/nova,badock/nova,apporc/nova,Juniper/nova,silenceli/nova,plumgrid/plumgrid-nova,alvarolopez/nova,tudorvio/nova,gspilio/nova,salv-orlando/MyRepo,Yusuke1987/openstack_template,luogangyi/bcec-nova,eneabio/nova,openstack/nova,mikalstill/nova,leilihh/novaha,JioCloud/nova_test_latest,russellb/nova,bclau/nova,gooddata/openstack-nova,vmturbo/nova,maheshp/novatest,joker946/nova,double12gzh/nova,eharney/nova,sridevikoushik31/nova,TwinkleChawla/nova,affo/nova,Metaswitch/calico-nova,BeyondTheClouds/nova,angdraug/nova,zhimin711/nova,rickerc/nova_audit,devendermishrajio/nova_test_latest,yosshy/nova,russellb/nova,thomasem/nova,yatinkumbhare/openstack-nova,NewpTone/stacklab-nova,blueboxgroup/nova,NeCTAR-RC/nova,iuliat/nova,alexandrucoman/vbox-nova-driver,KarimAllah/nova,mmnelemane/nova,mandeepdhami/nova,eayunstack/nova,double12gzh/nova,salv-orlando/MyRepo,apporc/nova,termie/nova-migration-demo,tanglei528/nova,dawnpower/nova,psiwczak/openstack,zzicewind/nova,kimjaejoong/nova,sridevikoushik31/openstack,Stavitsky/nova,varunarya10/nova_test_latest,paulmathews/nova,devendermishrajio/nova,LoHChina/nova,BeyondTheClouds/nova,fnordahl/nova,adelina-t/nova,NewpTone/stacklab-nova,barnsnake351/nova,eharney/nova,Yusuke1987/openstack_template,ewindisch/nova,usc-isi/extra-specs,imsplitbit/nova,NoBodyCam/TftpPxeBootBareMetal,JianyuWang/nova,psiwczak/openstack,Juniper/nova,leilihh/novaha,superstack/nova,CCI-MOC/nova,zzicewind/nova,gooddata/openstack-nova,vmturbo/nova,maheshp/novatest,MountainWei/nova,yosshy/nova,eneabio/nova,NeCTAR-RC/nova,orbitfp7/nova,jeffrey4l/nova,aristanetworks/arista-ovs-nova,openstack/nova,luogangyi/bcec-nova,edulramirez/nova,bclau/nova,OpenAcademy-OpenStack/nova-scheduler,fajoy/nova