Skip to content

Instantly share code, notes, and snippets.

@JChrist
Created January 16, 2017 13:45
Show Gist options
  • Save JChrist/297d906e271c2b5e38874a0b092615fe to your computer and use it in GitHub Desktop.
Save JChrist/297d906e271c2b5e38874a0b092615fe to your computer and use it in GitHub Desktop.
packer debug log
starting packer build with iam instance profile name: ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W
2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 Using internal plugin for virtualbox-iso
2017/01/16 13:15:06 Using internal plugin for virtualbox-ovf
2017/01/16 13:15:06 Using internal plugin for vmware-iso
2017/01/16 13:15:06 Using internal plugin for azure-arm
2017/01/16 13:15:06 Using internal plugin for digitalocean
2017/01/16 13:15:06 Using internal plugin for docker
2017/01/16 13:15:06 Using internal plugin for profitbricks
2017/01/16 13:15:06 Using internal plugin for qemu
2017/01/16 13:15:06 Using internal plugin for amazon-instance
2017/01/16 13:15:06 Using internal plugin for cloudstack
2017/01/16 13:15:06 Using internal plugin for openstack
2017/01/16 13:15:06 Using internal plugin for parallels-iso
2017/01/16 13:15:06 Using internal plugin for vmware-vmx
2017/01/16 13:15:06 Using internal plugin for amazon-ebs
2017/01/16 13:15:06 Using internal plugin for amazon-ebsvolume
2017/01/16 13:15:06 Using internal plugin for file
2017/01/16 13:15:06 Using internal plugin for parallels-pvm
2017/01/16 13:15:06 Using internal plugin for amazon-chroot
2017/01/16 13:15:06 Using internal plugin for googlecompute
2017/01/16 13:15:06 Using internal plugin for null
2017/01/16 13:15:06 Using internal plugin for chef-solo
2017/01/16 13:15:06 Using internal plugin for powershell
2017/01/16 13:15:06 Using internal plugin for puppet-masterless
2017/01/16 13:15:06 Using internal plugin for puppet-server
2017/01/16 13:15:06 Using internal plugin for shell-local
2017/01/16 13:15:06 Using internal plugin for windows-restart
2017/01/16 13:15:06 Using internal plugin for ansible
2017/01/16 13:15:06 Using internal plugin for chef-client
2017/01/16 13:15:06 Using internal plugin for salt-masterless
2017/01/16 13:15:06 Using internal plugin for shell
2017/01/16 13:15:06 Using internal plugin for windows-shell
2017/01/16 13:15:06 Using internal plugin for ansible-local
2017/01/16 13:15:06 Using internal plugin for file
2017/01/16 13:15:06 Using internal plugin for vsphere
2017/01/16 13:15:06 Using internal plugin for artifice
2017/01/16 13:15:06 Using internal plugin for vagrant
2017/01/16 13:15:06 Using internal plugin for checksum
2017/01/16 13:15:06 Using internal plugin for docker-import
2017/01/16 13:15:06 Using internal plugin for docker-save
2017/01/16 13:15:06 Using internal plugin for docker-tag
2017/01/16 13:15:06 Using internal plugin for shell-local
2017/01/16 13:15:06 Using internal plugin for amazon-import
2017/01/16 13:15:06 Using internal plugin for atlas
2017/01/16 13:15:06 Using internal plugin for vagrant-cloud
2017/01/16 13:15:06 Using internal plugin for compress
2017/01/16 13:15:06 Using internal plugin for manifest
2017/01/16 13:15:06 Using internal plugin for docker-push
2017/01/16 13:15:06 Using internal plugin for googlecompute-export
2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[virtualbox-iso:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso azure-arm:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-pvm:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm null:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null virtualbox-ovf:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume googlecompute:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute digitalocean:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean cloudstack:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack openstack:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-iso:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso vmware-vmx:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-ebs:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs profitbricks:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks qemu:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-instance:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance file:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-chroot:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot] PostProcessors:map[docker-push:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export artifice:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vagrant:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant checksum:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vagrant-cloud:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-import:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-save:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save manifest:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-tag:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag shell-local:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import atlas:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map[puppet-masterless:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell-local:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart shell:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible-local:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local file:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-solo:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo]}
2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 Loading builder: amazon-ebs
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-builder-amazon-ebs"}
2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-builder-amazon-ebs"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin607002787
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: shell
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-shell"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-shell"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin687539733
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: file
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin492790496
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: file
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin197148249
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: file
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin663084207
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: file
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin229260145
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: file
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin552701736
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Loading provisioner: chef-client
2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-chef-client"}
2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-chef-client"}
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin059830552
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
2017/01/16 13:15:06 Build debug mode: false
2017/01/16 13:15:06 Force build: false
2017/01/16 13:15:06 On error:
2017/01/16 13:15:06 Preparing build: my_app_aws
1484572506,,ui,say,my_app_aws output will be in this color.
1484572506,,ui,say,
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Config: {PackerConfig:{PackerBuildName:my_app_aws PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_access_key_id: ssh_password: environment:aws ssh_port: ssh_username: aws_region:eu-west-1 ssh_host: x509_cert_path: account_id: chef_dir:/tmp/packer-chef-client chef_run_list: installation_name:ubuntu iam_instance_profile_name:ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W aws_secret_key: user_home:/root image_name:]} AccessConfig:{AccessKey: SecretKey: RawRegion:eu-west-1 SkipValidation:false Token: ProfileName:} AMIConfig:{AMIName:my-app-aws 1484572506 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false AMIEncryptBootVolume:false} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile:ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W InstanceType:t2.small RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4203b53a0:0xc4203b53c0 0xc4203b5320:0xc4203b5340 0xc4203b5360:0xc4203b5380] Owners:[0xc4203b5440] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer_587cc75a-dcf2-4026-b691-1e5e2464068b UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x8ecf90] UserVariables:map[environment:aws aws_secret_key: chef_dir:/tmp/packer-chef-client image_name: x509_cert_path: iam_instance_profile_name:ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W aws_region:eu-west-1 ssh_host: chef_run_list: aws_access_key_id: ssh_port: user_home:/root ssh_username: installation_name:ubuntu ssh_password: account_id:] EnableEnv:false BuildName:my_app_aws BuildType:amazon-ebs TemplatePath:/root/workspace/app_aws_installation/my-app.json}}
2017/01/16 13:15:06 Waiting on builds to complete...
2017/01/16 13:15:06 Starting build run: my_app_aws
2017/01/16 13:15:06 Running builder: amazon-ebs
1484572506,,ui,say,==> my_app_aws: Prevalidating AMI Name...
2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Using AMI Filters {
2017/01/16 13:15:06 packer: Filters: [{
2017/01/16 13:15:06 packer: Name: "virtualization-type",
2017/01/16 13:15:06 packer: Values: ["hvm"]
2017/01/16 13:15:06 packer: },{
2017/01/16 13:15:06 packer: Name: "name",
2017/01/16 13:15:06 packer: Values: ["*ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server*"]
2017/01/16 13:15:06 packer: },{
2017/01/16 13:15:06 packer: Name: "root-device-type",
2017/01/16 13:15:06 packer: Values: ["ebs"]
2017/01/16 13:15:06 packer: }]
2017/01/16 13:15:06 packer: }
1484572507,,ui,message, my_app_aws: Found Image ID: ami-d8f4deab
1484572507,,ui,say,==> my_app_aws: Creating temporary keypair: packer_587cc75a-dcf2-4026-b691-1e5e2464068b
2017/01/16 13:15:07 packer: 2017/01/16 13:15:07 Temporary group name: packer 587cc75b-ebc1-9937-3f91-0bf051ba6421
1484572507,,ui,say,==> my_app_aws: Creating temporary security group for this instance...
1484572507,,ui,say,==> my_app_aws: Authorizing access to port 22 the temporary security group...
2017/01/16 13:15:07 packer: 2017/01/16 13:15:07 [DEBUG] Waiting for tempSecurityGroup: sg-6f4a0109
2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 [DEBUG] Found security group sg-6f4a0109
1484572508,,ui,say,==> my_app_aws: Launching a source AWS instance...
1484572508,,ui,message, my_app_aws: Instance ID: i-0613d002f74da8994
2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 Waiting for state to become: running
2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
1484572508,,ui,say,==> my_app_aws: Waiting for instance (i-0613d002f74da8994) to become ready...
2017/01/16 13:15:29 packer: 2017/01/16 13:15:29 [INFO] Not using winrm communicator, skipping get password...
2017/01/16 13:15:29 packer: 2017/01/16 13:15:29 [INFO] Waiting for SSH, up to timeout: 5m0s
1484572529,,ui,say,==> my_app_aws: Waiting for SSH to become available...
2017/01/16 13:15:44 packer: 2017/01/16 13:15:44 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.194.248.129:22: i/o timeout
2017/01/16 13:16:04 packer: 2017/01/16 13:16:04 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.194.248.129:22: i/o timeout
2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 [INFO] Attempting SSH connection...
2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 reconnecting to TCP connection for SSH
2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 handshaking with SSH
2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 handshake complete!
2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 opening new ssh session
2017/01/16 13:16:10 packer: 2017/01/16 13:16:10 [INFO] agent forwarding enabled
2017/01/16 13:16:10 packer: 2017/01/16 13:16:10 Running the provision hook
1484572570,,ui,say,==> my_app_aws: Connected to SSH!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment