Make resize raise exception when no valid host found
When resize operation starts, it will ask conductor to find a
valid host and try to resize to that host. When there is no valid
host can be found ,current code return directly without error
notification, which will make upper layer code (e.g novaclient)
thinks the execution is succesfully performed and report 'Finished'.
But actually it isn't due to no valid host was found.
Reviewed: https:/ /review. openstack. org/83423 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d62fb490b10 d9372bd52189d4c 688a7c1b495d8b
Committed: https:/
Submitter: Jenkins
Branch: master
commit d62fb490b10d937 2bd52189d4c688a 7c1b495d8b
Author: jichenjc <email address hidden>
Date: Tue Mar 25 14:47:39 2014 +0800
Make resize raise exception when no valid host found
When resize operation starts, it will ask conductor to find a
valid host and try to resize to that host. When there is no valid
host can be found ,current code return directly without error
notification, which will make upper layer code (e.g novaclient)
thinks the execution is succesfully performed and report 'Finished'.
But actually it isn't due to no valid host was found.
Change-Id: I3d66dbfc0a7346 762b920e802aa3b e92c43d93b7
Closes-Bug: #1297052