Comment 2 for bug 1292669

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/80667
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=d01b3abdb007eb97ebb563801dee7ae9b458805d
Submitter: Jenkins
Branch: master

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.

    Change-Id: I48f6b1c82e2f8b221dda898dcb804b0196018505
    Fixes-Bug: #1292669