commit d01b3abdb007eb97ebb563801dee7ae9b458805d
Author: Ryan Hallisey <email address hidden>
Date: Fri Mar 14 15:32:10 2014 -0400
Raise exception when poll returns error state
When running nova boot --poll, any error states that occur will be
seen but, an exit code of 0 will be returned indicating success.
This would be problematic for scripts looking to see if an
operation completed successfully.
To fix this, an exception is raised after the nova api indicates to the
poll code that the vm is in an error state. The exceptions signals the shell
main function to exit with code 1.
Reviewed: https:/ /review. openstack. org/80667 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=d01b3abdb00 7eb97ebb563801d ee7ae9b458805d
Committed: https:/
Submitter: Jenkins
Branch: master
commit d01b3abdb007eb9 7ebb563801dee7a e9b458805d
Author: Ryan Hallisey <email address hidden>
Date: Fri Mar 14 15:32:10 2014 -0400
Raise exception when poll returns error state
When running nova boot --poll, any error states that occur will be
seen but, an exit code of 0 will be returned indicating success.
This would be problematic for scripts looking to see if an
operation completed successfully.
To fix this, an exception is raised after the nova api indicates to the
poll code that the vm is in an error state. The exceptions signals the shell
main function to exit with code 1.
Change-Id: I48f6b1c82e2f8b 221dda898dcb804 b0196018505
Fixes-Bug: #1292669