packer build -var-file=vars.json base.json
testbuild output will be in this color.
==> testbuild: Creating temporary ssh key
==> testbuild: Creating new server: packer-hcloud-1535534241
==> testbuild: Created server 1021785
==> testbuild: Waiting for the server to be running...
==> testbuild: Waiting for the server to be running...
==> testbuild: Waiting for SSH to become available...
==> testbuild: Connected to SSH!
==> testbuild: Provisioning with shell script: /Users/joe/packer.io/allezcom_hcloud/scripts/provision.sh
==> testbuild: Provisioning with shell script: /Users/joe/packer.io/allezcom_hcloud/scripts/mysql-user.sh
==> testbuild: Provisioning with shell script: /Users/joe/packer.io/allezcom_hcloud/scripts/floating-ip.sh
==> testbuild: Provisioning with shell script: /Users/joe/packer.io/allezcom_hcloud/scripts/apt-cleanup.sh
==> testbuild: Uploading /Users/joe/packer.io/allezcom_hcloud/scripts/nginx-vhost.conf => /etc/nginx/sites-available/testfile.conf
==> testbuild: Waiting for server 1021785 to be destroyed...
==> testbuild: Deleting temporary ssh key...
==> testbuild: Got state error: msgpack decode error [pos 125487]: readContainerLen: Unrecognized descriptor byte: hex: c4, decimal: 196
Build 'testbuild' errored: msgpack decode error [pos 125487]: readContainerLen: Unrecognized descriptor byte: hex: c4, decimal: 196
==> Some builds didn't complete successfully and had errors:
--> testbuild: msgpack decode error [pos 125487]: readContainerLen: Unrecognized descriptor byte: hex: c4, decimal: 196
==> Builds finished but no artifacts were created.
I stripped out unnecessary output.
crash.log show nothing with my timestamp. only older builds.
==> testbuild: Provisioning with shell script: /Users/joe/packer.io/allezcom_hcloud/scripts/apt-cleanup.sh
==> testbuild: Pausing before the next provisioner . Press enter to continue.
==> testbuild: Uploading /Users/joe/packer.io/allezcom_hcloud/scripts/nginx-vhost.conf => /etc/nginx/sites-available/testfile.conf
==> testbuild: Pausing before cleanup of step 'StepConnect'. Press enter to continue.
==> testbuild: Pausing before cleanup of step 'stepWaitForServer'. Press enter to continue.
==> testbuild: Pausing before cleanup of step 'stepCreateServer'. Press enter to continue.
==> testbuild: Waiting for server 1021802 to be destroyed...
==> testbuild: Pausing before cleanup of step 'stepCreateSSHKey'. Press enter to continue.
==> testbuild: Deleting temporary ssh key...
==> testbuild: Got state error: msgpack decode error [pos 124959]: readContainerLen: Unrecognized descriptor byte: hex: c4, decimal: 196
Build 'testbuild' errored: msgpack decode error [pos 124959]: readContainerLen: Unrecognized descriptor byte: hex: c4, decimal: 196
So i don't know if it is a hcloud plugin error or packer.io error. I will test it with EC2 later. Actually I'm on the latest versions (packer.io v1.2.5 and packer-builder-hcloud built yesterday).
I stripped out unnecessary output.
crash.log show nothing with my timestamp. only older builds.
My provisioners section in base.json
If i remove this section everything works fine:
With -debug it shows the same
So i don't know if it is a hcloud plugin error or packer.io error. I will test it with EC2 later. Actually I'm on the latest versions (packer.io v1.2.5 and packer-builder-hcloud built yesterday).