Skip to content

Instantly share code, notes, and snippets.

@lorengordon
Created April 21, 2016 16:57
Show Gist options
  • Save lorengordon/8d55cdf951fbcc711987717506288ec2 to your computer and use it in GitHub Desktop.
Save lorengordon/8d55cdf951fbcc711987717506288ec2 to your computer and use it in GitHub Desktop.
packer issue 3399
packer : 2016/04/21 10:35:09 [INFO] Packer version: 0.10.0 0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
At line:1 char:1
+ packer build .\packer-issue-3399.json *> packer-issue-3399.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2016/04/21 10:3...82eb5add16bf6bb:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
2016/04/21 10:35:09 Packer Target OS/Arch: windows amd64
2016/04/21 10:35:09 Built with Go Version: go1.6
2016/04/21 10:35:09 Using internal plugin for digitalocean
2016/04/21 10:35:09 Using internal plugin for virtualbox-ovf
2016/04/21 10:35:09 Using internal plugin for azure-arm
2016/04/21 10:35:09 Using internal plugin for docker
2016/04/21 10:35:09 Using internal plugin for null
2016/04/21 10:35:09 Using internal plugin for openstack
2016/04/21 10:35:09 Using internal plugin for virtualbox-iso
2016/04/21 10:35:09 Using internal plugin for vmware-iso
2016/04/21 10:35:09 Using internal plugin for amazon-chroot
2016/04/21 10:35:09 Using internal plugin for googlecompute
2016/04/21 10:35:09 Using internal plugin for parallels-pvm
2016/04/21 10:35:09 Using internal plugin for vmware-vmx
2016/04/21 10:35:09 Using internal plugin for file
2016/04/21 10:35:09 Using internal plugin for amazon-instance
2016/04/21 10:35:09 Using internal plugin for parallels-iso
2016/04/21 10:35:09 Using internal plugin for qemu
2016/04/21 10:35:09 Using internal plugin for amazon-ebs
2016/04/21 10:35:09 Using internal plugin for chef-client
2016/04/21 10:35:09 Using internal plugin for puppet-masterless
2016/04/21 10:35:09 Using internal plugin for shell
2016/04/21 10:35:09 Using internal plugin for shell-local
2016/04/21 10:35:09 Using internal plugin for windows-restart
2016/04/21 10:35:09 Using internal plugin for windows-shell
2016/04/21 10:35:09 Using internal plugin for ansible
2016/04/21 10:35:09 Using internal plugin for chef-solo
2016/04/21 10:35:09 Using internal plugin for file
2016/04/21 10:35:09 Using internal plugin for powershell
2016/04/21 10:35:09 Using internal plugin for puppet-server
2016/04/21 10:35:09 Using internal plugin for salt-masterless
2016/04/21 10:35:09 Using internal plugin for ansible-local
2016/04/21 10:35:09 Using internal plugin for vsphere
2016/04/21 10:35:09 Using internal plugin for artifice
2016/04/21 10:35:09 Using internal plugin for docker-push
2016/04/21 10:35:09 Using internal plugin for docker-tag
2016/04/21 10:35:09 Using internal plugin for shell-local
2016/04/21 10:35:09 Using internal plugin for docker-save
2016/04/21 10:35:09 Using internal plugin for vagrant
2016/04/21 10:35:09 Using internal plugin for vagrant-cloud
2016/04/21 10:35:09 Using internal plugin for amazon-import
2016/04/21 10:35:09 Using internal plugin for atlas
2016/04/21 10:35:09 Using internal plugin for compress
2016/04/21 10:35:09 Using internal plugin for docker-import
2016/04/21 10:35:09 Attempting to open config file: C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 10:35:09 [WARN] Config file doesn't exist: C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 10:35:09 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000
PluginMaxPort:25000 Builders:map[file:C:\Hashicorp\Packer\packer.exe-PACK
ERSPACE-plugin-PACKERSPACE-packer-builder-file
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance] PostProce
ssors:map[vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-clo
ud amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plu
gin-PACKERSPACE-packer-post-processor-artifice
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import]
Provisioners:map[ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-pu
ppet-server chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]}
2016/04/21 10:35:09 Setting cache directory: C:\Users\xxxxxxxx\Documents\GitHub\packer_cache
2016/04/21 10:35:09 Loading builder: amazon-ebs
2016/04/21 10:35:09 Plugin could not be found. Checking same directory as executable.
2016/04/21 10:35:09 Current exe path: C:\Hashicorp\Packer\packer.exe
2016/04/21 10:35:09 Creating plugin client for path: C:\Hashicorp\Packer\packer.exe
2016/04/21 10:35:09 Starting plugin: C:\Hashicorp\Packer\packer.exe []string{"C:\\Hashicorp\\Packer\\packer.exe",
"plugin", "packer-builder-amazon-ebs"}
2016/04/21 10:35:09 Waiting for RPC address for: C:\Hashicorp\Packer\packer.exe
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 [INFO] Packer version: 0.10.0
0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Packer Target OS/Arch: windows amd64
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Built with Go Version: go1.6
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for vmware-vmx
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for amazon-ebs
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for digitalocean
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for docker
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for parallels-iso
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for amazon-chroot
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for amazon-instance
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for virtualbox-iso
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for openstack
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for virtualbox-ovf
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for vmware-iso
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for azure-arm
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for file
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for googlecompute
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for null
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for parallels-pvm
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for qemu
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for puppet-server
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for salt-masterless
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for shell
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for ansible
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for ansible-local
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for powershell
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for puppet-masterless
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for windows-restart
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for windows-shell
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for chef-client
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for chef-solo
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for file
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for shell-local
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for docker-import
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for docker-push
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for docker-save
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for vagrant
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for vagrant-cloud
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for compress
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for artifice
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for atlas
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for docker-tag
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for shell-local
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for vsphere
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Using internal plugin for amazon-import
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Attempting to open config file:
C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 [WARN] Config file doesn't exist:
C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Packer config: &{DisableCheckpoint:false
DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000
Builders:map[openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean]
PostProcessors:map[atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PAC
KERSPACE-packer-post-processor-docker-tag
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress]
Provisioners:map[chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-prov
isioner-file
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]}
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Setting cache directory:
C:\Users\xxxxxxxx\Documents\GitHub\packer_cache
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 args: []string{"packer-builder-amazon-ebs"}
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Plugin minimum port: 10000
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Plugin maximum port: 25000
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Plugin address: tcp 127.0.0.1:10000
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Waiting for connection...
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Serving a plugin connection...
2016/04/21 10:35:09 ui: amazon-ebs output will be in this color.
2016/04/21 10:35:09 ui:
2016/04/21 10:35:09 Build debug mode: false
2016/04/21 10:35:09 Force build: false
2016/04/21 10:35:09 Preparing build: amazon-ebs
amazon-ebs output will be in this color.
2016/04/21 10:35:09 packer.exe: 2016/04/21 10:35:09 Config: {PackerConfig:{PackerBuildName:amazon-ebs
PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[force_deregister:false]}
AccessConfig:{AccessKey: SecretKey: RawRegion:us-east-1 Token: ProfileName:}
AMIConfig:{AMIName:packer-copy-region-test-deregister AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[]
AMIProductCodes:[] AMIRegions:[us-east-1 us-west-1 us-west-2] AMITags:map[] AMIEnhancedNetworking:false
AMIForceDeregister:false} BlockDevices:{AMIMappings:[] LaunchMappings:[{DeleteOnTermination:true DeviceName:/dev/sda1
Encrypted:false IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType:gp2 VolumeSize:8}]}
RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile:
InstanceType:t2.micro RunTags:map[] SourceAmi:ami-1c221e76 SpotPrice: SpotPriceAutoProduct: SecurityGroupId:
SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer 5718e51d-390f-202a-d841-d58c247d2af1 UserData: UserDataFile:
WindowsPasswordTimeout:10m0s VpcId: Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:centos SSHPassword: SSHPrivateKey:
SSHPty:true SSHTimeout:10m0s SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0
SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword:
WinRMHost: WinRMPort:0 WinRMTimeout:0 WinRMUseSSL:false WinRMInsecure:false WinRMTransportDecorator:<nil>}
SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x932fb0]
UserVariables:map[force_deregister:false] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs
TemplatePath:C:\Users\xxxxxxxx\Documents\GitHub\packer-issue-3399.json}}
2016/04/21 10:35:09 Waiting on builds to complete...
2016/04/21 10:35:09 Starting build run: amazon-ebs
2016/04/21 10:35:09 Running builder: amazon-ebs
2016/04/21 10:35:09 ui: ==> amazon-ebs: Prevalidating AMI Name...
==> amazon-ebs: Prevalidating AMI Name...
2016/04/21 10:35:18 ui: ==> amazon-ebs: Inspecting the source AMI...
==> amazon-ebs: Inspecting the source AMI...
2016/04/21 10:35:19 ui: ==> amazon-ebs: Creating temporary keypair: packer
5718e51d-390f-202a-d841-d58c247d2af1
==> amazon-ebs: Creating temporary keypair: packer 5718e51d-390f-202a-d841-d58c247d2af1
2016/04/21 10:35:19 ui: ==> amazon-ebs: Creating temporary security group for this instance...
==> amazon-ebs: Creating temporary security group for this instance...
2016/04/21 10:35:19 packer.exe: 2016/04/21 10:35:19 Temporary group name: packer 5718e527-09f2-0645-e2b3-a58846eb07d4
2016/04/21 10:35:19 ui: ==> amazon-ebs: Authorizing access to port 22 the temporary security group...
==> amazon-ebs: Authorizing access to port 22 the temporary security group...
2016/04/21 10:35:19 ui: ==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Launching a source AWS instance...
2016/04/21 10:35:20 ui:  amazon-ebs: Instance ID: i-863b881b
 amazon-ebs: Instance ID: i-863b881b
2016/04/21 10:35:20 ui: ==> amazon-ebs: Waiting for instance (i-863b881b) to become ready...
==> amazon-ebs: Waiting for instance (i-863b881b) to become ready...
2016/04/21 10:35:20 packer.exe: 2016/04/21 10:35:20 Waiting for state to become: running
2016/04/21 10:35:20 packer.exe: 2016/04/21 10:35:20 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 10:35:44 packer.exe: 2016/04/21 10:35:44 [INFO] Not using winrm communicator, skipping get password...
2016/04/21 10:35:44 packer.exe: 2016/04/21 10:35:44 [INFO] Waiting for SSH, up to timeout: 10m0s
2016/04/21 10:35:44 ui: ==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Waiting for SSH to become available...
2016/04/21 10:35:59 packer.exe: 2016/04/21 10:35:59 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.236.236.78:22: i/o timeout
2016/04/21 10:36:19 packer.exe: 2016/04/21 10:36:19 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.236.236.78:22: i/o timeout
2016/04/21 10:36:27 packer.exe: 2016/04/21 10:36:27 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.236.236.78:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/21 10:36:33 packer.exe: 2016/04/21 10:36:33 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.236.236.78:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/21 10:36:39 packer.exe: 2016/04/21 10:36:39 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.236.236.78:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 [INFO] Attempting SSH connection...
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 reconnecting to TCP connection for SSH
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 handshaking with SSH
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 handshake complete!
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 [ERROR] could not connect to local agent socket:
/tmp/ssh-rKVa5Uk5rlYq/agent.24228
2016/04/21 10:36:45 ui: ==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Connected to SSH!
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 Running the provision hook
2016/04/21 10:36:45 ui: ==> amazon-ebs: Stopping the source instance...
==> amazon-ebs: Stopping the source instance...
2016/04/21 10:36:45 ui: ==> amazon-ebs: Waiting for the instance to stop...
==> amazon-ebs: Waiting for the instance to stop...
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 Waiting for state to become: stopped
2016/04/21 10:36:45 packer.exe: 2016/04/21 10:36:45 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 10:37:14 ui: ==> amazon-ebs: Creating the AMI: packer-copy-region-test-deregister
==> amazon-ebs: Creating the AMI: packer-copy-region-test-deregister
2016/04/21 10:37:14 ui:  amazon-ebs: AMI: ami-9ce8f1f6
 amazon-ebs: AMI: ami-9ce8f1f6
2016/04/21 10:37:14 ui: ==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Waiting for AMI to become ready...
2016/04/21 10:37:14 packer.exe: 2016/04/21 10:37:14 Waiting for state to become: available
2016/04/21 10:37:14 packer.exe: 2016/04/21 10:37:14 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 10:37:27 ui: ==> amazon-ebs: Copying AMI (ami-9ce8f1f6) to other regions...
==> amazon-ebs: Copying AMI (ami-9ce8f1f6) to other regions...
2016/04/21 10:37:27 ui:  amazon-ebs: Avoiding copying AMI to duplicate region us-east-1
 amazon-ebs: Avoiding copying AMI to duplicate region us-east-1
2016/04/21 10:37:27 ui:  amazon-ebs: Copying to: us-west-1
 amazon-ebs: Copying to: us-west-1
2016/04/21 10:37:27 ui:  amazon-ebs: Copying to: us-west-2
 amazon-ebs: Copying to: us-west-2
2016/04/21 10:37:27 ui:  amazon-ebs: Waiting for all copies to complete...
 amazon-ebs: Waiting for all copies to complete...
2016/04/21 10:37:27 packer.exe: 2016/04/21 10:37:27 Waiting for state to become: available
2016/04/21 10:37:27 packer.exe: 2016/04/21 10:37:27 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 10:37:28 packer.exe: 2016/04/21 10:37:28 Waiting for state to become: available
2016/04/21 10:37:28 packer.exe: 2016/04/21 10:37:28 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 10:43:01 ui: ==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Terminating the source AWS instance...
2016/04/21 10:43:02 packer.exe: 2016/04/21 10:43:02 Waiting for state to become: terminated
2016/04/21 10:43:02 packer.exe: 2016/04/21 10:43:02 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 10:43:08 ui: ==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: Cleaning up any extra volumes...
2016/04/21 10:43:09 ui: ==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: No volumes to clean up, skipping
2016/04/21 10:43:09 ui: ==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary security group...
2016/04/21 10:43:09 ui: ==> amazon-ebs: Deleting temporary keypair...
==> amazon-ebs: Deleting temporary keypair...
2016/04/21 10:43:09 ui: Build 'amazon-ebs' finished.
2016/04/21 10:43:09 Builds completed. Waiting on interrupt barrier...
2016/04/21 10:43:09 ui:
==> Builds finished. The artifacts of successful builds are:
2016/04/21 10:43:09 machine readable: amazon-ebs,artifact-count []string{"1"}
Build 'amazon-ebs' finished.
==> Builds finished. The artifacts of successful builds are:
2016/04/21 10:43:09 machine readable: amazon-ebs,artifact []string{"0", "builder-id", "mitchellh.amazonebs"}
2016/04/21 10:43:09 machine readable: amazon-ebs,artifact []string{"0", "id",
"us-east-1:ami-9ce8f1f6,us-west-1:ami-f0e09f90,us-west-2:ami-4ef8092e"}
2016/04/21 10:43:09 machine readable: amazon-ebs,artifact []string{"0", "string", "AMIs were created:\n\nus-east-1:
ami-9ce8f1f6\nus-west-1: ami-f0e09f90\nus-west-2: ami-4ef8092e"}
2016/04/21 10:43:09 machine readable: amazon-ebs,artifact []string{"0", "files-count", "0"}
2016/04/21 10:43:09 machine readable: amazon-ebs,artifact []string{"0", "end"}
2016/04/21 10:43:09 ui: --> amazon-ebs: AMIs were created:
us-east-1: ami-9ce8f1f6
us-west-1: ami-f0e09f90
us-west-2: ami-4ef8092e
2016/04/21 10:43:09 waiting for all plugin processes to complete...
--> amazon-ebs: AMIs were created:
us-east-1: ami-9ce8f1f6
us-west-1: ami-f0e09f90
us-west-2: ami-4ef8092e
2016/04/21 10:43:09 C:\Hashicorp\Packer\packer.exe: plugin process exited
packer : 2016/04/21 11:11:13 [INFO] Packer version: 0.10.0 0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
At line:1 char:1
+ packer build .\packer-issue-3399.json *> packer-issue-3399-build2.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (2016/04/21 11:1...82eb5add16bf6bb:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
2016/04/21 11:11:13 Packer Target OS/Arch: windows amd64
2016/04/21 11:11:13 Built with Go Version: go1.6
2016/04/21 11:11:13 Using internal plugin for amazon-chroot
2016/04/21 11:11:13 Using internal plugin for digitalocean
2016/04/21 11:11:13 Using internal plugin for googlecompute
2016/04/21 11:11:13 Using internal plugin for docker
2016/04/21 11:11:13 Using internal plugin for openstack
2016/04/21 11:11:13 Using internal plugin for parallels-iso
2016/04/21 11:11:13 Using internal plugin for parallels-pvm
2016/04/21 11:11:13 Using internal plugin for amazon-ebs
2016/04/21 11:11:13 Using internal plugin for amazon-instance
2016/04/21 11:11:13 Using internal plugin for file
2016/04/21 11:11:13 Using internal plugin for null
2016/04/21 11:11:13 Using internal plugin for virtualbox-iso
2016/04/21 11:11:13 Using internal plugin for virtualbox-ovf
2016/04/21 11:11:13 Using internal plugin for azure-arm
2016/04/21 11:11:13 Using internal plugin for qemu
2016/04/21 11:11:13 Using internal plugin for vmware-iso
2016/04/21 11:11:13 Using internal plugin for vmware-vmx
2016/04/21 11:11:13 Using internal plugin for ansible-local
2016/04/21 11:11:13 Using internal plugin for puppet-masterless
2016/04/21 11:11:13 Using internal plugin for windows-shell
2016/04/21 11:11:13 Using internal plugin for salt-masterless
2016/04/21 11:11:13 Using internal plugin for shell
2016/04/21 11:11:13 Using internal plugin for ansible
2016/04/21 11:11:13 Using internal plugin for chef-client
2016/04/21 11:11:13 Using internal plugin for chef-solo
2016/04/21 11:11:13 Using internal plugin for file
2016/04/21 11:11:13 Using internal plugin for powershell
2016/04/21 11:11:13 Using internal plugin for puppet-server
2016/04/21 11:11:13 Using internal plugin for shell-local
2016/04/21 11:11:13 Using internal plugin for windows-restart
2016/04/21 11:11:13 Using internal plugin for docker-save
2016/04/21 11:11:13 Using internal plugin for docker-tag
2016/04/21 11:11:13 Using internal plugin for vagrant
2016/04/21 11:11:13 Using internal plugin for vsphere
2016/04/21 11:11:13 Using internal plugin for artifice
2016/04/21 11:11:13 Using internal plugin for docker-push
2016/04/21 11:11:13 Using internal plugin for compress
2016/04/21 11:11:13 Using internal plugin for docker-import
2016/04/21 11:11:13 Using internal plugin for shell-local
2016/04/21 11:11:13 Using internal plugin for vagrant-cloud
2016/04/21 11:11:13 Using internal plugin for amazon-import
2016/04/21 11:11:13 Using internal plugin for atlas
2016/04/21 11:11:13 Attempting to open config file: C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 11:11:13 [WARN] Config file doesn't exist: C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 11:11:13 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000
PluginMaxPort:25000
Builders:map[null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
googlecompute:C:\Hashicorp\Packer\pac
ker.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
virtualbox-ovf:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot]
PostProcessors:map[vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-p
lugin-PACKERSPACE-packer-post-processor-compress
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push]
Provisioners:map[shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
2016/04/21 11:11:13 Setting cache directory: C:\Users\xxxxxxxx\Documents\GitHub\packer_cache
2016/04/21 11:11:13 Loading builder: amazon-ebs
2016/04/21 11:11:13 Plugin could not be found. Checking same directory as executable.
2016/04/21 11:11:13 Current exe path: C:\Hashicorp\Packer\packer.exe
2016/04/21 11:11:13 Creating plugin client for path: C:\Hashicorp\Packer\packer.exe
2016/04/21 11:11:13 Starting plugin: C:\Hashicorp\Packer\packer.exe []string{"C:\\Hashicorp\\Packer\\packer.exe",
"plugin", "packer-builder-amazon-ebs"}
2016/04/21 11:11:13 Waiting for RPC address for: C:\Hashicorp\Packer\packer.exe
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 [INFO] Packer version: 0.10.0
0d4ee09ea5b0458d6e85a52ae82eb5add16bf6bb
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Packer Target OS/Arch: windows amd64
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Built with Go Version: go1.6
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for virtualbox-ovf
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for parallels-pvm
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for virtualbox-iso
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for qemu
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for vmware-vmx
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for docker
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for googlecompute
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for digitalocean
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for file
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for amazon-ebs
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for azure-arm
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for null
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for openstack
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for parallels-iso
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for vmware-iso
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for amazon-chroot
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for amazon-instance
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for chef-solo
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for puppet-server
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for windows-restart
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for windows-shell
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for shell
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for ansible
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for ansible-local
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for chef-client
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for file
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for powershell
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for puppet-masterless
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for salt-masterless
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for shell-local
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for compress
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for docker-import
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for docker-push
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for docker-save
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for shell-local
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for vagrant-cloud
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for amazon-import
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for artifice
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for atlas
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for docker-tag
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for vagrant
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Using internal plugin for vsphere
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Attempting to open config file:
C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 [WARN] Config file doesn't exist:
C:\Users\xxxxxxxx\AppData\Roaming\packer.config
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Packer config: &{DisableCheckpoint:false
DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[virtualbox-ovf:C:\Hashicorp\Packe
r\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
virtualbox-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
parallels-pvm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
docker:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
googlecompute:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
amazon-ebs:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
null:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
qemu:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
parallels-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
vmware-vmx:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
digitalocean:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean
azure-arm:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
openstack:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
vmware-iso:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
amazon-chroot:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
amazon-instance:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance]
PostProcessors:map[atlas:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
vagrant:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKER
SPACE-packer-post-processor-vagrant
docker-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
vagrant-cloud:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
amazon-import:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
artifice:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
docker-tag:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
vsphere:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
compress:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress
docker-push:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
docker-save:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save] Provisione
rs:map[powershell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
chef-solo:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
puppet-server:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
windows-restart:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
ansible:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
chef-client:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client
file:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
salt-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
windows-shell:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
ansible-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
puppet-masterless:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
shell-local:C:\Hashicorp\Packer\packer.exe-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local]}
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Setting cache directory:
C:\Users\xxxxxxxx\Documents\GitHub\packer_cache
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 args: []string{"packer-builder-amazon-ebs"}
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Plugin minimum port: 10000
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Plugin maximum port: 25000
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Plugin address: tcp 127.0.0.1:10000
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Waiting for connection...
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Serving a plugin connection...
2016/04/21 11:11:13 ui: amazon-ebs output will be in this color.
2016/04/21 11:11:13 ui:
2016/04/21 11:11:13 Build debug mode: false
2016/04/21 11:11:13 Force build: false
2016/04/21 11:11:13 Preparing build: amazon-ebs
amazon-ebs output will be in this color.
2016/04/21 11:11:13 packer.exe: 2016/04/21 11:11:13 Config: {PackerConfig:{PackerBuildName:amazon-ebs
PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerUserVars:map[]} AccessConfig:{AccessKey:
SecretKey: RawRegion:us-east-1 Token: ProfileName:} AMIConfig:{AMIName:packer-copy-region-test-deregister
AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[us-east-1 us-west-1 us-west-2]
AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:true} BlockDevices:{AMIMappings:[]
LaunchMappings:[{DeleteOnTermination:true DeviceName:/dev/sda1 Encrypted:false IOPS:0 NoDevice:false SnapshotId:
VirtualName: VolumeType:gp2 VolumeSize:8}]} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone:
EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi:ami-1c221e76 SpotPrice:
SpotPriceAutoProduct: SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer
5718ed91-c528-94ba-3851-584a0d910e99 UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId: Comm:{Type:ssh
SSHHost: SSHPort:22 SSHUsername:centos SSHPassword: SSHPrivateKey: SSHPty:true SSHTimeout:10m0s SSHDisableAgent:false
SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey:
SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0 WinRMUseSSL:false
WinRMInsecure:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[]
ctx:{Data:<nil> Funcs:map[clean_ami_name:0x932fb0] UserVariables:map[] EnableEnv:false BuildName:amazon-ebs
BuildType:amazon-ebs TemplatePath:C:\Users\xxxxxxxx\Documents\GitHub\packer-issue-3399.json}}
2016/04/21 11:11:13 Waiting on builds to complete...
2016/04/21 11:11:13 Starting build run: amazon-ebs
2016/04/21 11:11:13 Running builder: amazon-ebs
2016/04/21 11:11:13 ui: ==> amazon-ebs: Force Deregister flag found, skipping prevalidating AMI Name
==> amazon-ebs: Force Deregister flag found, skipping prevalidating AMI Name
2016/04/21 11:11:13 ui: ==> amazon-ebs: Inspecting the source AMI...
==> amazon-ebs: Inspecting the source AMI...
2016/04/21 11:11:14 ui: ==> amazon-ebs: Creating temporary keypair: packer
5718ed91-c528-94ba-3851-584a0d910e99
==> amazon-ebs: Creating temporary keypair: packer 5718ed91-c528-94ba-3851-584a0d910e99
2016/04/21 11:11:14 ui: ==> amazon-ebs: Creating temporary security group for this instance...
==> amazon-ebs: Creating temporary security group for this instance...
2016/04/21 11:11:14 packer.exe: 2016/04/21 11:11:14 Temporary group name: packer 5718ed92-78e6-0206-6a95-e490af076841
2016/04/21 11:11:14 ui: ==> amazon-ebs: Authorizing access to port 22 the temporary security group...
==> amazon-ebs: Authorizing access to port 22 the temporary security group...
2016/04/21 11:11:14 ui: ==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Launching a source AWS instance...
2016/04/21 11:11:15 ui:  amazon-ebs: Instance ID: i-5b12a4dc
 amazon-ebs: Instance ID: i-5b12a4dc
2016/04/21 11:11:15 ui: ==> amazon-ebs: Waiting for instance (i-5b12a4dc) to become ready...
==> amazon-ebs: Waiting for instance (i-5b12a4dc) to become ready...
2016/04/21 11:11:15 packer.exe: 2016/04/21 11:11:15 Waiting for state to become: running
2016/04/21 11:11:15 packer.exe: 2016/04/21 11:11:15 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 11:11:35 packer.exe: 2016/04/21 11:11:35 [INFO] Not using winrm communicator, skipping get password...
2016/04/21 11:11:35 packer.exe: 2016/04/21 11:11:35 [INFO] Waiting for SSH, up to timeout: 10m0s
2016/04/21 11:11:35 ui: ==> amazon-ebs: Waiting for SSH to become available...
==> amazon-ebs: Waiting for SSH to become available...
2016/04/21 11:11:50 packer.exe: 2016/04/21 11:11:50 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.210.19.165:22: i/o timeout
2016/04/21 11:12:10 packer.exe: 2016/04/21 11:12:10 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.210.19.165:22: i/o timeout
2016/04/21 11:12:24 packer.exe: 2016/04/21 11:12:24 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.210.19.165:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/21 11:12:30 packer.exe: 2016/04/21 11:12:30 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.210.19.165:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/21 11:12:36 packer.exe: 2016/04/21 11:12:36 [DEBUG] TCP connection to SSH ip/port failed: dial tcp
54.210.19.165:22: connectex: No connection could be made because the target machine actively refused it.
2016/04/21 11:12:41 packer.exe: 2016/04/21 11:12:41 [INFO] Attempting SSH connection...
2016/04/21 11:12:41 packer.exe: 2016/04/21 11:12:41 reconnecting to TCP connection for SSH
2016/04/21 11:12:41 packer.exe: 2016/04/21 11:12:41 handshaking with SSH
2016/04/21 11:12:42 packer.exe: 2016/04/21 11:12:42 handshake complete!
2016/04/21 11:12:42 packer.exe: 2016/04/21 11:12:42 [ERROR] could not connect to local agent socket:
/tmp/ssh-rKVa5Uk5rlYq/agent.24228
2016/04/21 11:12:42 ui: ==> amazon-ebs: Connected to SSH!
==> amazon-ebs: Connected to SSH!
2016/04/21 11:12:42 packer.exe: 2016/04/21 11:12:42 Running the provision hook
2016/04/21 11:12:42 ui: ==> amazon-ebs: Stopping the source instance...
==> amazon-ebs: Stopping the source instance...
2016/04/21 11:12:42 ui: ==> amazon-ebs: Waiting for the instance to stop...
==> amazon-ebs: Waiting for the instance to stop...
2016/04/21 11:12:42 packer.exe: 2016/04/21 11:12:42 Waiting for state to become: stopped
2016/04/21 11:12:42 packer.exe: 2016/04/21 11:12:42 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 11:13:12 ui: ==> amazon-ebs: Deregistered AMI packer-copy-region-test-deregister, id:
ami-9ce8f1f6
==> amazon-ebs: Deregistered AMI packer-copy-region-test-deregister, id: ami-9ce8f1f6
2016/04/21 11:13:12 ui: ==> amazon-ebs: Creating the AMI: packer-copy-region-test-deregister
==> amazon-ebs: Creating the AMI: packer-copy-region-test-deregister
2016/04/21 11:13:12 ui:  amazon-ebs: AMI: ami-19eaf373
 amazon-ebs: AMI: ami-19eaf373
2016/04/21 11:13:12 ui: ==> amazon-ebs: Waiting for AMI to become ready...
==> amazon-ebs: Waiting for AMI to become ready...
2016/04/21 11:13:12 packer.exe: 2016/04/21 11:13:12 Waiting for state to become: available
2016/04/21 11:13:12 packer.exe: 2016/04/21 11:13:12 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 11:15:25 ui: ==> amazon-ebs: Copying AMI (ami-19eaf373) to other regions...
==> amazon-ebs: Copying AMI (ami-19eaf373) to other regions...
2016/04/21 11:15:25 ui:  amazon-ebs: Avoiding copying AMI to duplicate region us-east-1
 amazon-ebs: Avoiding copying AMI to duplicate region us-east-1
2016/04/21 11:15:25 ui:  amazon-ebs: Copying to: us-west-1
 amazon-ebs: Copying to: us-west-1
2016/04/21 11:15:25 ui:  amazon-ebs: Copying to: us-west-2
 amazon-ebs: Copying to: us-west-2
2016/04/21 11:15:25 ui:  amazon-ebs: Waiting for all copies to complete...
 amazon-ebs: Waiting for all copies to complete...
2016/04/21 11:15:26 packer.exe: 2016/04/21 11:15:26 Waiting for state to become: available
2016/04/21 11:15:26 packer.exe: 2016/04/21 11:15:26 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 11:15:27 packer.exe: 2016/04/21 11:15:27 Waiting for state to become: available
2016/04/21 11:15:27 packer.exe: 2016/04/21 11:15:27 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 11:21:37 ui: ==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Terminating the source AWS instance...
2016/04/21 11:21:38 packer.exe: 2016/04/21 11:21:38 Waiting for state to become: terminated
2016/04/21 11:21:38 packer.exe: 2016/04/21 11:21:38 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
2016/04/21 11:21:44 ui: ==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: Cleaning up any extra volumes...
2016/04/21 11:21:45 ui: ==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary security group...
2016/04/21 11:21:45 ui: ==> amazon-ebs: Deleting temporary keypair...
==> amazon-ebs: Deleting temporary keypair...
2016/04/21 11:21:45 ui: Build 'amazon-ebs' finished.
2016/04/21 11:21:45 Builds completed. Waiting on interrupt barrier...
2016/04/21 11:21:45 ui:
==> Builds finished. The artifacts of successful builds are:
Build 'amazon-ebs' finished.
==> Builds finished. The artifacts of successful builds are:
2016/04/21 11:21:45 machine readable: amazon-ebs,artifact-count []string{"1"}
2016/04/21 11:21:45 machine readable: amazon-ebs,artifact []string{"0", "builder-id", "mitchellh.amazonebs"}
2016/04/21 11:21:45 machine readable: amazon-ebs,artifact []string{"0", "id",
"us-east-1:ami-19eaf373,us-west-1:ami-f9dfa099,us-west-2:ami-72e11012"}
2016/04/21 11:21:45 machine readable: amazon-ebs,artifact []string{"0", "string", "AMIs were created:\n\nus-east-1:
ami-19eaf373\nus-west-1: ami-f9dfa099\nus-west-2: ami-72e11012"}
2016/04/21 11:21:45 machine readable: amazon-ebs,artifact []string{"0", "files-count", "0"}
2016/04/21 11:21:45 machine readable: amazon-ebs,artifact []string{"0", "end"}
2016/04/21 11:21:45 ui: --> amazon-ebs: AMIs were created:
us-east-1: ami-19eaf373
us-west-1: ami-f9dfa099
us-west-2: ami-72e11012
2016/04/21 11:21:45 waiting for all plugin processes to complete...
--> amazon-ebs: AMIs were created:
us-east-1: ami-19eaf373
us-west-1: ami-f9dfa099
us-west-2: ami-72e11012
2016/04/21 11:21:45 C:\Hashicorp\Packer\packer.exe: plugin process exited
{
"builders": [
{
"type": "amazon-ebs",
"ami_name": "packer-copy-region-test-deregister",
"ami_regions": "us-east-1,us-west-1,us-west-2",
"associate_public_ip_address": true,
"communicator": "ssh",
"force_deregister": true,
"instance_type": "t2.micro",
"launch_block_device_mappings": [
{
"device_name": "/dev/sda1",
"delete_on_termination": true,
"volume_size": 8,
"volume_type": "gp2"
}
],
"region": "us-east-1",
"source_ami": "ami-1c221e76",
"ssh_username": "centos",
"ssh_port": 22,
"ssh_pty": true,
"ssh_timeout": "10m"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment