mitchellh/packer — pull request #1018 by priteau (2014-04-08 18:30:31+00:00)
Title: Properly return error when invalid instance state is found

The OpenStack builder detects when an instance reaches an invalid state and prepares an error message. However the error message is never returned to the calling function. As such, Packer will continue building and try to ssh to an instance that is in ERROR state.