Created
March 30, 2017 12:53
-
-
Save bpoland/278bdcd772712ec750fd874b8e844767 to your computer and use it in GitHub Desktop.
Terraform 0.9.2 file provisioner failure
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2017/03/30 08:38:34 [DEBUG] root: eval: *terraform.EvalApplyProvisioners | |
vsphere_virtual_machine.vm: Provisioning with 'file'... | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 connecting to TCP connection for SSH | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 handshaking with SSH | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 opening new ssh session | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 Starting remote scp process: scp -vt /tmp | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 Started SCP session, beginning transfers... | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 Copying input data into temporary file so we can read the length | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 Beginning file upload... | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 SCP session complete, closing stdin pipe. | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 Waiting for SSH session to complete. | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 scp stderr (length 19): Sink: C0644 0 file | |
vsphere_virtual_machine.vm: Provisioning with 'file'... | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 connecting to TCP connection for SSH | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 handshaking with SSH | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 Uploading dir '/home/user/repro/folder' to '/tmp' | |
2017/03/30 08:38:34 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:34 opening new ssh session | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 Starting remote scp process: scp -rvt /tmp | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 Started SCP session, beginning transfers... | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 No trailing slash, creating the source directory name | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 SCP: starting directory upload: folder | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 Copying input data into temporary file so we can read the length | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 Beginning file upload... | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 Beginning file upload... | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 SCP session complete, closing stdin pipe. | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 Waiting for SSH session to complete. | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 non-zero exit status: 1 | |
2017/03/30 08:38:35 [DEBUG] root: eval: *terraform.EvalIf | |
2017/03/30 08:38:35 [DEBUG] root: eval: *terraform.EvalWriteState | |
2017/03/30 08:38:35 [DEBUG] root: eval: *terraform.EvalWriteDiff | |
2017/03/30 08:38:35 [DEBUG] root: eval: *terraform.EvalApplyPost | |
2017/03/30 08:38:35 [ERROR] root: eval: *terraform.EvalApplyPost, err: 1 error(s) occurred: | |
* Upload failed: Process exited with status 1 | |
2017/03/30 08:38:35 [ERROR] root: eval: *terraform.EvalSequence, err: 1 error(s) occurred: | |
* Upload failed: Process exited with status 1 | |
2017/03/30 08:38:35 [TRACE] [walkApply] Exiting eval tree: vsphere_virtual_machine.vm | |
2017/03/30 08:38:35 [DEBUG] dag/walk: upstream errored, not walking "meta.count-boundary (count boundary fixup)" | |
Error applying plan: | |
2017/03/30 08:38:35 [DEBUG] plugin: waiting for all plugin processes to complete... | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: vsphere-provider (internal) 2017/03/30 08:38:35 [DEBUG] plugin: waiting for all plugin processes to complete... | |
2017/03/30 08:38:35 [DEBUG] plugin: terraform: file-provisioner (internal) 2017/03/30 08:38:35 [DEBUG] plugin: waiting for all plugin processes to complete... | |
2017/03/30 08:38:35 [DEBUG] plugin: /usr/local/terraform-0.9.2/terraform: plugin process exited | |
1 error(s) occurred: | |
* vsphere_virtual_machine.vm: 1 error(s) occurred: | |
* Upload failed: Process exited with status 1 | |
Terraform does not automatically rollback in the face of errors. | |
Instead, your Terraform state file has been partially updated with | |
any resources that successfully completed. Please address the error | |
above and apply again to incrementally change your infrastructure. | |
2017/03/30 08:38:35 [DEBUG] plugin: /usr/local/terraform-0.9.2/terraform: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment