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