Can you open an issue for this. Quickly checking the code it seems that we just should add a .Error() whenever we get an error in OpenStack.
// Rickard On 16 October 2017 at 10:08, Jean-Gert Nesselbosch <[email protected]> wrote: > > hello everybody, > > I'm evaluating Packer (in an openstack-context) for my company > and I really like the tool. I just don't understand why Packer doesn't > output the openstack-api-messages when something goes wrong. > > example : > > the (nova-api-) message > > {"message": "Build of instance 8e5bd927-9e0f-463f-8744-2b16e03e0f90 > aborted: Failed to allocate the network(s) with error No fixed IP addresses > available for network: bf433df0-b7e3-4ad1-849d-4a449b0b7ece, not > rescheduling.", "code": 500, "created": "2017-10-16T07:25:11Z"} > > shows up as > > "Build 'openstack' errored: Error waiting for server > (8e5bd927-9e0f-463f-8744-2b16e03e0f90) to become ready: unexpected state > 'ERROR', wanted target '[ACTIVE]'" > > when trying to run my openstack-builder (even with "PACKER_LOG=1" and > "-debug" activated). > > this behavior is unsufficient, I think. > > I just can't "sell" this tool to my colleagues and my company, when I must > tell them, they have to > run tcpdump (or some other tool) in parallel in case they want to get hold > of debug or error-messages. > > does anybody have an advice for me ? > > thnks in advance ! > > jean-gert > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/packer-tool/0dc4b56c-249d-41e6-98af-3b52dc21cb47%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/0dc4b56c-249d-41e6-98af-3b52dc21cb47%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt-o6VnXm4mcqt--ke62P%3D4r5pBWf1x230L9LVDz%3DPSd3A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
