Fix issues with cells and resize
Fix issues with cells and resize

There are cases where compute API resizez() is called with 'flavor_id'
as a positional argument, so we need to fix up the cells_api version of
resize() to more closely match the super class.

Also: A recent change for storing instance_type info in system_metadata
happened to make an incorrect change, assuming cells_api was for child
cells.. which it's for the API cell.  It needs to pull the instance type
from the DB just like the super class does.

Fixes bug 1154843

Change-Id: Ifdf2a68c3bff6d27d5f192e2eb73f9b79804c2c7

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