Skip to content

Instantly share code, notes, and snippets.

@lhriley
Created November 2, 2017 19:05
Show Gist options
  • Select an option

  • Save lhriley/42707f09bc7cad760d3d0ab09915ace0 to your computer and use it in GitHub Desktop.

Select an option

Save lhriley/42707f09bc7cad760d3d0ab09915ace0 to your computer and use it in GitHub Desktop.
Debug log for packer fail with utils.sh file.
2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 Using internal plugin for parallels-pvm
2017/11/02 11:15:19 Using internal plugin for azure-arm
2017/11/02 11:15:19 Using internal plugin for parallels-iso
2017/11/02 11:15:19 Using internal plugin for digitalocean
2017/11/02 11:15:19 Using internal plugin for oracle-oci
2017/11/02 11:15:19 Using internal plugin for amazon-ebs
2017/11/02 11:15:19 Using internal plugin for amazon-instance
2017/11/02 11:15:19 Using internal plugin for docker
2017/11/02 11:15:19 Using internal plugin for virtualbox-iso
2017/11/02 11:15:19 Using internal plugin for vmware-vmx
2017/11/02 11:15:19 Using internal plugin for alicloud-ecs
2017/11/02 11:15:19 Using internal plugin for amazon-ebssurrogate
2017/11/02 11:15:19 Using internal plugin for profitbricks
2017/11/02 11:15:19 Using internal plugin for amazon-chroot
2017/11/02 11:15:19 Using internal plugin for googlecompute
2017/11/02 11:15:19 Using internal plugin for file
2017/11/02 11:15:19 Using internal plugin for qemu
2017/11/02 11:15:19 Using internal plugin for amazon-ebsvolume
2017/11/02 11:15:19 Using internal plugin for cloudstack
2017/11/02 11:15:19 Using internal plugin for hyperv-iso
2017/11/02 11:15:19 Using internal plugin for virtualbox-ovf
2017/11/02 11:15:19 Using internal plugin for oneandone
2017/11/02 11:15:19 Using internal plugin for openstack
2017/11/02 11:15:19 Using internal plugin for lxc
2017/11/02 11:15:19 Using internal plugin for null
2017/11/02 11:15:19 Using internal plugin for triton
2017/11/02 11:15:19 Using internal plugin for vmware-iso
2017/11/02 11:15:19 Using internal plugin for hyperv-vmcx
2017/11/02 11:15:19 Using internal plugin for lxd
2017/11/02 11:15:19 Using internal plugin for windows-shell
2017/11/02 11:15:19 Using internal plugin for ansible
2017/11/02 11:15:19 Using internal plugin for shell
2017/11/02 11:15:19 Using internal plugin for shell-local
2017/11/02 11:15:19 Using internal plugin for windows-restart
2017/11/02 11:15:19 Using internal plugin for converge
2017/11/02 11:15:19 Using internal plugin for file
2017/11/02 11:15:19 Using internal plugin for salt-masterless
2017/11/02 11:15:19 Using internal plugin for chef-client
2017/11/02 11:15:19 Using internal plugin for puppet-masterless
2017/11/02 11:15:19 Using internal plugin for puppet-server
2017/11/02 11:15:19 Using internal plugin for ansible-local
2017/11/02 11:15:19 Using internal plugin for chef-solo
2017/11/02 11:15:19 Using internal plugin for powershell
2017/11/02 11:15:19 Using internal plugin for amazon-import
2017/11/02 11:15:19 Using internal plugin for compress
2017/11/02 11:15:19 Using internal plugin for docker-push
2017/11/02 11:15:19 Using internal plugin for docker-save
2017/11/02 11:15:19 Using internal plugin for googlecompute-export
2017/11/02 11:15:19 Using internal plugin for artifice
2017/11/02 11:15:19 Using internal plugin for atlas
2017/11/02 11:15:19 Using internal plugin for checksum
2017/11/02 11:15:19 Using internal plugin for vagrant
2017/11/02 11:15:19 Using internal plugin for vsphere
2017/11/02 11:15:19 Using internal plugin for vsphere-template
2017/11/02 11:15:19 Using internal plugin for shell-local
2017/11/02 11:15:19 Using internal plugin for alicloud-import
2017/11/02 11:15:19 Using internal plugin for docker-import
2017/11/02 11:15:19 Using internal plugin for docker-tag
2017/11/02 11:15:19 Using internal plugin for manifest
2017/11/02 11:15:19 Using internal plugin for vagrant-cloud
2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-ebsvolume:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume virtualbox-ovf:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf openstack:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack triton:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton parallels-iso:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso vmware-vmx:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-ebssurrogate:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate qemu:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-instance:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance docker:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker cloudstack:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack hyperv-vmcx:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx hyperv-iso:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso azure-arm:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm googlecompute:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute vmware-iso:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso lxd:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd digitalocean:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso lxc:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc null:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oracle-oci:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci profitbricks:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks oneandone:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone parallels-pvm:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm amazon-ebs:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-chroot:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot file:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file] PostProcessors:map[vagrant-cloud:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-import:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import checksum:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-push:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push artifice:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template shell-local:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local alicloud-import:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import docker-tag:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag amazon-import:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress googlecompute-export:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export manifest:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest] Provisioners:map[windows-shell:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell file:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-server:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server powershell:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell windows-restart:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart salt-masterless:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless puppet-masterless:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible-local:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo ansible:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local converge:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge chef-client:/usr/bin/packer_v1.1.1-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 Loading builder: amazon-ebs
2017/11/02 11:15:19 Plugin could not be found. Checking same directory as executable.
2017/11/02 11:15:19 Current exe path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Creating plugin client for path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Starting plugin: /usr/bin/packer_v1.1.1 []string{"/usr/bin/packer_v1.1.1", "plugin", "packer-builder-amazon-ebs"}
2017/11/02 11:15:19 Waiting for RPC address for: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 args: []string{"packer-builder-amazon-ebs"}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin minimum port: 10000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin maximum port: 25000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin address: unix /tmp/packer-plugin084001462
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Waiting for connection...
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Serving a plugin connection...
2017/11/02 11:15:19 Loading provisioner: shell
2017/11/02 11:15:19 Plugin could not be found. Checking same directory as executable.
2017/11/02 11:15:19 Current exe path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Creating plugin client for path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Starting plugin: /usr/bin/packer_v1.1.1 []string{"/usr/bin/packer_v1.1.1", "plugin", "packer-provisioner-shell"}
2017/11/02 11:15:19 Waiting for RPC address for: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 args: []string{"packer-provisioner-shell"}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin minimum port: 10000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin maximum port: 25000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin address: unix /tmp/packer-plugin625006647
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Waiting for connection...
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Serving a plugin connection...
2017/11/02 11:15:19 Loading provisioner: file
2017/11/02 11:15:19 Plugin could not be found. Checking same directory as executable.
2017/11/02 11:15:19 Current exe path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Creating plugin client for path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Starting plugin: /usr/bin/packer_v1.1.1 []string{"/usr/bin/packer_v1.1.1", "plugin", "packer-provisioner-file"}
2017/11/02 11:15:19 Waiting for RPC address for: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 args: []string{"packer-provisioner-file"}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin minimum port: 10000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin maximum port: 25000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin address: unix /tmp/packer-plugin138848658
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Waiting for connection...
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Serving a plugin connection...
2017/11/02 11:15:19 Loading provisioner: file
2017/11/02 11:15:19 Plugin could not be found. Checking same directory as executable.
2017/11/02 11:15:19 Current exe path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Creating plugin client for path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Starting plugin: /usr/bin/packer_v1.1.1 []string{"/usr/bin/packer_v1.1.1", "plugin", "packer-provisioner-file"}
2017/11/02 11:15:19 Waiting for RPC address for: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 args: []string{"packer-provisioner-file"}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin minimum port: 10000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin maximum port: 25000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin address: unix /tmp/packer-plugin184460464
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Waiting for connection...
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Serving a plugin connection...
2017/11/02 11:15:19 Loading provisioner: file
2017/11/02 11:15:19 Plugin could not be found. Checking same directory as executable.
2017/11/02 11:15:19 Current exe path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Creating plugin client for path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Starting plugin: /usr/bin/packer_v1.1.1 []string{"/usr/bin/packer_v1.1.1", "plugin", "packer-provisioner-file"}
2017/11/02 11:15:19 Waiting for RPC address for: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 args: []string{"packer-provisioner-file"}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin minimum port: 10000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin maximum port: 25000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin address: unix /tmp/packer-plugin230622737
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Waiting for connection...
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Serving a plugin connection...
2017/11/02 11:15:19 Loading provisioner: shell
2017/11/02 11:15:19 Plugin could not be found. Checking same directory as executable.
2017/11/02 11:15:19 Current exe path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Creating plugin client for path: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 Starting plugin: /usr/bin/packer_v1.1.1 []string{"/usr/bin/packer_v1.1.1", "plugin", "packer-provisioner-shell"}
2017/11/02 11:15:19 Waiting for RPC address for: /usr/bin/packer_v1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [INFO] Packer version: 1.1.1
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer Target OS/Arch: linux amd64
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Built with Go Version: go1.9
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Attempting to open config file: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 [WARN] Config file doesn't exist: /home/user/.packerconfig
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Setting cache directory: /path/to/packer_cache
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 args: []string{"packer-provisioner-shell"}
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin minimum port: 10000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin maximum port: 25000
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Detected home directory from env var: /home/user
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Plugin address: unix /tmp/packer-plugin238902569
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Waiting for connection...
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Serving a plugin connection...
2017/11/02 11:15:19 ui: bastion output will be in this color.
2017/11/02 11:15:19 ui:
2017/11/02 11:15:19 Build debug mode: false
2017/11/02 11:15:19 Force build: false
2017/11/02 11:15:19 On error:
2017/11/02 11:15:19 Preparing build: bastion
bastion output will be in this color.
2017/11/02 11:15:19 packer_v1.1.1: 2017/11/02 11:15:19 Config: {PackerConfig:{PackerBuildName:bastion PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[environment:test profile:sandbox aws_region_primary:us-east-1 company:test version:0.2.3 aws_accounts:000000000000 log_volume_size:300 aws_ami_name:amzn-ami-hvm-2017.09.0.20170930-x86_64-gp2 aws_region_secondary:us-east-1 consul_version:0.8.5 aws_ecs_ami_name:amzn-ami-2017.03.g-amazon-ecs-optimized packer_version:1.1.1]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName:sandbox RawRegion:us-east-1 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:packer-bastion-1509646519 AMIDescription: AMIVirtType: AMIUsers:[000000000000] AMIGroups:[] AMIProductCodes:[] AMIRegions:[us-east-1] AMISkipRegionValidation:false AMITags:map[release:{{user `environment`}} version:{{user `version`}} Name:{{isotime "20060102-150405"}}] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[{DeleteOnTermination:true DeviceName:/dev/xvdl Encrypted:false IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType:standard VolumeSize:300}]} LaunchBlockDevices:{LaunchMappings:[{DeleteOnTermination:true DeviceName:/dev/xvdl Encrypted:false IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType:standard VolumeSize:300}]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc42015c840:0xc42015c8e0 0xc42015c930:0xc42015c970 0xc42015c990:0xc42015c9f0] Owners:[] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId: TemporaryKeyPairName:packer_59fb60b7-cd58-d42e-c32d-ff039eeed0ba UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0xc5a9a0] UserVariables:map[log_volume_size:300 version:0.2.3 aws_accounts:000000000000 consul_version:0.8.5 aws_ami_name:amzn-ami-hvm-2017.09.0.20170930-x86_64-gp2 company:test aws_ecs_ami_name:amzn-ami-2017.03.g-amazon-ecs-optimized environment:test profile:sandbox aws_region_secondary:us-east-1 aws_region_primary:us-east-1 packer_version:1.1.1] EnableEnv:false BuildName:bastion BuildType:amazon-ebs TemplatePath:/path/to/bastion.json}}
2017/11/02 11:15:19 Waiting on builds to complete...
2017/11/02 11:15:19 Starting build run: bastion
2017/11/02 11:15:19 Running builder: amazon-ebs
2017/11/02 11:15:19 [INFO] (telemetry) Starting builder amazon-ebs
2017/11/02 11:15:19 ui: ==> bastion: Prevalidating AMI Name: packer-bastion-1509646519
==> bastion: Prevalidating AMI Name: packer-bastion-1509646519
2017/11/02 11:15:21 packer_v1.1.1: 2017/11/02 11:15:21 Using AMI Filters {
2017/11/02 11:15:21 packer_v1.1.1: Filters: [{
2017/11/02 11:15:21 packer_v1.1.1: Name: "name",
2017/11/02 11:15:21 packer_v1.1.1: Values: ["amzn-ami-hvm-2017.09.0.20170930-x86_64-gp2"]
2017/11/02 11:15:21 packer_v1.1.1: },{
2017/11/02 11:15:21 packer_v1.1.1: Name: "owner-alias",
2017/11/02 11:15:21 packer_v1.1.1: Values: ["amazon"]
2017/11/02 11:15:21 packer_v1.1.1: },{
2017/11/02 11:15:21 packer_v1.1.1: Name: "root-device-type",
2017/11/02 11:15:21 packer_v1.1.1: Values: ["ebs"]
2017/11/02 11:15:21 packer_v1.1.1: }]
2017/11/02 11:15:21 packer_v1.1.1: }
2017/11/02 11:15:22 ui: bastion: Found Image ID: ami-8c1be5f6
bastion: Found Image ID: ami-8c1be5f6
2017/11/02 11:15:22 ui: ==> bastion: Creating temporary keypair: packer_59fb60b7-cd58-d42e-c32d-ff039eeed0ba
==> bastion: Creating temporary keypair: packer_59fb60b7-cd58-d42e-c32d-ff039eeed0ba
2017/11/02 11:15:22 ui: ==> bastion: Creating temporary security group for this instance: packer_59fb60ba-2f2b-f0a5-c7b6-dcfc7fb57d36
==> bastion: Creating temporary security group for this instance: packer_59fb60ba-2f2b-f0a5-c7b6-dcfc7fb57d36
2017/11/02 11:15:23 ui: ==> bastion: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
==> bastion: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
2017/11/02 11:15:23 packer_v1.1.1: 2017/11/02 11:15:23 [DEBUG] Waiting for temporary security group: sg-f40c3986
2017/11/02 11:15:23 packer_v1.1.1: 2017/11/02 11:15:23 [DEBUG] Found security group sg-f40c3986
2017/11/02 11:15:23 ui: ==> bastion: Launching a source AWS instance...
==> bastion: Launching a source AWS instance...
2017/11/02 11:15:23 ui: ==> bastion: Adding tags to source instance
==> bastion: Adding tags to source instance
2017/11/02 11:15:23 ui: bastion: Adding tag: "Name": "Packer Builder"
bastion: Adding tag: "Name": "Packer Builder"
2017/11/02 11:15:24 ui: bastion: Instance ID: i-091fe35c882835192
bastion: Instance ID: i-091fe35c882835192
2017/11/02 11:15:24 ui: ==> bastion: Waiting for instance (i-091fe35c882835192) to become ready...
2017/11/02 11:15:24 packer_v1.1.1: 2017/11/02 11:15:24 Waiting for state to become: running
2017/11/02 11:15:24 packer_v1.1.1: 2017/11/02 11:15:24 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
==> bastion: Waiting for instance (i-091fe35c882835192) to become ready...
2017/11/02 11:15:24 packer_v1.1.1: 2017/11/02 11:15:24 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2017/11/02 11:15:46 packer_v1.1.1: 2017/11/02 11:15:46 [INFO] Not using winrm communicator, skipping get password...
2017/11/02 11:15:46 packer_v1.1.1: 2017/11/02 11:15:46 [INFO] Waiting for SSH, up to timeout: 5m0s
2017/11/02 11:15:46 ui: ==> bastion: Waiting for SSH to become available...
==> bastion: Waiting for SSH to become available...
2017/11/02 11:15:49 packer_v1.1.1: 2017/11/02 11:15:49 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.84.91.149:22: getsockopt: connection refused
2017/11/02 11:15:54 packer_v1.1.1: 2017/11/02 11:15:54 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.84.91.149:22: getsockopt: connection refused
2017/11/02 11:15:59 packer_v1.1.1: 2017/11/02 11:15:59 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.84.91.149:22: getsockopt: connection refused
2017/11/02 11:16:04 packer_v1.1.1: 2017/11/02 11:16:04 [INFO] Attempting SSH connection...
2017/11/02 11:16:04 packer_v1.1.1: 2017/11/02 11:16:04 reconnecting to TCP connection for SSH
2017/11/02 11:16:04 packer_v1.1.1: 2017/11/02 11:16:04 handshaking with SSH
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 handshake complete!
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 opening new ssh session
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 [INFO] agent forwarding enabled
2017/11/02 11:16:05 ui: ==> bastion: Connected to SSH!
==> bastion: Connected to SSH!
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 Running the provision hook
2017/11/02 11:16:05 [INFO] (telemetry) Starting provisioner shell
2017/11/02 11:16:05 ui: ==> bastion: Provisioning with shell script: /tmp/packer-shell339662890
==> bastion: Provisioning with shell script: /tmp/packer-shell339662890
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 Opening /tmp/packer-shell339662890 for reading
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 [INFO] 85 bytes written for 'uploadData'
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 opening new ssh session
2017/11/02 11:16:05 [INFO] 85 bytes written for 'uploadData'
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 Starting remote scp process: scp -vt /tmp
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 Started SCP session, beginning transfers...
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 Copying input data into temporary file so we can read the length
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 [DEBUG] scp: Uploading script_5199.sh: perms=C0644 size=85
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 SCP session complete, closing stdin pipe.
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 Waiting for SSH session to complete.
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 scp stderr (length 30): Sink: C0644 85 script_5199.sh
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 opening new ssh session
2017/11/02 11:16:05 packer_v1.1.1: 2017/11/02 11:16:05 starting remote command: chmod 0755 /tmp/script_5199.sh
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 opening new ssh session
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 starting remote command: chmod +x /tmp/script_5199.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='bastion' /tmp/script_5199.sh
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] 0 bytes written for 'stdout'
2017/11/02 11:16:06 [INFO] 0 bytes written for 'stderr'
2017/11/02 11:16:06 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] 0 bytes written for 'stderr'
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] 0 bytes written for 'stdout'
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 opening new ssh session
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 starting remote command: rm -f /tmp/script_5199.sh
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:06 [INFO] (telemetry) ending shell
2017/11/02 11:16:06 [INFO] (telemetry) Starting provisioner file
2017/11/02 11:16:06 ui: ==> bastion: Uploading assets/base/ => /tmp/packer/base
==> bastion: Uploading assets/base/ => /tmp/packer/base
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 Upload dir 'assets/base/' to '/tmp/packer/base'
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 opening new ssh session
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 Starting remote scp process: scp -rvt /tmp/packer/base
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 Started SCP session, beginning transfers...
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading ecs-config.json: perms=C0664 size=545
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading docker-config.json: perms=C0664 size=116
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 SCP: starting directory upload: monit.d
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading jumpcloud: perms=C0664 size=254
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading signalfx: perms=C0664 size=255
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading sumologic: perms=C0664 size=271
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading monit.conf: perms=C0664 size=252
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 SCP: starting directory upload: devops
2017/11/02 11:16:06 packer_v1.1.1: 2017/11/02 11:16:06 [DEBUG] scp: Uploading jumpcloud-configure.sh: perms=C0775 size=2799
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading utils.sh: perms=C0664 size=0
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading functions.sh: perms=C0664 size=12451
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading agents-configure.sh: perms=C0775 size=4346
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading conveniences.sh: perms=C0775 size=5224
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 SCP: starting directory upload: sumo.json.d
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-apport.json: perms=C0664 size=443
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-daemon.json: perms=C0664 size=437
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-alternatives.json: perms=C0664 size=443
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-user.json: perms=C0664 size=433
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-kernel.json: perms=C0664 size=435
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-collectd.json: perms=C0664 size=445
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-syslog.json: perms=C0664 size=433
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-fail2ban.json: perms=C0664 size=443
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-mysql.json: perms=C0664 size=461
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-secure.json: perms=C0664 size=435
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-Monit.json: perms=C0664 size=436
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-ECS.json: perms=C0664 size=457
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-audit.json: perms=C0664 size=436
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-maillog.json: perms=C0664 size=435
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-messages.json: perms=C0664 size=437
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-logstatus.json: perms=C0664 size=439
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-debug.json: perms=C0664 size=431
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-unattended-upgrades.json: perms=C0664 size=467
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading LocalFile-JumpCloud.json: perms=C0664 size=446
2017/11/02 11:16:07 packer_v1.1.1: 2017/11/02 11:16:07 [DEBUG] scp: Uploading DockerStats-DockerStats.json: perms=C0664 size=524
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-udev.json: perms=C0664 size=429
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-cron.json: perms=C0664 size=429
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-nginx.json: perms=C0664 size=432
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-apt.json: perms=C0664 size=435
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading DockerLog-DockerLogs.json: perms=C0664 size=630
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-ChefClient.json: perms=C0664 size=453
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-dracut.json: perms=C0664 size=437
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-dmesg.json: perms=C0664 size=431
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-dpkg.json: perms=C0664 size=435
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-cloud-init.json: perms=C0664 size=452
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-fsck.json: perms=C0664 size=450
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-boot.json: perms=C0664 size=433
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-SignalFX.json: perms=C0664 size=454
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-auth.json: perms=C0664 size=435
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-yum.json: perms=C0664 size=433
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-upstart.json: perms=C0664 size=441
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading LocalFile-NewRelic.json: perms=C0664 size=443
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 SCP session complete, closing stdin pipe.
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 Waiting for SSH session to complete.
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 scp stderr (length 1861): Sink: C0664 545 ecs-config.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 116 docker-config.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: D0775 0 monit.d
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 254 jumpcloud
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 255 signalfx
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 271 sumologic
2017/11/02 11:16:08 packer_v1.1.1: Sink: E
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 252 monit.conf
2017/11/02 11:16:08 packer_v1.1.1: Sink: D0775 0 devops
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0775 2799 jumpcloud-configure.sh
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 0 utils.sh
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 12451 functions.sh
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0775 4346 agents-configure.sh
2017/11/02 11:16:08 packer_v1.1.1: Sink: E
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0775 5224 conveniences.sh
2017/11/02 11:16:08 packer_v1.1.1: Sink: D0775 0 sumo.json.d
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 443 LocalFile-apport.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 437 LocalFile-daemon.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 443 LocalFile-alternatives.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 433 LocalFile-user.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 435 LocalFile-kernel.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 445 LocalFile-collectd.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 433 LocalFile-syslog.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 443 LocalFile-fail2ban.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 461 LocalFile-mysql.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 435 LocalFile-secure.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 436 LocalFile-Monit.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 457 LocalFile-ECS.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 436 LocalFile-audit.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 435 LocalFile-maillog.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 437 LocalFile-messages.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 439 LocalFile-logstatus.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 431 LocalFile-debug.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 467 LocalFile-unattended-upgrades.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 446 LocalFile-JumpCloud.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 524 DockerStats-DockerStats.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 429 LocalFile-udev.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 429 LocalFile-cron.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 432 LocalFile-nginx.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 435 LocalFile-apt.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 630 DockerLog-DockerLogs.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 453 LocalFile-ChefClient.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 437 LocalFile-dracut.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 431 LocalFile-dmesg.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 435 LocalFile-dpkg.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 452 LocalFile-cloud-init.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 450 LocalFile-fsck.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 433 LocalFile-boot.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 454 LocalFile-SignalFX.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 435 LocalFile-auth.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 433 LocalFile-yum.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 441 LocalFile-upstart.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: C0664 443 LocalFile-NewRelic.json
2017/11/02 11:16:08 packer_v1.1.1: Sink: E
2017/11/02 11:16:08 [INFO] (telemetry) ending file
2017/11/02 11:16:08 [INFO] (telemetry) Starting provisioner file
2017/11/02 11:16:08 ui: ==> bastion: Uploading assets/consul/ => /tmp/packer/consul
==> bastion: Uploading assets/consul/ => /tmp/packer/consul
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 Upload dir 'assets/consul/' to '/tmp/packer/consul'
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 opening new ssh session
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 Starting remote scp process: scp -rvt /tmp/packer/consul
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 Started SCP session, beginning transfers...
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading consul.env: perms=C0664 size=125
2017/11/02 11:16:08 packer_v1.1.1: 2017/11/02 11:16:08 [DEBUG] scp: Uploading consul-agent.json: perms=C0664 size=944
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 SCP: starting directory upload: certs
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading gliffy-ca.tgz: perms=C0664 size=5796
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading consul-server.json: perms=C0664 size=914
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 SCP: starting directory upload: scripts
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading consul-import.py: perms=C0775 size=11208
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading certificator.sh: perms=C0664 size=1363
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 SCP session complete, closing stdin pipe.
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Waiting for SSH session to complete.
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 scp stderr (length 253): Sink: C0664 125 consul.env
2017/11/02 11:16:09 packer_v1.1.1: Sink: C0664 944 consul-agent.json
2017/11/02 11:16:09 packer_v1.1.1: Sink: D0775 0 certs
2017/11/02 11:16:09 packer_v1.1.1: Sink: C0664 5796 gliffy-ca.tgz
2017/11/02 11:16:09 packer_v1.1.1: Sink: E
2017/11/02 11:16:09 packer_v1.1.1: Sink: C0664 914 consul-server.json
2017/11/02 11:16:09 packer_v1.1.1: Sink: D0775 0 scripts
2017/11/02 11:16:09 packer_v1.1.1: Sink: C0775 11208 consul-import.py
2017/11/02 11:16:09 packer_v1.1.1: Sink: C0664 1363 certificator.sh
2017/11/02 11:16:09 packer_v1.1.1: Sink: E
2017/11/02 11:16:09 [INFO] (telemetry) ending file
2017/11/02 11:16:09 [INFO] (telemetry) Starting provisioner file
2017/11/02 11:16:09 ui: ==> bastion: Uploading assets/bastion/ => /tmp/packer/bastion
==> bastion: Uploading assets/bastion/ => /tmp/packer/bastion
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Upload dir 'assets/bastion/' to '/tmp/packer/bastion'
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 opening new ssh session
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Starting remote scp process: scp -rvt /tmp/packer/bastion
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Started SCP session, beginning transfers...
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading ovpn_server.conf: perms=C0664 size=5648
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading iptables.save: perms=C0664 size=1136
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 SCP session complete, closing stdin pipe.
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Waiting for SSH session to complete.
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 scp stderr (length 65): Sink: C0664 5648 ovpn_server.conf
2017/11/02 11:16:09 packer_v1.1.1: Sink: C0664 1136 iptables.save
2017/11/02 11:16:09 [INFO] (telemetry) ending file
2017/11/02 11:16:09 [INFO] (telemetry) Starting provisioner shell
2017/11/02 11:16:09 ui: ==> bastion: Provisioning with shell script: provisioners/volumes.sh
==> bastion: Provisioning with shell script: provisioners/volumes.sh
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Opening provisioners/volumes.sh for reading
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [INFO] 826 bytes written for 'uploadData'
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 opening new ssh session
2017/11/02 11:16:09 [INFO] 826 bytes written for 'uploadData'
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Starting remote scp process: scp -vt /tmp
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Started SCP session, beginning transfers...
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 Copying input data into temporary file so we can read the length
2017/11/02 11:16:09 packer_v1.1.1: 2017/11/02 11:16:09 [DEBUG] scp: Uploading script_8544.sh: perms=C0644 size=826
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 SCP session complete, closing stdin pipe.
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 Waiting for SSH session to complete.
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 scp stderr (length 31): Sink: C0644 826 script_8544.sh
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 opening new ssh session
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 starting remote command: chmod 0755 /tmp/script_8544.sh
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:10 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:10 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 opening new ssh session
2017/11/02 11:16:10 packer_v1.1.1: 2017/11/02 11:16:10 starting remote command: echo '' | sudo -S su - -c 'CONSUL_VERSION='0.8.5' PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='bastion' /tmp/script_8544.sh'
2017/11/02 11:16:10 ui: bastion:
bastion:
2017/11/02 11:16:10 ui: bastion: ### BEGIN ###: volumes.sh
bastion: ### BEGIN ###: volumes.sh
2017/11/02 11:16:10 ui: bastion: Thu Nov 2 18:16:10 UTC 2017
bastion: Thu Nov 2 18:16:10 UTC 2017
2017/11/02 11:16:10 ui: bastion: > Requirements
bastion: > Requirements
2017/11/02 11:16:10 ui: bastion: Loaded plugins: priorities, update-motd, upgrade-helper
bastion: Loaded plugins: priorities, update-motd, upgrade-helper
2017/11/02 11:16:10 ui: bastion: Package rsync-3.0.6-12.13.amzn1.x86_64 already installed and latest version
bastion: Package rsync-3.0.6-12.13.amzn1.x86_64 already installed and latest version
2017/11/02 11:16:10 ui: bastion: Nothing to do
bastion: Nothing to do
2017/11/02 11:16:10 ui: bastion: > parted
bastion: > parted
2017/11/02 11:16:10 ui: bastion: Information: You may need to update /etc/fstab.
bastion: Information: You may need to update /etc/fstab.
2017/11/02 11:16:10 ui: bastion:
bastion:
2017/11/02 11:16:11 ui: bastion: > partprobe
bastion: > partprobe
2017/11/02 11:16:11 ui: bastion: > mkfs
bastion: > mkfs
2017/11/02 11:16:36 ui: bastion: > mkdir
bastion: > mkdir
2017/11/02 11:16:36 ui: bastion: > mount
bastion: > mount
2017/11/02 11:16:36 ui: bastion: > rsync /var/log
bastion: > rsync /var/log
2017/11/02 11:16:36 ui: bastion: > chcon
bastion: > chcon
2017/11/02 11:16:36 ui: bastion: > umount
bastion: > umount
2017/11/02 11:16:36 ui: bastion: > fstab
bastion: > fstab
2017/11/02 11:16:36 ui: bastion: > mv /var/log
bastion: > mv /var/log
2017/11/02 11:16:36 ui: bastion: > remount
bastion: > remount
2017/11/02 11:16:36 ui: bastion: mount: /dev/xvdl1 mounted on /var/log.
bastion: mount: /dev/xvdl1 mounted on /var/log.
2017/11/02 11:16:36 ui: bastion:
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] RPC endpoint: Communicator ended with: 0
bastion:
2017/11/02 11:16:36 [INFO] 548 bytes written for 'stdout'
2017/11/02 11:16:36 [INFO] 0 bytes written for 'stderr'
2017/11/02 11:16:36 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:36 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:36 ui: bastion: ### END ###: volumes.sh
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] 0 bytes written for 'stderr'
bastion: ### END ###: volumes.sh
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] 548 bytes written for 'stdout'
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:36 ui: bastion: Thu Nov 2 18:16:36 UTC 2017
bastion: Thu Nov 2 18:16:36 UTC 2017
2017/11/02 11:16:36 ui: bastion:
bastion:
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 opening new ssh session
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 starting remote command: rm -f /tmp/script_8544.sh
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:36 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:36 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:36 ui: ==> bastion: Provisioning with shell script: provisioners/base.sh
==> bastion: Provisioning with shell script: provisioners/base.sh
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 Opening provisioners/base.sh for reading
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 opening new ssh session
2017/11/02 11:16:36 packer_v1.1.1: 2017/11/02 11:16:36 [INFO] 1349 bytes written for 'uploadData'
2017/11/02 11:16:36 [INFO] 1349 bytes written for 'uploadData'
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 Starting remote scp process: scp -vt /tmp
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 Started SCP session, beginning transfers...
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 Copying input data into temporary file so we can read the length
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 [DEBUG] scp: Uploading script_8544.sh: perms=C0644 size=1349
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 SCP session complete, closing stdin pipe.
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 Waiting for SSH session to complete.
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 scp stderr (length 32): Sink: C0644 1349 script_8544.sh
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 opening new ssh session
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 starting remote command: chmod 0755 /tmp/script_8544.sh
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:37 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:37 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 opening new ssh session
2017/11/02 11:16:37 packer_v1.1.1: 2017/11/02 11:16:37 starting remote command: echo '' | sudo -S su - -c 'CONSUL_VERSION='0.8.5' PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='bastion' /tmp/script_8544.sh'
2017/11/02 11:16:37 ui: bastion:
bastion:
2017/11/02 11:16:37 ui: bastion: ### BEGIN ###: base.sh
bastion: ### BEGIN ###: base.sh
2017/11/02 11:16:37 ui: bastion: Thu Nov 2 18:16:37 UTC 2017
bastion: Thu Nov 2 18:16:37 UTC 2017
2017/11/02 11:16:37 ui: bastion:
bastion:
2017/11/02 11:16:37 ui: bastion: >>> Global
bastion: >>> Global
2017/11/02 11:16:37 ui: bastion:
bastion:
2017/11/02 11:16:37 ui: bastion: > YUM Upgrade
bastion: > YUM Upgrade
2017/11/02 11:16:37 ui: bastion: Loaded plugins: priorities, update-motd, upgrade-helper
bastion: Loaded plugins: priorities, update-motd, upgrade-helper
2017/11/02 11:16:37 ui: bastion: Resolving Dependencies
bastion: Resolving Dependencies
2017/11/02 11:16:37 ui: bastion: --> Running transaction check
bastion: --> Running transaction check
2017/11/02 11:16:37 ui: bastion: ---> Package amazon-ssm-agent.x86_64 0:2.1.4.0-1.amzn1 will be updated
bastion: ---> Package amazon-ssm-agent.x86_64 0:2.1.4.0-1.amzn1 will be updated
2017/11/02 11:16:37 ui: bastion: ---> Package amazon-ssm-agent.x86_64 0:2.2.45.0-1.amzn1 will be an update
bastion: ---> Package amazon-ssm-agent.x86_64 0:2.2.45.0-1.amzn1 will be an update
2017/11/02 11:16:37 ui: bastion: ---> Package aws-cfn-bootstrap.noarch 0:1.4-23.15.amzn1 will be updated
bastion: ---> Package aws-cfn-bootstrap.noarch 0:1.4-23.15.amzn1 will be updated
2017/11/02 11:16:37 ui: bastion: ---> Package aws-cfn-bootstrap.noarch 0:1.4-24.16.amzn1 will be an update
bastion: ---> Package aws-cfn-bootstrap.noarch 0:1.4-24.16.amzn1 will be an update
2017/11/02 11:16:37 ui: bastion: ---> Package curl.x86_64 0:7.51.0-9.76.amzn1 will be updated
bastion: ---> Package curl.x86_64 0:7.51.0-9.76.amzn1 will be updated
2017/11/02 11:16:37 ui: bastion: ---> Package curl.x86_64 0:7.53.1-10.77.amzn1 will be an update
bastion: ---> Package curl.x86_64 0:7.53.1-10.77.amzn1 will be an update
2017/11/02 11:16:37 ui: bastion: ---> Package kernel.x86_64 0:4.9.58-18.51.amzn1 will be installed
bastion: ---> Package kernel.x86_64 0:4.9.58-18.51.amzn1 will be installed
2017/11/02 11:16:37 ui: bastion: ---> Package krb5-libs.x86_64 0:1.14.1-27.41.amzn1 will be updated
bastion: ---> Package krb5-libs.x86_64 0:1.14.1-27.41.amzn1 will be updated
2017/11/02 11:16:37 ui: bastion: ---> Package krb5-libs.x86_64 0:1.15.1-8.43.amzn1 will be an update
bastion: ---> Package krb5-libs.x86_64 0:1.15.1-8.43.amzn1 will be an update
2017/11/02 11:16:37 ui: bastion: ---> Package libcurl.x86_64 0:7.51.0-9.76.amzn1 will be updated
bastion: ---> Package libcurl.x86_64 0:7.51.0-9.76.amzn1 will be updated
2017/11/02 11:16:37 ui: bastion: ---> Package libcurl.x86_64 0:7.53.1-10.77.amzn1 will be an update
bastion: ---> Package libcurl.x86_64 0:7.53.1-10.77.amzn1 will be an update
2017/11/02 11:16:38 ui: bastion: --> Finished Dependency Resolution
bastion: --> Finished Dependency Resolution
2017/11/02 11:16:38 ui: bastion:
bastion:
2017/11/02 11:16:38 ui: bastion: Dependencies Resolved
bastion: Dependencies Resolved
2017/11/02 11:16:38 ui: bastion:
bastion:
2017/11/02 11:16:38 ui: bastion: ================================================================================
bastion: ================================================================================
2017/11/02 11:16:38 ui: bastion: Package Arch Version Repository Size
bastion: Package Arch Version Repository Size
2017/11/02 11:16:38 ui: bastion: ================================================================================
bastion: ================================================================================
2017/11/02 11:16:38 ui: bastion: Installing:
bastion: Installing:
2017/11/02 11:16:38 ui: bastion: kernel x86_64 4.9.58-18.51.amzn1 amzn-updates 18 M
bastion: kernel x86_64 4.9.58-18.51.amzn1 amzn-updates 18 M
2017/11/02 11:16:38 ui: bastion: Updating:
bastion: Updating:
2017/11/02 11:16:38 ui: bastion: amazon-ssm-agent x86_64 2.2.45.0-1.amzn1 amzn-updates 10 M
bastion: amazon-ssm-agent x86_64 2.2.45.0-1.amzn1 amzn-updates 10 M
2017/11/02 11:16:38 ui: bastion: aws-cfn-bootstrap noarch 1.4-24.16.amzn1 amzn-updates 872 k
bastion: aws-cfn-bootstrap noarch 1.4-24.16.amzn1 amzn-updates 872 k
2017/11/02 11:16:38 ui: bastion: curl x86_64 7.53.1-10.77.amzn1 amzn-updates 329 k
bastion: curl x86_64 7.53.1-10.77.amzn1 amzn-updates 329 k
2017/11/02 11:16:38 ui: bastion: krb5-libs x86_64 1.15.1-8.43.amzn1 amzn-updates 860 k
bastion: krb5-libs x86_64 1.15.1-8.43.amzn1 amzn-updates 860 k
2017/11/02 11:16:38 ui: bastion: libcurl x86_64 7.53.1-10.77.amzn1 amzn-updates 284 k
bastion: libcurl x86_64 7.53.1-10.77.amzn1 amzn-updates 284 k
2017/11/02 11:16:38 ui: bastion:
bastion:
2017/11/02 11:16:38 ui: bastion: Transaction Summary
bastion: Transaction Summary
2017/11/02 11:16:38 ui: bastion: ================================================================================
bastion: ================================================================================
2017/11/02 11:16:38 ui: bastion: Install 1 Package
bastion: Install 1 Package
2017/11/02 11:16:38 ui: bastion: Upgrade 5 Packages
bastion: Upgrade 5 Packages
2017/11/02 11:16:38 ui: bastion:
bastion:
2017/11/02 11:16:38 ui: bastion: Total download size: 30 M
bastion: Total download size: 30 M
2017/11/02 11:16:38 ui: bastion: Downloading packages:
bastion: Downloading packages:
2017/11/02 11:16:50 ui: bastion: --------------------------------------------------------------------------------
bastion: --------------------------------------------------------------------------------
2017/11/02 11:16:50 ui: bastion: Total 2.4 MB/s | 30 MB 00:12
bastion: Total 2.4 MB/s | 30 MB 00:12
2017/11/02 11:16:50 ui: bastion: Running transaction check
bastion: Running transaction check
2017/11/02 11:16:50 ui: bastion: Running transaction test
bastion: Running transaction test
2017/11/02 11:16:50 ui: bastion: Transaction test succeeded
bastion: Transaction test succeeded
2017/11/02 11:16:50 ui: bastion: Running transaction
bastion: Running transaction
2017/11/02 11:16:50 ui: bastion: Updating : krb5-libs-1.15.1-8.43.amzn1.x86_64 1/11
bastion: Updating : krb5-libs-1.15.1-8.43.amzn1.x86_64 1/11
2017/11/02 11:16:50 ui: bastion: Updating : libcurl-7.53.1-10.77.amzn1.x86_64 2/11
bastion: Updating : libcurl-7.53.1-10.77.amzn1.x86_64 2/11
2017/11/02 11:16:50 ui: bastion: Updating : curl-7.53.1-10.77.amzn1.x86_64 3/11
bastion: Updating : curl-7.53.1-10.77.amzn1.x86_64 3/11
2017/11/02 11:16:51 ui: bastion: Updating : aws-cfn-bootstrap-1.4-24.16.amzn1.noarch 4/11
bastion: Updating : aws-cfn-bootstrap-1.4-24.16.amzn1.noarch 4/11
2017/11/02 11:16:56 ui: bastion: Updating : amazon-ssm-agent-2.2.45.0-1.amzn1.x86_64 5/11
bastion: Updating : amazon-ssm-agent-2.2.45.0-1.amzn1.x86_64 5/11
2017/11/02 11:16:56 ui: bastion: Installing : kernel-4.9.58-18.51.amzn1.x86_64 6/11
bastion: Installing : kernel-4.9.58-18.51.amzn1.x86_64 6/11
2017/11/02 11:16:56 ui: bastion: Cleanup : curl-7.51.0-9.76.amzn1.x86_64 7/11
bastion: Cleanup : curl-7.51.0-9.76.amzn1.x86_64 7/11
2017/11/02 11:16:56 ui: bastion: Cleanup : aws-cfn-bootstrap-1.4-23.15.amzn1.noarch 8/11
bastion: Cleanup : aws-cfn-bootstrap-1.4-23.15.amzn1.noarch 8/11
2017/11/02 11:16:56 ui: bastion: Cleanup : libcurl-7.51.0-9.76.amzn1.x86_64 9/11
bastion: Cleanup : libcurl-7.51.0-9.76.amzn1.x86_64 9/11
2017/11/02 11:16:57 ui: bastion: Cleanup : krb5-libs-1.14.1-27.41.amzn1.x86_64 10/11
bastion: Cleanup : krb5-libs-1.14.1-27.41.amzn1.x86_64 10/11
2017/11/02 11:17:16 ui: bastion: Cleanup : amazon-ssm-agent-2.1.4.0-1.amzn1.x86_64 11/11
bastion: Cleanup : amazon-ssm-agent-2.1.4.0-1.amzn1.x86_64 11/11
2017/11/02 11:17:16 ui: bastion: Verifying : libcurl-7.53.1-10.77.amzn1.x86_64 1/11
bastion: Verifying : libcurl-7.53.1-10.77.amzn1.x86_64 1/11
2017/11/02 11:17:16 ui: bastion: Verifying : kernel-4.9.58-18.51.amzn1.x86_64 2/11
bastion: Verifying : kernel-4.9.58-18.51.amzn1.x86_64 2/11
2017/11/02 11:17:16 ui: bastion: Verifying : curl-7.53.1-10.77.amzn1.x86_64 3/11
bastion: Verifying : curl-7.53.1-10.77.amzn1.x86_64 3/11
2017/11/02 11:17:16 ui: bastion: Verifying : krb5-libs-1.15.1-8.43.amzn1.x86_64 4/11
bastion: Verifying : krb5-libs-1.15.1-8.43.amzn1.x86_64 4/11
2017/11/02 11:17:16 ui: bastion: Verifying : amazon-ssm-agent-2.2.45.0-1.amzn1.x86_64 5/11
bastion: Verifying : amazon-ssm-agent-2.2.45.0-1.amzn1.x86_64 5/11
2017/11/02 11:17:16 ui: bastion: Verifying : aws-cfn-bootstrap-1.4-24.16.amzn1.noarch 6/11
bastion: Verifying : aws-cfn-bootstrap-1.4-24.16.amzn1.noarch 6/11
2017/11/02 11:17:16 ui: bastion: Verifying : aws-cfn-bootstrap-1.4-23.15.amzn1.noarch 7/11
bastion: Verifying : aws-cfn-bootstrap-1.4-23.15.amzn1.noarch 7/11
2017/11/02 11:17:16 ui: bastion: Verifying : amazon-ssm-agent-2.1.4.0-1.amzn1.x86_64 8/11
bastion: Verifying : amazon-ssm-agent-2.1.4.0-1.amzn1.x86_64 8/11
2017/11/02 11:17:16 ui: bastion: Verifying : libcurl-7.51.0-9.76.amzn1.x86_64 9/11
bastion: Verifying : libcurl-7.51.0-9.76.amzn1.x86_64 9/11
2017/11/02 11:17:16 ui: bastion: Verifying : curl-7.51.0-9.76.amzn1.x86_64 10/11
bastion: Verifying : curl-7.51.0-9.76.amzn1.x86_64 10/11
2017/11/02 11:17:16 ui: bastion: Verifying : krb5-libs-1.14.1-27.41.amzn1.x86_64 11/11
bastion: Verifying : krb5-libs-1.14.1-27.41.amzn1.x86_64 11/11
2017/11/02 11:17:16 ui: bastion:
bastion:
2017/11/02 11:17:16 ui: bastion: Installed:
bastion: Installed:
2017/11/02 11:17:16 ui: bastion: kernel.x86_64 0:4.9.58-18.51.amzn1
bastion: kernel.x86_64 0:4.9.58-18.51.amzn1
2017/11/02 11:17:16 ui: bastion:
bastion:
2017/11/02 11:17:16 ui: bastion: Updated:
bastion: Updated:
2017/11/02 11:17:16 ui: bastion: amazon-ssm-agent.x86_64 0:2.2.45.0-1.amzn1
bastion: amazon-ssm-agent.x86_64 0:2.2.45.0-1.amzn1
2017/11/02 11:17:16 ui: bastion: aws-cfn-bootstrap.noarch 0:1.4-24.16.amzn1
bastion: aws-cfn-bootstrap.noarch 0:1.4-24.16.amzn1
2017/11/02 11:17:16 ui: bastion: curl.x86_64 0:7.53.1-10.77.amzn1
bastion: curl.x86_64 0:7.53.1-10.77.amzn1
2017/11/02 11:17:16 ui: bastion: krb5-libs.x86_64 0:1.15.1-8.43.amzn1
bastion: krb5-libs.x86_64 0:1.15.1-8.43.amzn1
2017/11/02 11:17:16 ui: bastion: libcurl.x86_64 0:7.53.1-10.77.amzn1
bastion: libcurl.x86_64 0:7.53.1-10.77.amzn1
2017/11/02 11:17:16 ui: bastion:
bastion:
2017/11/02 11:17:16 ui: bastion: Complete!
bastion: Complete!
2017/11/02 11:17:16 ui: bastion: > Installing utility packages
bastion: > Installing utility packages
2017/11/02 11:17:16 ui: bastion: Loaded plugins: priorities, update-motd, upgrade-helper
bastion: Loaded plugins: priorities, update-motd, upgrade-helper
2017/11/02 11:17:17 ui: bastion: Existing lock /var/run/yum.pid: another copy is running as pid 8470.
bastion: Existing lock /var/run/yum.pid: another copy is running as pid 8470.
2017/11/02 11:17:17 ui: bastion: Another app is currently holding the yum lock; waiting for it to exit...
bastion: Another app is currently holding the yum lock; waiting for it to exit...
2017/11/02 11:17:17 ui: bastion: The other application is: yum
bastion: The other application is: yum
2017/11/02 11:17:17 ui: bastion: Memory : 42 M RSS (289 MB VSZ)
bastion: Memory : 42 M RSS (289 MB VSZ)
2017/11/02 11:17:17 ui: bastion: Started: Thu Nov 2 18:17:16 2017 - 00:00 ago
bastion: Started: Thu Nov 2 18:17:16 2017 - 00:00 ago
2017/11/02 11:17:17 ui: bastion: State : Running, pid: 8470
bastion: State : Running, pid: 8470
2017/11/02 11:17:19 ui: bastion: Package aws-cli-1.11.132-1.47.amzn1.noarch already installed and latest version
bastion: Package aws-cli-1.11.132-1.47.amzn1.noarch already installed and latest version
2017/11/02 11:17:19 ui: bastion: Package 32:bind-utils-9.8.2-0.62.rc1.56.amzn1.x86_64 already installed and latest version
bastion: Package 32:bind-utils-9.8.2-0.62.rc1.56.amzn1.x86_64 already installed and latest version
2017/11/02 11:17:19 ui: bastion: Package parted-2.1-21.18.amzn1.x86_64 already installed and latest version
bastion: Package parted-2.1-21.18.amzn1.x86_64 already installed and latest version
2017/11/02 11:17:19 ui: bastion: Package wget-1.18-3.28.amzn1.x86_64 already installed and latest version
bastion: Package wget-1.18-3.28.amzn1.x86_64 already installed and latest version
2017/11/02 11:17:19 ui: bastion: Resolving Dependencies
bastion: Resolving Dependencies
2017/11/02 11:17:19 ui: bastion: --> Running transaction check
bastion: --> Running transaction check
2017/11/02 11:17:19 ui: bastion: ---> Package docker.x86_64 0:17.03.2ce-1.59.amzn1 will be installed
bastion: ---> Package docker.x86_64 0:17.03.2ce-1.59.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: xfsprogs for package: docker-17.03.2ce-1.59.amzn1.x86_64
bastion: --> Processing Dependency: xfsprogs for package: docker-17.03.2ce-1.59.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: libseccomp.so.2()(64bit) for package: docker-17.03.2ce-1.59.amzn1.x86_64
bastion: --> Processing Dependency: libseccomp.so.2()(64bit) for package: docker-17.03.2ce-1.59.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: ---> Package emacs.x86_64 1:24.3-20.22.amzn1 will be installed
bastion: ---> Package emacs.x86_64 1:24.3-20.22.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: emacs-common = 1:24.3-20.22.amzn1 for package: 1:emacs-24.3-20.22.amzn1.x86_64
bastion: --> Processing Dependency: emacs-common = 1:24.3-20.22.amzn1 for package: 1:emacs-24.3-20.22.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: libgnutls.so.26(GNUTLS_1_4)(64bit) for package: 1:emacs-24.3-20.22.amzn1.x86_64
bastion: --> Processing Dependency: libgnutls.so.26(GNUTLS_1_4)(64bit) for package: 1:emacs-24.3-20.22.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: dejavu-sans-mono-fonts for package: 1:emacs-24.3-20.22.amzn1.x86_64
bastion: --> Processing Dependency: dejavu-sans-mono-fonts for package: 1:emacs-24.3-20.22.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: libgnutls.so.26()(64bit) for package: 1:emacs-24.3-20.22.amzn1.x86_64
bastion: --> Processing Dependency: libgnutls.so.26()(64bit) for package: 1:emacs-24.3-20.22.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: ---> Package git.x86_64 0:2.13.6-1.55.amzn1 will be installed
bastion: ---> Package git.x86_64 0:2.13.6-1.55.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: perl-Git = 2.13.6-1.55.amzn1 for package: git-2.13.6-1.55.amzn1.x86_64
bastion: --> Processing Dependency: perl-Git = 2.13.6-1.55.amzn1 for package: git-2.13.6-1.55.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: perl(Term::ReadKey) for package: git-2.13.6-1.55.amzn1.x86_64
bastion: --> Processing Dependency: perl(Term::ReadKey) for package: git-2.13.6-1.55.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: perl(Git::I18N) for package: git-2.13.6-1.55.amzn1.x86_64
bastion: --> Processing Dependency: perl(Git::I18N) for package: git-2.13.6-1.55.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: perl(Git) for package: git-2.13.6-1.55.amzn1.x86_64
bastion: --> Processing Dependency: perl(Git) for package: git-2.13.6-1.55.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: perl(Error) for package: git-2.13.6-1.55.amzn1.x86_64
bastion: --> Processing Dependency: perl(Error) for package: git-2.13.6-1.55.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: ---> Package jq.x86_64 0:1.5-1.2.amzn1 will be installed
bastion: ---> Package jq.x86_64 0:1.5-1.2.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: jq-libs(x86-64) = 1.5-1.2.amzn1 for package: jq-1.5-1.2.amzn1.x86_64
bastion: --> Processing Dependency: jq-libs(x86-64) = 1.5-1.2.amzn1 for package: jq-1.5-1.2.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: oniguruma for package: jq-1.5-1.2.amzn1.x86_64
bastion: --> Processing Dependency: oniguruma for package: jq-1.5-1.2.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: libonig.so.2()(64bit) for package: jq-1.5-1.2.amzn1.x86_64
bastion: --> Processing Dependency: libonig.so.2()(64bit) for package: jq-1.5-1.2.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Processing Dependency: libjq.so.1()(64bit) for package: jq-1.5-1.2.amzn1.x86_64
bastion: --> Processing Dependency: libjq.so.1()(64bit) for package: jq-1.5-1.2.amzn1.x86_64
2017/11/02 11:17:19 ui: bastion: --> Running transaction check
bastion: --> Running transaction check
2017/11/02 11:17:19 ui: bastion: ---> Package dejavu-sans-mono-fonts.noarch 0:2.33-6.6.amzn1 will be installed
bastion: ---> Package dejavu-sans-mono-fonts.noarch 0:2.33-6.6.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package emacs-common.x86_64 1:24.3-20.22.amzn1 will be installed
bastion: ---> Package emacs-common.x86_64 1:24.3-20.22.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package gnutls.x86_64 0:2.12.23-21.18.amzn1 will be installed
bastion: ---> Package gnutls.x86_64 0:2.12.23-21.18.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package jq-libs.x86_64 0:1.5-1.2.amzn1 will be installed
bastion: ---> Package jq-libs.x86_64 0:1.5-1.2.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package libseccomp.x86_64 0:2.3.1-2.4.amzn1 will be installed
bastion: ---> Package libseccomp.x86_64 0:2.3.1-2.4.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package oniguruma.x86_64 0:5.9.1-3.1.2.amzn1 will be installed
bastion: ---> Package oniguruma.x86_64 0:5.9.1-3.1.2.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
bastion: ---> Package perl-Error.noarch 1:0.17020-2.9.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package perl-Git.noarch 0:2.13.6-1.55.amzn1 will be installed
bastion: ---> Package perl-Git.noarch 0:2.13.6-1.55.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 will be installed
bastion: ---> Package perl-TermReadKey.x86_64 0:2.30-20.9.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: ---> Package xfsprogs.x86_64 0:4.5.0-9.21.amzn1 will be installed
bastion: ---> Package xfsprogs.x86_64 0:4.5.0-9.21.amzn1 will be installed
2017/11/02 11:17:19 ui: bastion: --> Finished Dependency Resolution
bastion: --> Finished Dependency Resolution
2017/11/02 11:17:19 ui: bastion:
bastion:
2017/11/02 11:17:19 ui: bastion: Dependencies Resolved
bastion: Dependencies Resolved
2017/11/02 11:17:19 ui: bastion:
bastion:
2017/11/02 11:17:19 ui: bastion: ================================================================================
bastion: ================================================================================
2017/11/02 11:17:19 ui: bastion: Package Arch Version Repository Size
bastion: Package Arch Version Repository Size
2017/11/02 11:17:19 ui: bastion: ================================================================================
bastion: ================================================================================
2017/11/02 11:17:19 ui: bastion: Installing:
bastion: Installing:
2017/11/02 11:17:19 ui: bastion: docker x86_64 17.03.2ce-1.59.amzn1 amzn-main 22 M
bastion: docker x86_64 17.03.2ce-1.59.amzn1 amzn-main 22 M
2017/11/02 11:17:19 ui: bastion: emacs x86_64 1:24.3-20.22.amzn1 amzn-updates 2.8 M
bastion: emacs x86_64 1:24.3-20.22.amzn1 amzn-updates 2.8 M
2017/11/02 11:17:19 ui: bastion: git x86_64 2.13.6-1.55.amzn1 amzn-updates 11 M
bastion: git x86_64 2.13.6-1.55.amzn1 amzn-updates 11 M
2017/11/02 11:17:19 ui: bastion: jq x86_64 1.5-1.2.amzn1 amzn-main 44 k
bastion: jq x86_64 1.5-1.2.amzn1 amzn-main 44 k
2017/11/02 11:17:19 ui: bastion: Installing for dependencies:
bastion: Installing for dependencies:
2017/11/02 11:17:19 ui: bastion: dejavu-sans-mono-fonts noarch 2.33-6.6.amzn1 amzn-main 678 k
bastion: dejavu-sans-mono-fonts noarch 2.33-6.6.amzn1 amzn-main 678 k
2017/11/02 11:17:19 ui: bastion: emacs-common x86_64 1:24.3-20.22.amzn1 amzn-updates 24 M
bastion: emacs-common x86_64 1:24.3-20.22.amzn1 amzn-updates 24 M
2017/11/02 11:17:19 ui: bastion: gnutls x86_64 2.12.23-21.18.amzn1 amzn-main 450 k
bastion: gnutls x86_64 2.12.23-21.18.amzn1 amzn-main 450 k
2017/11/02 11:17:19 ui: bastion: jq-libs x86_64 1.5-1.2.amzn1 amzn-main 121 k
bastion: jq-libs x86_64 1.5-1.2.amzn1 amzn-main 121 k
2017/11/02 11:17:19 ui: bastion: libseccomp x86_64 2.3.1-2.4.amzn1 amzn-main 79 k
bastion: libseccomp x86_64 2.3.1-2.4.amzn1 amzn-main 79 k
2017/11/02 11:17:19 ui: bastion: oniguruma x86_64 5.9.1-3.1.2.amzn1 amzn-main 149 k
bastion: oniguruma x86_64 5.9.1-3.1.2.amzn1 amzn-main 149 k
2017/11/02 11:17:19 ui: bastion: perl-Error noarch 1:0.17020-2.9.amzn1 amzn-main 33 k
bastion: perl-Error noarch 1:0.17020-2.9.amzn1 amzn-main 33 k
2017/11/02 11:17:19 ui: bastion: perl-Git noarch 2.13.6-1.55.amzn1 amzn-updates 69 k
bastion: perl-Git noarch 2.13.6-1.55.amzn1 amzn-updates 69 k
2017/11/02 11:17:19 ui: bastion: perl-TermReadKey x86_64 2.30-20.9.amzn1 amzn-main 33 k
bastion: perl-TermReadKey x86_64 2.30-20.9.amzn1 amzn-main 33 k
2017/11/02 11:17:19 ui: bastion: xfsprogs x86_64 4.5.0-9.21.amzn1 amzn-main 1.7 M
bastion: xfsprogs x86_64 4.5.0-9.21.amzn1 amzn-main 1.7 M
2017/11/02 11:17:19 ui: bastion:
bastion:
2017/11/02 11:17:19 ui: bastion: Transaction Summary
bastion: Transaction Summary
2017/11/02 11:17:19 ui: bastion: ================================================================================
bastion: ================================================================================
2017/11/02 11:17:19 ui: bastion: Install 4 Packages (+10 Dependent packages)
bastion: Install 4 Packages (+10 Dependent packages)
2017/11/02 11:17:19 ui: bastion:
bastion:
2017/11/02 11:17:19 ui: bastion: Total download size: 64 M
bastion: Total download size: 64 M
2017/11/02 11:17:19 ui: bastion: Installed size: 182 M
bastion: Installed size: 182 M
2017/11/02 11:17:19 ui: bastion: Downloading packages:
bastion: Downloading packages:
2017/11/02 11:17:35 ui: bastion: --------------------------------------------------------------------------------
bastion: --------------------------------------------------------------------------------
2017/11/02 11:17:35 ui: bastion: Total 4.0 MB/s | 64 MB 00:16
bastion: Total 4.0 MB/s | 64 MB 00:16
2017/11/02 11:17:35 ui: bastion: Running transaction check
bastion: Running transaction check
2017/11/02 11:17:35 ui: bastion: Running transaction test
bastion: Running transaction test
2017/11/02 11:17:35 ui: bastion: Transaction test succeeded
bastion: Transaction test succeeded
2017/11/02 11:17:35 ui: bastion: Running transaction
bastion: Running transaction
2017/11/02 11:17:35 ui: bastion: Installing : 1:perl-Error-0.17020-2.9.amzn1.noarch 1/14
bastion: Installing : 1:perl-Error-0.17020-2.9.amzn1.noarch 1/14
2017/11/02 11:17:35 ui: bastion: Installing : oniguruma-5.9.1-3.1.2.amzn1.x86_64 2/14
bastion: Installing : oniguruma-5.9.1-3.1.2.amzn1.x86_64 2/14
2017/11/02 11:17:35 ui: bastion: Installing : jq-libs-1.5-1.2.amzn1.x86_64 3/14
bastion: Installing : jq-libs-1.5-1.2.amzn1.x86_64 3/14
2017/11/02 11:17:38 ui: bastion: Installing : dejavu-sans-mono-fonts-2.33-6.6.amzn1.noarch 4/14
bastion: Installing : dejavu-sans-mono-fonts-2.33-6.6.amzn1.noarch 4/14
2017/11/02 11:17:38 ui: bastion: Installing : perl-TermReadKey-2.30-20.9.amzn1.x86_64 5/14
bastion: Installing : perl-TermReadKey-2.30-20.9.amzn1.x86_64 5/14
2017/11/02 11:17:38 ui: bastion: Installing : perl-Git-2.13.6-1.55.amzn1.noarch 6/14
bastion: Installing : perl-Git-2.13.6-1.55.amzn1.noarch 6/14
2017/11/02 11:17:38 ui: bastion: Installing : git-2.13.6-1.55.amzn1.x86_64 7/14
bastion: Installing : git-2.13.6-1.55.amzn1.x86_64 7/14
2017/11/02 11:17:39 ui: bastion: Installing : xfsprogs-4.5.0-9.21.amzn1.x86_64 8/14
bastion: Installing : xfsprogs-4.5.0-9.21.amzn1.x86_64 8/14
2017/11/02 11:17:39 ui: bastion: Installing : 1:emacs-common-24.3-20.22.amzn1.x86_64 9/14
bastion: Installing : 1:emacs-common-24.3-20.22.amzn1.x86_64 9/14
2017/11/02 11:17:39 ui: bastion: Installing : libseccomp-2.3.1-2.4.amzn1.x86_64 10/14
bastion: Installing : libseccomp-2.3.1-2.4.amzn1.x86_64 10/14
2017/11/02 11:17:39 ui: bastion: Installing : gnutls-2.12.23-21.18.amzn1.x86_64 11/14
bastion: Installing : gnutls-2.12.23-21.18.amzn1.x86_64 11/14
2017/11/02 11:17:40 ui: bastion: Installing : 1:emacs-24.3-20.22.amzn1.x86_64 12/14
bastion: Installing : 1:emacs-24.3-20.22.amzn1.x86_64 12/14
2017/11/02 11:17:40 ui: bastion: Installing : docker-17.03.2ce-1.59.amzn1.x86_64 13/14
bastion: Installing : docker-17.03.2ce-1.59.amzn1.x86_64 13/14
2017/11/02 11:17:40 ui: bastion: Installing : jq-1.5-1.2.amzn1.x86_64 14/14
bastion: Installing : jq-1.5-1.2.amzn1.x86_64 14/14
2017/11/02 11:17:40 ui: bastion: Verifying : git-2.13.6-1.55.amzn1.x86_64 1/14
bastion: Verifying : git-2.13.6-1.55.amzn1.x86_64 1/14
2017/11/02 11:17:40 ui: bastion: Verifying : gnutls-2.12.23-21.18.amzn1.x86_64 2/14
bastion: Verifying : gnutls-2.12.23-21.18.amzn1.x86_64 2/14
2017/11/02 11:17:40 ui: bastion: Verifying : oniguruma-5.9.1-3.1.2.amzn1.x86_64 3/14
bastion: Verifying : oniguruma-5.9.1-3.1.2.amzn1.x86_64 3/14
2017/11/02 11:17:40 ui: bastion: Verifying : perl-Git-2.13.6-1.55.amzn1.noarch 4/14
bastion: Verifying : perl-Git-2.13.6-1.55.amzn1.noarch 4/14
2017/11/02 11:17:40 ui: bastion: Verifying : jq-libs-1.5-1.2.amzn1.x86_64 5/14
bastion: Verifying : jq-libs-1.5-1.2.amzn1.x86_64 5/14
2017/11/02 11:17:41 ui: bastion: Verifying : libseccomp-2.3.1-2.4.amzn1.x86_64 6/14
bastion: Verifying : libseccomp-2.3.1-2.4.amzn1.x86_64 6/14
2017/11/02 11:17:41 ui: bastion: Verifying : docker-17.03.2ce-1.59.amzn1.x86_64 7/14
bastion: Verifying : docker-17.03.2ce-1.59.amzn1.x86_64 7/14
2017/11/02 11:17:41 ui: bastion: Verifying : 1:emacs-common-24.3-20.22.amzn1.x86_64 8/14
bastion: Verifying : 1:emacs-common-24.3-20.22.amzn1.x86_64 8/14
2017/11/02 11:17:41 ui: bastion: Verifying : 1:perl-Error-0.17020-2.9.amzn1.noarch 9/14
bastion: Verifying : 1:perl-Error-0.17020-2.9.amzn1.noarch 9/14
2017/11/02 11:17:41 ui: bastion: Verifying : xfsprogs-4.5.0-9.21.amzn1.x86_64 10/14
bastion: Verifying : xfsprogs-4.5.0-9.21.amzn1.x86_64 10/14
2017/11/02 11:17:41 ui: bastion: Verifying : 1:emacs-24.3-20.22.amzn1.x86_64 11/14
bastion: Verifying : 1:emacs-24.3-20.22.amzn1.x86_64 11/14
2017/11/02 11:17:41 ui: bastion: Verifying : perl-TermReadKey-2.30-20.9.amzn1.x86_64 12/14
bastion: Verifying : perl-TermReadKey-2.30-20.9.amzn1.x86_64 12/14
2017/11/02 11:17:41 ui: bastion: Verifying : jq-1.5-1.2.amzn1.x86_64 13/14
bastion: Verifying : jq-1.5-1.2.amzn1.x86_64 13/14
2017/11/02 11:17:41 ui: bastion: Verifying : dejavu-sans-mono-fonts-2.33-6.6.amzn1.noarch 14/14
bastion: Verifying : dejavu-sans-mono-fonts-2.33-6.6.amzn1.noarch 14/14
2017/11/02 11:17:41 ui: bastion:
bastion:
2017/11/02 11:17:41 ui: bastion: Installed:
bastion: Installed:
2017/11/02 11:17:41 ui: bastion: docker.x86_64 0:17.03.2ce-1.59.amzn1 emacs.x86_64 1:24.3-20.22.amzn1
bastion: docker.x86_64 0:17.03.2ce-1.59.amzn1 emacs.x86_64 1:24.3-20.22.amzn1
2017/11/02 11:17:41 ui: bastion: git.x86_64 0:2.13.6-1.55.amzn1 jq.x86_64 0:1.5-1.2.amzn1
bastion: git.x86_64 0:2.13.6-1.55.amzn1 jq.x86_64 0:1.5-1.2.amzn1
2017/11/02 11:17:41 ui: bastion:
bastion:
2017/11/02 11:17:41 ui: bastion: Dependency Installed:
bastion: Dependency Installed:
2017/11/02 11:17:41 ui: bastion: dejavu-sans-mono-fonts.noarch 0:2.33-6.6.amzn1
bastion: dejavu-sans-mono-fonts.noarch 0:2.33-6.6.amzn1
2017/11/02 11:17:41 ui: bastion: emacs-common.x86_64 1:24.3-20.22.amzn1
bastion: emacs-common.x86_64 1:24.3-20.22.amzn1
2017/11/02 11:17:41 ui: bastion: gnutls.x86_64 0:2.12.23-21.18.amzn1
bastion: gnutls.x86_64 0:2.12.23-21.18.amzn1
2017/11/02 11:17:41 ui: bastion: jq-libs.x86_64 0:1.5-1.2.amzn1
bastion: jq-libs.x86_64 0:1.5-1.2.amzn1
2017/11/02 11:17:41 ui: bastion: libseccomp.x86_64 0:2.3.1-2.4.amzn1
bastion: libseccomp.x86_64 0:2.3.1-2.4.amzn1
2017/11/02 11:17:41 ui: bastion: oniguruma.x86_64 0:5.9.1-3.1.2.amzn1
bastion: oniguruma.x86_64 0:5.9.1-3.1.2.amzn1
2017/11/02 11:17:41 ui: bastion: perl-Error.noarch 1:0.17020-2.9.amzn1
bastion: perl-Error.noarch 1:0.17020-2.9.amzn1
2017/11/02 11:17:41 ui: bastion: perl-Git.noarch 0:2.13.6-1.55.amzn1
bastion: perl-Git.noarch 0:2.13.6-1.55.amzn1
2017/11/02 11:17:41 ui: bastion: perl-TermReadKey.x86_64 0:2.30-20.9.amzn1
bastion: perl-TermReadKey.x86_64 0:2.30-20.9.amzn1
2017/11/02 11:17:41 ui: bastion: xfsprogs.x86_64 0:4.5.0-9.21.amzn1
bastion: xfsprogs.x86_64 0:4.5.0-9.21.amzn1
2017/11/02 11:17:41 ui: bastion:
bastion:
2017/11/02 11:17:41 ui: bastion: Complete!
bastion: Complete!
2017/11/02 11:17:41 ui: bastion: > Move conveniences
bastion: > Move conveniences
2017/11/02 11:17:41 ui: bastion: > Move & chmod devops scripts
bastion: > Move & chmod devops scripts
2017/11/02 11:17:41 ui: bastion: > Generate /etc/ssh/ssh_known_hosts
bastion: > Generate /etc/ssh/ssh_known_hosts
2017/11/02 11:17:41 ui: bastion: >> Adding github.com ...
bastion: >> Adding github.com ...
2017/11/02 11:17:41 ui: bastion: # github.com:22 SSH-2.0-libssh_0.7.0
bastion: # github.com:22 SSH-2.0-libssh_0.7.0
2017/11/02 11:17:41 ui: bastion: # github.com:22 SSH-2.0-libssh_0.7.0
bastion: # github.com:22 SSH-2.0-libssh_0.7.0
2017/11/02 11:17:41 ui: bastion: # github.com:22 SSH-2.0-libssh_0.7.0
bastion: # github.com:22 SSH-2.0-libssh_0.7.0
2017/11/02 11:17:41 ui: bastion: > Setting ulimits
bastion: > Setting ulimits
2017/11/02 11:17:41 ui: bastion:
bastion:
2017/11/02 11:17:41 ui: bastion: >>> Docker
bastion: >>> Docker
2017/11/02 11:17:41 ui: bastion:
bastion:
2017/11/02 11:17:41 ui: bastion: > Give ec2-user docker access
bastion: > Give ec2-user docker access
2017/11/02 11:17:41 ui: bastion: > Starting docker if it isn't already
bastion: > Starting docker if it isn't already
2017/11/02 11:17:41 ui: bastion: Starting cgconfig service: [ OK ]
bastion: Starting cgconfig service: [ OK ]
2017/11/02 11:17:42 ui: bastion: Starting docker: .[ OK ]
bastion: Starting docker: .[ OK ]
2017/11/02 11:17:42 ui: bastion:
bastion:
2017/11/02 11:17:42 ui: bastion: ### END ###: base.sh
bastion: ### END ###: base.sh
2017/11/02 11:17:42 ui: bastion: Thu Nov 2 18:17:42 UTC 2017
bastion: Thu Nov 2 18:17:42 UTC 2017
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:17:42 [INFO] 403 bytes written for 'stderr'
2017/11/02 11:17:42 [INFO] 12831 bytes written for 'stdout'
2017/11/02 11:17:42 ui: bastion:
bastion:
2017/11/02 11:17:42 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:17:42 [INFO] RPC endpoint: Communicator ended with: 0
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 [INFO] 12831 bytes written for 'stdout'
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 [INFO] 403 bytes written for 'stderr'
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 [INFO] RPC client: Communicator ended with: 0
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 opening new ssh session
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 starting remote command: rm -f /tmp/script_8544.sh
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 Remote command exited with '2': rm -f /tmp/script_8544.sh
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 [INFO] RPC endpoint: Communicator ended with: 2
2017/11/02 11:17:42 [INFO] RPC client: Communicator ended with: 2
2017/11/02 11:17:42 [INFO] RPC endpoint: Communicator ended with: 2
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 [INFO] RPC client: Communicator ended with: 2
2017/11/02 11:17:42 [INFO] (telemetry) ending shell
2017/11/02 11:17:42 [INFO] (telemetry) found error: Error removing temporary script at /tmp/script_8544.sh!
2017/11/02 11:17:42 ui: ==> bastion: Terminating the source AWS instance...
==> bastion: Terminating the source AWS instance...
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 Waiting for state to become: terminated
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
2017/11/02 11:17:42 packer_v1.1.1: 2017/11/02 11:17:42 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2017/11/02 11:18:25 ui: ==> bastion: Cleaning up any extra volumes...
==> bastion: Cleaning up any extra volumes...
2017/11/02 11:18:25 ui: ==> bastion: No volumes to clean up, skipping
2017/11/02 11:18:25 ui: ==> bastion: Deleting temporary security group...
==> bastion: No volumes to clean up, skipping
==> bastion: Deleting temporary security group...
2017/11/02 11:18:25 ui: ==> bastion: Deleting temporary keypair...
==> bastion: Deleting temporary keypair...
2017/11/02 11:18:26 [INFO] (telemetry) ending amazon-ebs
2017/11/02 11:18:26 [INFO] (telemetry) found error: Error removing temporary script at /tmp/script_8544.sh!
2017/11/02 11:18:26 ui error: Build 'bastion' errored: Error removing temporary script at /tmp/script_8544.sh!
2017/11/02 11:18:26 Builds completed. Waiting on interrupt barrier...
2017/11/02 11:18:26 machine readable: error-count []string{"1"}
2017/11/02 11:18:26 ui error:
==> Some builds didn't complete successfully and had errors:
2017/11/02 11:18:26 machine readable: bastion,error []string{"Error removing temporary script at /tmp/script_8544.sh!"}
2017/11/02 11:18:26 ui error: --> bastion: Error removing temporary script at /tmp/script_8544.sh!
2017/11/02 11:18:26 ui:
==> Builds finished but no artifacts were created.
2017/11/02 11:18:26 [INFO] (telemetry) Finalizing.
Build 'bastion' errored: Error removing temporary script at /tmp/script_8544.sh!
==> Some builds didn't complete successfully and had errors:
--> bastion: Error removing temporary script at /tmp/script_8544.sh!
==> Builds finished but no artifacts were created.
2017/11/02 11:18:26 waiting for all plugin processes to complete...
2017/11/02 11:18:26 /usr/bin/packer_v1.1.1: plugin process exited
2017/11/02 11:18:26 /usr/bin/packer_v1.1.1: plugin process exited
2017/11/02 11:18:26 /usr/bin/packer_v1.1.1: plugin process exited
2017/11/02 11:18:26 /usr/bin/packer_v1.1.1: plugin process exited
2017/11/02 11:18:26 /usr/bin/packer_v1.1.1: plugin process exited
2017/11/02 11:18:26 /usr/bin/packer_v1.1.1: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment