Update scheduler after instance delete
Update scheduler after instance delete

Previously deleting an instance would update the scheduler resources
fairly quickly. There is now a delay when deleting an instance until the
scheduler makes the resources available again. This appears to be due to
the fact that the delete code path used to call resource tracker to
update the compute_node record but this no longer happens.

Closes-Bug: 1336080
Change-Id: I837b70ce06843ff83481d4985c9c08b74d20cab0

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