Deal with old versions of libguestfs
Deal with old versions of libguestfs

Commit 02abbef960b12deaa7a911788dbc56f3a0bd555a added the use of the
close_on_exit parameter.  This is supported by libguestfs 1.20 and up.
Catch the exeption raised when this parameter isn't supported and retry
without it.

Change-Id: Ic47c1cb997ece3710f8c4465733148fcfa94068d
Closes-Bug: #1271562
Related-Bug: #1261475

jeffrey4l/nova,Juniper/nova,yatinkumbhare/openstack-nova,joker946/nova,edulramirez/nova,phenoxim/nova,mahak/nova,edulramirez/nova,akash1808/nova,cloudbase/nova,JioCloud/nova,alexandrucoman/vbox-nova-driver,mikalstill/nova,dims/nova,akash1808/nova,mgagne/nova,virtualopensystems/nova,akash1808/nova_test_latest,mgagne/nova,CEG-FYP-OpenStack/scheduler,thomasem/nova,openstack/nova,tianweizhang/nova,nikesh-mahalka/nova,tangfeixiong/nova,hanlind/nova,cernops/nova,blueboxgroup/nova,openstack/nova,projectcalico/calico-nova,vmturbo/nova,scripnichenko/nova,JioCloud/nova_test_latest,takeshineshiro/nova,tianweizhang/nova,projectcalico/calico-nova,badock/nova,jianghuaw/nova,CEG-FYP-OpenStack/scheduler,leilihh/novaha,takeshineshiro/nova,tudorvio/nova,kimjaejoong/nova,cloudbase/nova-virtualbox,bgxavier/nova,LoHChina/nova,devoid/nova,JioCloud/nova_test_latest,zaina/nova,Juniper/nova,luogangyi/bcec-nova,LoHChina/nova,blueboxgroup/nova,mahak/nova,angdraug/nova,redhat-openstack/nova,tanglei528/nova,klmitch/nova,rajalokan/nova,zhimin711/nova,sebrandon1/nova,BeyondTheClouds/nova,CloudServer/nova,noironetworks/nova,petrutlucian94/nova_dev,cloudbase/nova,klmitch/nova,Metaswitch/calico-nova,felixma/nova,adelina-t/nova,alvarolopez/nova,ruslanloman/nova,petrutlucian94/nova,leilihh/nova,CiscoSystems/nova,whitepages/nova,nikesh-mahalka/nova,Juniper/nova,affo/nova,viggates/nova,leilihh/novaha,kimjaejoong/nova,rahulunair/nova,barnsnake351/nova,devendermishrajio/nova,JioCloud/nova,watonyweng/nova,MountainWei/nova,bigswitch/nova,petrutlucian94/nova_dev,angdraug/nova,CloudServer/nova,cernops/nova,isyippee/nova,mandeepdhami/nova,fnordahl/nova,jianghuaw/nova,raildo/nova,raildo/nova,cyx1231st/nova,badock/nova,noironetworks/nova,double12gzh/nova,Yusuke1987/openstack_template,cloudbase/nova-virtualbox,Stavitsky/nova,dawnpower/nova,NeCTAR-RC/nova,BeyondTheClouds/nova,rajalokan/nova,vmturbo/nova,JianyuWang/nova,JianyuWang/nova,whitepages/nova,j-carpentier/nova,Tehsmash/nova,devendermishrajio/nova,CCI-MOC/nova,klmitch/nova,mandeepdhami/nova,varunarya10/nova_test_latest,devendermishrajio/nova_test_latest,j-carpentier/nova,thomasem/nova,ted-gould/nova,rahulunair/nova,rahulunair/nova,Francis-Liu/animated-broccoli,Yusuke1987/openstack_template,saleemjaveds/https-github.com-openstack-nova,spring-week-topos/nova-week,Francis-Liu/animated-broccoli,tealover/nova,vladikr/nova_drafts,rajalokan/nova,jianghuaw/nova,eayunstack/nova,maelnor/nova,alvarolopez/nova,orbitfp7/nova,leilihh/nova,cernops/nova,berrange/nova,gooddata/openstack-nova,iuliat/nova,silenceli/nova,akash1808/nova_test_latest,hanlind/nova,shahar-stratoscale/nova,MountainWei/nova,eonpatapon/nova,shail2810/nova,mikalstill/nova,viggates/nova,gooddata/openstack-nova,dims/nova,maelnor/nova,alaski/nova,CCI-MOC/nova,joker946/nova,luogangyi/bcec-nova,silenceli/nova,ted-gould/nova,Juniper/nova,varunarya10/nova_test_latest,zhimin711/nova,spring-week-topos/nova-week,cyx1231st/nova,tudorvio/nova,redhat-openstack/nova,mahak/nova,devendermishrajio/nova_test_latest,petrutlucian94/nova,eharney/nova,devoid/nova,rrader/nova-docker-plugin,yatinkumbhare/openstack-nova,belmiromoreira/nova,yosshy/nova,shail2810/nova,jeffrey4l/nova,jianghuaw/nova,sebrandon1/nova,alaski/nova,openstack/nova,tealover/nova,eonpatapon/nova,bgxavier/nova,gooddata/openstack-nova,vmturbo/nova,klmitch/nova,sebrandon1/nova,rrader/nova-docker-plugin,mmnelemane/nova,zzicewind/nova,vmturbo/nova,iuliat/nova,belmiromoreira/nova,eharney/nova,hanlind/nova,TwinkleChawla/nova,OpenAcademy-OpenStack/nova-scheduler,fnordahl/nova,yosshy/nova,affo/nova,vladikr/nova_drafts,tangfeixiong/nova,Tehsmash/nova,TwinkleChawla/nova,orbitfp7/nova,phenoxim/nova,apporc/nova,virtualopensystems/nova,berrange/nova,felixma/nova,Stavitsky/nova,mikalstill/nova,isyippee/nova,cloudbase/nova,CiscoSystems/nova,gooddata/openstack-nova,watonyweng/nova,adelina-t/nova,dawnpower/nova,barnsnake351/nova,zaina/nova,saleemjaveds/https-github.com-openstack-nova,NeCTAR-RC/nova,apporc/nova,zzicewind/nova,double12gzh/nova,bigswitch/nova,ewindisch/nova,eayunstack/nova,Metaswitch/calico-nova,tanglei528/nova,ewindisch/nova,alexandrucoman/vbox-nova-driver,BeyondTheClouds/nova,rajalokan/nova,ruslanloman/nova,scripnichenko/nova,mmnelemane/nova,shahar-stratoscale/nova,OpenAcademy-OpenStack/nova-scheduler