Created
November 1, 2016 22:10
-
-
Save jevonearth/af20f0fd048c7aaa503d9017d69c236d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
⚙ jev@tower ~/projects/foo/infrastructure/packer master ● PACKER_LOG=1 packer-io build simple.json |tee log | |
2016/11/01 15:04:07 [INFO] Packer version: 0.11.0 | |
2016/11/01 15:04:07 Packer Target OS/Arch: linux amd64 | |
2016/11/01 15:04:07 Built with Go Version: go1.7.3 | |
2016/11/01 15:04:07 Detected home directory from env var: /home/jev | |
2016/11/01 15:04:07 Using internal plugin for vmware-iso | |
2016/11/01 15:04:07 Using internal plugin for vmware-vmx | |
2016/11/01 15:04:07 Using internal plugin for openstack | |
2016/11/01 15:04:07 Using internal plugin for virtualbox-iso | |
2016/11/01 15:04:07 Using internal plugin for digitalocean | |
2016/11/01 15:04:07 Using internal plugin for null | |
2016/11/01 15:04:07 Using internal plugin for virtualbox-ovf | |
2016/11/01 15:04:07 Using internal plugin for amazon-chroot | |
2016/11/01 15:04:07 Using internal plugin for azure-arm | |
2016/11/01 15:04:07 Using internal plugin for parallels-iso | |
2016/11/01 15:04:07 Using internal plugin for file | |
2016/11/01 15:04:07 Using internal plugin for googlecompute | |
2016/11/01 15:04:07 Using internal plugin for docker | |
2016/11/01 15:04:07 Using internal plugin for parallels-pvm | |
2016/11/01 15:04:07 Using internal plugin for qemu | |
2016/11/01 15:04:07 Using internal plugin for amazon-ebs | |
2016/11/01 15:04:07 Using internal plugin for amazon-instance | |
2016/11/01 15:04:07 Using internal plugin for windows-restart | |
2016/11/01 15:04:07 Using internal plugin for windows-shell | |
2016/11/01 15:04:07 Using internal plugin for ansible | |
2016/11/01 15:04:07 Using internal plugin for chef-client | |
2016/11/01 15:04:07 Using internal plugin for puppet-masterless | |
2016/11/01 15:04:07 Using internal plugin for salt-masterless | |
2016/11/01 15:04:07 Using internal plugin for puppet-server | |
2016/11/01 15:04:07 Using internal plugin for shell | |
2016/11/01 15:04:07 Using internal plugin for shell-local | |
2016/11/01 15:04:07 Using internal plugin for ansible-local | |
2016/11/01 15:04:07 Using internal plugin for chef-solo | |
2016/11/01 15:04:07 Using internal plugin for file | |
2016/11/01 15:04:07 Using internal plugin for powershell | |
2016/11/01 15:04:07 Using internal plugin for checksum | |
2016/11/01 15:04:07 Using internal plugin for shell-local | |
2016/11/01 15:04:07 Using internal plugin for atlas | |
2016/11/01 15:04:07 Using internal plugin for compress | |
2016/11/01 15:04:07 Using internal plugin for docker-save | |
2016/11/01 15:04:07 Using internal plugin for vagrant | |
2016/11/01 15:04:07 Using internal plugin for vagrant-cloud | |
2016/11/01 15:04:07 Using internal plugin for vsphere | |
2016/11/01 15:04:07 Using internal plugin for artifice | |
2016/11/01 15:04:07 Using internal plugin for docker-import | |
2016/11/01 15:04:07 Using internal plugin for docker-push | |
2016/11/01 15:04:07 Using internal plugin for docker-tag | |
2016/11/01 15:04:07 Using internal plugin for manifest | |
2016/11/01 15:04:07 Using internal plugin for amazon-import | |
2016/11/01 15:04:07 Using internal plugin for googlecompute-export | |
2016/11/01 15:04:07 Detected home directory from env var: /home/jev | |
2016/11/01 15:04:07 Attempting to open config file: /home/jev/.packerconfig | |
2016/11/01 15:04:07 [WARN] Config file doesn't exist: /home/jev/.packerconfig | |
2016/11/01 15:04:07 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[parallels-pvm:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm vmware-vmx:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx virtualbox-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso amazon-chroot:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot azure-arm:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm parallels-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso file:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file vmware-iso:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso null:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null virtualbox-ovf:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf googlecompute:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute docker:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker qemu:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu openstack:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack digitalocean:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean amazon-ebs:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-instance:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance] PostProcessors:map[checksum:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vsphere:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere artifice:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice manifest:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest googlecompute-export:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export shell-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-save:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-tag:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag atlas:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud amazon-import:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import] Provisioners:map[shell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local file:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file windows-restart:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart puppet-masterless:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless puppet-server:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server chef-solo:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo powershell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershellwindows-shell:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client shell-local:/usr/bin/packer-io-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]} | |
2016/11/01 15:04:07 Setting cache directory: /home/jev/projects/foo/infrastructure/packer/packer_cache | |
2016/11/01 15:04:07 Detected home directory from env var: /home/jev | |
2016/11/01 15:04:07 Loading builder: googlecompute | |
2016/11/01 15:04:07 Plugin could not be found. Checking same directory as executable. | |
2016/11/01 15:04:07 Current exe path: /usr/bin/packer-io | |
2016/11/01 15:04:07 Creating plugin client for path: /usr/bin/packer-io | |
2016/11/01 15:04:07 Starting plugin: /usr/bin/packer-io []string{"/usr/bin/packer-io", "plugin", "packer-builder-googlecompute"} | |
2016/11/01 15:04:07 Waiting for RPC address for: /usr/bin/packer-io | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [INFO] Packer version: 0.11.0 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Packer Target OS/Arch: linux amd64 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Built with Go Version: go1.7.3 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Detected home directory from env var: /home/jev | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Attempting to open config file: /home/jev/.packerconfig | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [WARN] Config file doesn't exist: /home/jev/.packerconfig | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Setting cache directory: /home/jev/projects/foo/infrastructure/packer/packer_cache | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 args: []string{"packer-builder-googlecompute"} | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Plugin minimum port: 10000 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Plugin maximum port: 25000 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Plugin address: unix /tmp/packer-plugin609340210 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Waiting for connection... | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Detected home directory from env var: /home/jev | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 Serving a plugin connection... | |
2016/11/01 15:04:07 ui: foo-base-gcp-freebsd11 output will be in this color. | |
2016/11/01 15:04:07 ui: foo-base-gcp-freebsd11 output will be in this color. | |
2016/11/01 15:04:07 ui: | |
2016/11/01 15:04:07 Build debug mode: false | |
2016/11/01 15:04:07 Force build: false | |
2016/11/01 15:04:07 On error: | |
2016/11/01 15:04:07 Preparing build: foo-base-gcp-freebsd11 | |
foo-base-gcp-freebsd11 output will be in this color. | |
2016/11/01 15:04:07 Waiting on builds to complete... | |
2016/11/01 15:04:07 Starting build run: foo-base-gcp-freebsd11 | |
2016/11/01 15:04:07 Running builder: googlecompute | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [INFO] Requesting Google token via AccountFile... | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [INFO] -- Email: [email protected] | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [INFO] -- Scopes: [https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.full_control] | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [INFO] -- Private Key Length: 1704 | |
2016/11/01 15:04:07 packer-io: 2016/11/01 15:04:07 [INFO] Instantiating GCE client... | |
2016/11/01 15:04:07 ui: ==> foo-base-gcp-freebsd11: Checking image does not exist... | |
==> foo-base-gcp-freebsd11: Checking image does not exist... | |
2016/11/01 15:04:08 ui: ==> foo-base-gcp-freebsd11: Creating temporary SSH key for instance... | |
==> foo-base-gcp-freebsd11: Creating temporary SSH key for instance... | |
2016/11/01 15:04:08 ui: ==> foo-base-gcp-freebsd11: Creating instance... | |
==> foo-base-gcp-freebsd11: Creating instance... | |
2016/11/01 15:04:08 ui: foo-base-gcp-freebsd11: Loading zone: us-west1-a | |
foo-base-gcp-freebsd11: Loading zone: us-west1-a | |
2016/11/01 15:04:08 ui: foo-base-gcp-freebsd11: Loading machine type: n1-standard-1 | |
foo-base-gcp-freebsd11: Loading machine type: n1-standard-1 | |
2016/11/01 15:04:08 ui: foo-base-gcp-freebsd11: Loading network: default | |
foo-base-gcp-freebsd11: Loading network: default | |
2016/11/01 15:04:08 ui: foo-base-gcp-freebsd11: Requesting instance creation... | |
foo-base-gcp-freebsd11: Requesting instance creation... | |
2016/11/01 15:04:09 ui: foo-base-gcp-freebsd11: Waiting for creation operation to complete... | |
foo-base-gcp-freebsd11: Waiting for creation operation to complete... | |
2016/11/01 15:04:27 ui: foo-base-gcp-freebsd11: Instance has been created! | |
foo-base-gcp-freebsd11: Instance has been created! | |
2016/11/01 15:04:27 ui: ==> foo-base-gcp-freebsd11: Waiting for the instance to become running... | |
==> foo-base-gcp-freebsd11: Waiting for the instance to become running... | |
2016/11/01 15:04:27 ui: foo-base-gcp-freebsd11: IP: 104.198.97.243 | |
foo-base-gcp-freebsd11: IP: 104.198.97.243 | |
2016/11/01 15:04:27 packer-io: 2016/11/01 15:04:27 [INFO] Waiting for SSH, up to timeout: 5m0s | |
2016/11/01 15:04:27 ui: ==> foo-base-gcp-freebsd11: Waiting for SSH to become available... | |
==> foo-base-gcp-freebsd11: Waiting for SSH to become available... | |
==> foo-base-gcp-freebsd11: Waiting for SSH to become available... | |
2016/11/01 15:04:42 packer-io: 2016/11/01 15:04:42 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 104.198.97.243:22: i/o timeout | |
2016/11/01 15:05:02 packer-io: 2016/11/01 15:05:02 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 104.198.97.243:22: i/o timeout | |
2016/11/01 15:05:22 packer-io: 2016/11/01 15:05:22 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 104.198.97.243:22: i/o timeout | |
2016/11/01 15:05:42 packer-io: 2016/11/01 15:05:42 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 104.198.97.243:22: i/o timeout | |
2016/11/01 15:06:02 packer-io: 2016/11/01 15:06:02 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 104.198.97.243:22: i/o timeout | |
2016/11/01 15:06:22 packer-io: 2016/11/01 15:06:22 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 104.198.97.243:22: i/o timeout | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 [INFO] Attempting SSH connection... | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 reconnecting to TCP connection for SSH | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 handshaking with SSH | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 handshake complete! | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 opening new ssh session | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 [ERROR] RequestAgentForwarding: &errors.errorString{s:"forwarding request denied"} | |
2016/11/01 15:06:27 ui: ==> foo-base-gcp-freebsd11: Connected to SSH! | |
2016/11/01 15:06:27 packer-io: 2016/11/01 15:06:27 Running the provision hook | |
==> foo-base-gcp-freebsd11: Connected to SSH! | |
2016/11/01 15:06:27 ui: ==> foo-base-gcp-freebsd11: Waiting for any running startup script to finish... | |
==> foo-base-gcp-freebsd11: Waiting for any running startup script to finish... | |
2016/11/01 15:06:28 ui: ==> foo-base-gcp-freebsd11: Startup script not finished yet. Waiting... | |
==> foo-base-gcp-freebsd11: Startup script not finished yet. Waiting... | |
2016/11/01 15:06:38 ui: ==> foo-base-gcp-freebsd11: Startup script not finished yet. Waiting... | |
==> foo-base-gcp-freebsd11: Startup script not finished yet. Waiting... | |
2016/11/01 15:06:58 ui: ==> foo-base-gcp-freebsd11: Startup script not finished yet. Waiting... | |
==> foo-base-gcp-freebsd11: Startup script not finished yet. Waiting... | |
^C2016/11/01 15:07:11 Closing stdin because interrupt received. | |
2016/11/01 15:07:11 Stopping build: foo-base-gcp-freebsd11 | |
2016/11/01 15:07:11 packer-io: 2016/11/01 15:07:11 Received interrupt signal (count: 1). Ignoring. | |
2016/11/01 15:07:11 packer-io: 2016/11/01 15:07:11 Cancelling the step runner... | |
^C2016/11/01 15:07:32 packer-io: 2016/11/01 15:07:32 Received interrupt signal (count: 2). Ignoring. | |
^C2016/11/01 15:07:34 packer-io: 2016/11/01 15:07:34 Received interrupt signal (count: 3). Ignoring. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment