Fix FK violation errors in InstanceActionTestCase
Fix FK violation errors in InstanceActionTestCase

A few tests of InstanceActionTestCase inserts rows,
that have no corresponding values in 'instances' table,
and this causes FK violation errors.

This change fixes InstanceActionTestCase when running
tests on PostgreSQL/MySQL or on SQLite with FKs enabled.

Blueprint: db-api-tests-on-all-backends

Change-Id: I9ec39d5f4c21ba5a627b289164480c694bc1539c

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