insufficient Packer debug-messages

64 views
Skip to first unread message

Jean-Gert Nesselbosch

unread,
Oct 16, 2017, 4:08:44 AM10/16/17
to Packer

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

Rickard von Essen

unread,
Oct 16, 2017, 8:14:51 AM10/16/17
to packe...@googlegroups.com
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

--
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 packer-tool+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/0dc4b56c-249d-41e6-98af-3b52dc21cb47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Jean-Gert Nesselbosch

unread,
Oct 16, 2017, 8:42:28 AM10/16/17
to Packer

Done.


the issue is : "Feature-Request: Show verbose Openstack-API-messages #5466"



thanks for your help !
To unsubscribe from this group and stop receiving emails from it, send an email to packer-tool...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages