==> amazon-ebs: Waiting for instance (i-048e9f790bb8d98c6) to become
ready...
$ aws ec2 describe-instances --instance-ids i-048e9f790bb8d98c6
{
"Reservations": [
{
"ReservationId": "r-08ec7f3fd782f5a6f",
"OwnerId": "653221882153",
"Groups": [],
"Instances": [
{
"StateTransitionReason": "",
"RootDeviceName": "/dev/sda1",
"InstanceType": "m3.medium",
"Monitoring": {
"State": "disabled"
},
"PublicDnsName":
"ec2-54-209-230-84.compute-1.amazonaws.com",
"Hypervisor": "xen",
"EnaSupport": true,
"PublicIpAddress": "54.209.230.84",
"SubnetId": "subnet-12289d3d",
"BlockDeviceMappings": [
{
"DeviceName": "/dev/sda1",
"Ebs": {
"Status": "attached",
"VolumeId": "vol-05e9c5a94eb5a29a7",
"DeleteOnTermination": true,
"AttachTime": "2017-12-15T04:12:48.000Z"
}
}
],
"Tags": [
{
"Value": "Packer Builder",
"Key": "Name"
}
],
"PrivateIpAddress": "172.31.89.61",
"SecurityGroups": [
{
"GroupId": "sg-c4d0e6b1",
"GroupName":
"packer_5a334bbb-9503-77e2-c810-52fd0bd1ea20"
}
],
"State": {
"Code": 16,
"Name": "running"
},
"RootDeviceType": "ebs",
"ClientToken": "",
"VirtualizationType": "hvm",
"VpcId": "vpc-32dd984a",
"KeyName":
"packer_5a334ba7-e836-995f-7a09-39f82a741755",
"SourceDestCheck": true,
"ImageId": "ami-3dec9947",
"AmiLaunchIndex": 0,
"Architecture": "x86_64",
"NetworkInterfaces": [
{
"PrivateIpAddress": "172.31.89.61",
"MacAddress": "12:ce:72:29:d7:f0",
"Attachment": {
"AttachmentId": "eni-attach-f2b12139",
"DeviceIndex": 0,
"Status": "attached",
"DeleteOnTermination": true,
"AttachTime": "2017-12-15T04:12:47.000Z"
},
"Groups": [
{
"GroupId": "sg-c4d0e6b1",
"GroupName":
"packer_5a334bbb-9503-77e2-c810-52fd0bd1ea20"
}
],
"Status": "in-use",
"Description": "",
"OwnerId": "653221882153",
"PrivateIpAddresses": [
{
"Primary": true,
"PrivateIpAddress": "172.31.89.61",
"Association": {
"IpOwnerId": "amazon",
"PublicDnsName":
"ec2-54-209-230-84.compute-1.amazonaws.com",
"PublicIp": "54.209.230.84"
},
"PrivateDnsName":
"ip-172-31-89-61.ec2.internal"
}
],
"Association": {
"IpOwnerId": "amazon",
"PublicDnsName":
"ec2-54-209-230-84.compute-1.amazonaws.com",
"PublicIp": "54.209.230.84"
},
"NetworkInterfaceId": "eni-983fd016",
"SubnetId": "subnet-12289d3d",
"PrivateDnsName":
"ip-172-31-89-61.ec2.internal",
"VpcId": "vpc-32dd984a",
"SourceDestCheck": true
}
],
"InstanceId": "i-048e9f790bb8d98c6",
"ProductCodes": [],
"Placement": {
"AvailabilityZone": "us-east-1b",
"Tenancy": "default",
"GroupName": ""
},
"PrivateDnsName": "ip-172-31-89-61.ec2.internal",
"LaunchTime": "2017-12-15T04:12:47.000Z",
"EbsOptimized": false
}
]
}
]
}
$
Then sshing to it:
$ ssh -i ec2_amazon-ebs.pem
[email protected] date
Fri Dec 15 04:14:12 UTC 2017
$
On Thursday, December 14, 2017 at 8:09:13 AM UTC-5, Rickard von Essen wrote:
>
> I'm using a dev builds but I checked that there is no changes since 1.1.3
> which you have. IAM can't interfere with this. Can you confirm that you can
> connect from the same host that runs packer with the ubuntu user and the
> private key packer created to public ip of the instance?
>
> Can you provide the output of: aws ec2 describe-instances --instance-ids
> <instance-id>
> when packer is waiting for it to become ready.
>
> On 14 December 2017 at 13:09, Ian Wormsbecker <[email protected]
> <javascript:>> wrote:
>
>> What version of packer are you using? Perhaps there is a regression as I
>> downloaded packer just a few days ago.
>>
>> Or perhaps I have some Amazon IAM issue? I used the suggested IAM
>> template out of the documentation.
>>
>> On Dec 14, 2017 3:29 AM, "Rickard von Essen" <[email protected]
>> <javascript:>> wrote:
>>
>>> That exact template worked for me.
>>>
>>> On 14 December 2017 at 06:21, Ian W <[email protected] <javascript:>>
>>> wrote:
>>>
>>>> It always fails the 'waiting for instance' stage.
>>>> I have tried various sizes of instance_type
>>>>
>>>> ==> amazon-ebs: Adding tags to source instance
>>>> amazon-ebs: Adding tag: "Name": "Packer Builder"
>>>> 2017/12/13 23:55:52 ui: amazon-ebs: Instance ID: i-01150984b7da79d53
>>>> 2017/12/13 23:55:52 ui: ==> amazon-ebs: Waiting for instance
>>>> (i-01150984b7da79d53) to become ready...
>>>> amazon-ebs: Instance ID: i-01150984b7da79d53
>>>> ==> amazon-ebs: Waiting for instance (i-01150984b7da79d53) to become
>>>> ready...
>>>>
>>>>
>>>> I am able to see the instance up and running in aws console.
>>>> I am able to ssh to the machine at this point without issue using the
>>>> packer created pem.
>>>>
>>>>
>>>> Here is my invocation:
>>>> $ PACKER_LOG=1 packer build -debug -var 'aws_access_key=<redacted>'
>>>> -var 'aws_secret_key=<redacted>' -var "sha1_hash=$(git rev-parse HEAD)"
>>>> ami.json
>>>>
>>>>
>>>> Here is my template file:
>>>>
>>>> {
>>>> "variables": {
>>>> "aws_access_key": "",
>>>> "aws_secret_key": "",
>>>> "sha1_hash": ""
>>>> },
>>>> "builders": [{
>>>> "type": "amazon-ebs",
>>>> "access_key": "{{user `aws_access_key`}}",
>>>> "secret_key": "{{user `aws_secret_key`}}",
>>>> "region": "us-east-1",
>>>> "source_ami_filter": {
>>>> "filters": {
>>>> "virtualization-type": "hvm",
>>>> "name": "ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*",
>>>> "root-device-type": "ebs"
>>>> },
>>>> "owners": ["099720109477"],
>>>> "most_recent": true
>>>> },
>>>> "instance_type": "m3.medium",
>>>> "ssh_username": "ubuntu",
>>>> "ami_name": "myami_{{user `sha1_hash`}}"
>>>> }]
>>>> }
>>>>
>>>> Here is the full log:
>>>> 2017/12/13 23:54:51 [INFO] Packer version: 1.1.3
>>>> 2017/12/13 23:54:51 Packer Target OS/Arch: linux amd64
>>>> 2017/12/13 23:54:51 Built with Go Version: go1.9
>>>> 2017/12/13 23:54:51 Detected home directory from env var: /home/ianw
>>>> 2017/12/13 23:54:51 Using internal plugin for amazon-chroot
>>>> 2017/12/13 23:54:51 Using internal plugin for amazon-instance
>>>> 2017/12/13 23:54:51 Using internal plugin for oracle-oci
>>>> 2017/12/13 23:54:51 Using internal plugin for parallels-pvm
>>>> 2017/12/13 23:54:51 Using internal plugin for profitbricks
>>>> 2017/12/13 23:54:51 Using internal plugin for virtualbox-ovf
>>>> 2017/12/13 23:54:51 Using internal plugin for amazon-ebs
>>>> 2017/12/13 23:54:51 Using internal plugin for amazon-ebssurrogate
>>>> 2017/12/13 23:54:51 Using internal plugin for digitalocean
>>>> 2017/12/13 23:54:51 Using internal plugin for null
>>>> 2017/12/13 23:54:51 Using internal plugin for virtualbox-iso
>>>> 2017/12/13 23:54:51 Using internal plugin for googlecompute
>>>> 2017/12/13 23:54:51 Using internal plugin for file
>>>> 2017/12/13 23:54:51 Using internal plugin for hyperv-vmcx
>>>> 2017/12/13 23:54:51 Using internal plugin for lxd
>>>> 2017/12/13 23:54:51 Using internal plugin for vmware-iso
>>>> 2017/12/13 23:54:51 Using internal plugin for azure-arm
>>>> 2017/12/13 23:54:51 Using internal plugin for docker
>>>> 2017/12/13 23:54:51 Using internal plugin for hyperv-iso
>>>> 2017/12/13 23:54:51 Using internal plugin for openstack
>>>> 2017/12/13 23:54:51 Using internal plugin for triton
>>>> 2017/12/13 23:54:51 Using internal plugin for cloudstack
>>>> 2017/12/13 23:54:51 Using internal plugin for lxc
>>>> 2017/12/13 23:54:51 Using internal plugin for qemu
>>>> 2017/12/13 23:54:51 Using internal plugin for alicloud-ecs
>>>> 2017/12/13 23:54:51 Using internal plugin for oneandone
>>>> 2017/12/13 23:54:51 Using internal plugin for parallels-iso
>>>> 2017/12/13 23:54:51 Using internal plugin for vmware-vmx
>>>> 2017/12/13 23:54:51 Using internal plugin for amazon-ebsvolume
>>>> 2017/12/13 23:54:51 Using internal plugin for converge
>>>> 2017/12/13 23:54:51 Using internal plugin for puppet-masterless
>>>> 2017/12/13 23:54:51 Using internal plugin for puppet-server
>>>> 2017/12/13 23:54:51 Using internal plugin for windows-shell
>>>> 2017/12/13 23:54:51 Using internal plugin for ansible
>>>> 2017/12/13 23:54:51 Using internal plugin for ansible-local
>>>> 2017/12/13 23:54:51 Using internal plugin for chef-client
>>>> 2017/12/13 23:54:51 Using internal plugin for salt-masterless
>>>> 2017/12/13 23:54:51 Using internal plugin for powershell
>>>> 2017/12/13 23:54:51 Using internal plugin for shell
>>>> 2017/12/13 23:54:51 Using internal plugin for windows-restart
>>>> 2017/12/13 23:54:51 Using internal plugin for chef-solo
>>>> 2017/12/13 23:54:51 Using internal plugin for file
>>>> 2017/12/13 23:54:51 Using internal plugin for shell-local
>>>> 2017/12/13 23:54:51 Using internal plugin for compress
>>>> 2017/12/13 23:54:51 Using internal plugin for docker-import
>>>> 2017/12/13 23:54:51 Using internal plugin for docker-push
>>>> 2017/12/13 23:54:51 Using internal plugin for docker-tag
>>>> 2017/12/13 23:54:51 Using internal plugin for manifest
>>>> 2017/12/13 23:54:51 Using internal plugin for vagrant
>>>> 2017/12/13 23:54:51 Using internal plugin for atlas
>>>> 2017/12/13 23:54:51 Using internal plugin for googlecompute-export
>>>> 2017/12/13 23:54:51 Using internal plugin for vagrant-cloud
>>>> 2017/12/13 23:54:51 Using internal plugin for amazon-import
>>>> 2017/12/13 23:54:51 Using internal plugin for checksum
>>>> 2017/12/13 23:54:51 Using internal plugin for docker-save
>>>> 2017/12/13 23:54:51 Using internal plugin for shell-local
>>>> 2017/12/13 23:54:51 Using internal plugin for vsphere
>>>> 2017/12/13 23:54:51 Using internal plugin for vsphere-template
>>>> 2017/12/13 23:54:51 Using internal plugin for alicloud-import
>>>> 2017/12/13 23:54:51 Using internal plugin for artifice
>>>> 2017/12/13 23:54:51 Detected home directory from env var: /home/ianw
>>>> 2017/12/13 23:54:51 Attempting to open config file:
>>>> /home/ianw/.packerconfig
>>>> 2017/12/13 23:54:51 [WARN] Config file doesn't exist:
>>>> /home/ianw/.packerconfig
>>>> 2017/12/13 23:54:51 Packer config: &{DisableCheckpoint:false
>>>> DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000
>>>> Builders:map[amazon-instance:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance
>>>>
>>>> virtualbox-ovf:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf
>>>>
>>>> cloudstack:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack
>>>>
>>>> docker:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker
>>>>
>>>> alicloud-ecs:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs
>>>>
>>>> vmware-vmx:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx
>>>>
>>>> virtualbox-iso:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso
>>>>
>>>> file:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file
>>>>
>>>> vmware-iso:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso
>>>>
>>>> hyperv-iso:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso
>>>>
>>>> oneandone:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone
>>>>
>>>> parallels-iso:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso
>>>>
>>>> oracle-oci:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci
>>>>
>>>> amazon-ebssurrogate:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate
>>>>
>>>> hyperv-vmcx:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx
>>>>
>>>> amazon-ebsvolume:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume
>>>>
>>>> parallels-pvm:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm
>>>>
>>>> null:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null
>>>>
>>>> openstack:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack
>>>>
>>>> triton:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton
>>>>
>>>> lxc:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc
>>>>
>>>> qemu:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu
>>>>
>>>> profitbricks:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks
>>>>
>>>> googlecompute:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute
>>>>
>>>> lxd:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd
>>>>
>>>> azure-arm:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm
>>>>
>>>> amazon-chroot:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot
>>>>
>>>> amazon-ebs:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs
>>>>
>>>> digitalocean:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean]
>>>>
>>>> PostProcessors:map[vagrant-cloud:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud
>>>>
>>>> shell-local:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local
>>>>
>>>> googlecompute-export:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export
>>>>
>>>> checksum:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum
>>>>
>>>> docker-save:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save
>>>>
>>>> docker-tag:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag
>>>>
>>>> manifest:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest
>>>>
>>>> atlas:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas
>>>>
>>>> amazon-import:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import
>>>>
>>>> vsphere-template:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template
>>>>
>>>> artifice:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice
>>>>
>>>> docker-import:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import
>>>>
>>>> docker-push:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push
>>>>
>>>> vsphere:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere
>>>>
>>>> alicloud-import:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import
>>>>
>>>> compress:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress
>>>>
>>>> vagrant:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant]
>>>>
>>>> Provisioners:map[file:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file
>>>>
>>>> shell-local:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local
>>>>
>>>> chef-solo:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo
>>>>
>>>> puppet-masterless:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless
>>>>
>>>> puppet-server:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server
>>>>
>>>> salt-masterless:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless
>>>>
>>>> shell:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell
>>>>
>>>> windows-restart:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart
>>>>
>>>> converge:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge
>>>>
>>>> windows-shell:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell
>>>>
>>>> ansible-local:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local
>>>>
>>>> powershell:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell
>>>>
>>>> ansible:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible
>>>>
>>>> chef-client:/home/ianw/software/packer/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client]}
>>>> 2017/12/13 23:54:51 Detected home directory from env var: /home/ianw
>>>> 2017/12/13 23:54:51 Setting cache directory:
>>>> /home/ianw/WORK/CODE/analyzer-cli/package/packer/packer_cache
>>>> 2017/12/13 23:54:51 Detected home directory from env var: /home/ianw
>>>> 2017/12/13 23:54:51 Loading builder: amazon-ebs
>>>> 2017/12/13 23:54:51 Plugin could not be found. Checking same directory
>>>> as executable.
>>>> 2017/12/13 23:54:51 Current exe path: /home/ianw/software/packer/packer
>>>> 2017/12/13 23:54:51 Creating plugin client for path:
>>>> /home/ianw/software/packer/packer
>>>> 2017/12/13 23:54:51 Starting plugin: /home/ianw/software/packer/packer
>>>> []string{"/home/ianw/software/packer/packer", "plugin",
>>>> "packer-builder-amazon-ebs"}
>>>> 2017/12/13 23:54:51 Waiting for RPC address for:
>>>> /home/ianw/software/packer/packer
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 [INFO] Packer version:
>>>> 1.1.3
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Packer Target OS/Arch:
>>>> linux amd64
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Built with Go Version:
>>>> go1.9
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Detected home directory
>>>> from env var: /home/ianw
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Attempting to open
>>>> config file: /home/ianw/.packerconfig
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 [WARN] Config file
>>>> doesn't exist: /home/ianw/.packerconfig
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Packer config:
>>>> &{DisableCheckpoint:false DisableCheckpointSignature:false
>>>> PluginMinPort:10000 PluginMaxPort:25000 Builders:map[]
>>>> PostProcessors:map[]
>>>> Provisioners:map[]}
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Detected home directory
>>>> from env var: /home/ianw
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Setting cache
>>>> directory: /home/ianw/WORK/CODE/analyzer-cli/package/packer/packer_cache
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 args:
>>>> []string{"packer-builder-amazon-ebs"}
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Plugin minimum port:
>>>> 10000
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Plugin maximum port:
>>>> 25000
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Detected home directory
>>>> from env var: /home/ianw
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Plugin address: unix
>>>> /tmp/packer-plugin266249771
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Waiting for
>>>> connection...
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Serving a plugin
>>>> connection...
>>>> 2017/12/13 23:54:51 ui: Debug mode enabled. Builds will not be
>>>> parallelized.
>>>> 2017/12/13 23:54:51 ui: amazon-ebs output will be in this color.
>>>> 2017/12/13 23:54:51 ui:
>>>> 2017/12/13 23:54:51 Build debug mode: true
>>>> 2017/12/13 23:54:51 Force build: false
>>>> 2017/12/13 23:54:51 On error:
>>>> 2017/12/13 23:54:51 Preparing build: amazon-ebs
>>>> Debug mode enabled. Builds will not be parallelized.
>>>> amazon-ebs output will be in this color.
>>>>
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Config:
>>>> {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs
>>>> PackerDebug:true PackerForce:false PackerOnError:
>>>> PackerUserVars:map[aws_access_key:<Filtered> aws_secret_key:<Filtered>
>>>> sha1_hash:a0dc01cb86eef2bed9bc286b39433d3888df1535]}
>>>> AccessConfig:{AccessKey:<Filtered> CustomEndpointEc2: MFACode:
>>>> ProfileName:
>>>> RawRegion:us-east-1 SecretKey:<Filtered> SkipValidation:false Token:
>>>> session:<nil>}
>>>> AMIConfig:{AMIName:myami_a0dc01cb86eef2bed9bc286b39433d3888df1535
>>>> AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[]
>>>> AMIRegions:[] AMISkipRegionValidation:false AMITags:map[]
>>>> AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false
>>>> AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId:
>>>> AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[]
>>>> SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]}
>>>> LaunchBlockDevices:{LaunchMappings:[]}}
>>>> RunConfig:{AssociatePublicIpAddress:false AvailabilityZone:
>>>> EbsOptimized:false IamInstanceProfile: InstanceType:m3.medium
>>>> RunTags:map[]
>>>> SourceAmi: SourceAmiFilter:{Filters:map[0xc42043a080:0xc42043a0a0
>>>> 0xc42043a0c0:0xc42043a0e0 0xc42043a100:0xc42043a120] Owners:[0xc42043a1a0]
>>>> MostRecent:true} SpotPrice: SpotPriceAutoProduct:
>>>> DisableStopInstance:false
>>>> SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0
>>>> SubnetId: TemporaryKeyPairName:packer_5a32041b-2e71-bf02-3989-bfc3044d403d
>>>> UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:
>>>> InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22
>>>> SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false
>>>> SSHTimeout:5m0s
>>>> SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10
>>>> SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false
>>>> SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey:
>>>> SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername:
>>>> SSHProxyPassword: WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0
>>>> WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false
>>>> WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false
>>>> SSHInterface:} VolumeRunTags:map[] ctx:{Data:<nil>
>>>> Funcs:map[clean_ami_name:0xc63f40]
>>>> UserVariables:map[sha1_hash:a0dc01cb86eef2bed9bc286b39433d3888df1535
>>>> aws_access_key:<Filtered> aws_secret_key:<Filtered>] EnableEnv:false
>>>> BuildName:amazon-ebs BuildType:amazon-ebs
>>>> TemplatePath:/home/ianw/WORK/CODE/analyzer-cli/package/packer/ami.json}}
>>>> 2017/12/13 23:54:51 Debug enabled, so waiting for build to finish:
>>>> amazon-ebs
>>>> 2017/12/13 23:54:51 Starting build run: amazon-ebs
>>>> 2017/12/13 23:54:51 Running builder: amazon-ebs
>>>> 2017/12/13 23:54:51 [INFO] (telemetry) Starting builder amazon-ebs
>>>> 2017/12/13 23:54:51 packer: 2017/12/13 23:54:51 Found region us-east-1
>>>> 2017/12/13 23:54:51 ui: ==> amazon-ebs: Prevalidating AMI Name:
>>>> myami_a0dc01cb86eef2bed9bc286b39433d3888df1535
>>>> ==> amazon-ebs: Prevalidating AMI Name:
>>>> myami_a0dc01cb86eef2bed9bc286b39433d3888df1535
>>>> 2017/12/13 23:54:54 ui: ask: ==> amazon-ebs: Pausing after run of step
>>>> 'StepPreValidate'. Press enter to continue.
>>>> ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press
>>>> enter to continue.
>>>> 2017/12/13 23:55:43 packer: 2017/12/13 23:55:43 Using AMI Filters {
>>>> 2017/12/13 23:55:43 packer: Filters: [{
>>>> 2017/12/13 23:55:43 packer: Name: "root-device-type",
>>>> 2017/12/13 23:55:43 packer: Values: ["ebs"]
>>>> 2017/12/13 23:55:43 packer: },{
>>>> 2017/12/13 23:55:43 packer: Name: "virtualization-type",
>>>> 2017/12/13 23:55:43 packer: Values: ["hvm"]
>>>> 2017/12/13 23:55:43 packer: },{
>>>> 2017/12/13 23:55:43 packer: Name: "name",
>>>> 2017/12/13 23:55:43 packer: Values:
>>>> ["ubuntu/images/*ubuntu-xenial-16.04-amd64-server-*"]
>>>> 2017/12/13 23:55:43 packer: }],
>>>> 2017/12/13 23:55:43 packer: Owners: ["099720109477"]
>>>> 2017/12/13 23:55:43 packer: }
>>>> 2017/12/13 23:55:46 ui: amazon-ebs: Found Image ID: ami-3dec9947
>>>> amazon-ebs: Found Image ID: ami-3dec9947
>>>> 2017/12/13 23:55:46 ui: ask: ==> amazon-ebs: Pausing after run of step
>>>> 'StepSourceAMIInfo'. Press enter to continue.
>>>> ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press
>>>> enter to continue.
>>>> 2017/12/13 23:55:47 ui: ==> amazon-ebs: Creating temporary keypair:
>>>> packer_5a32041b-2e71-bf02-3989-bfc3044d403d
>>>> ==> amazon-ebs: Creating temporary keypair:
>>>> packer_5a32041b-2e71-bf02-3989-bfc3044d403d
>>>> 2017/12/13 23:55:47 ui: amazon-ebs: Saving key for debug purposes:
>>>> ec2_amazon-ebs.pem
>>>> amazon-ebs: Saving key for debug purposes: ec2_amazon-ebs.pem
>>>> 2017/12/13 23:55:47 ui: ask: ==> amazon-ebs: Pausing after run of step
>>>> 'StepKeyPair'. Press enter to continue.
>>>> ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to
>>>> continue.
>>>> 2017/12/13 23:55:47 ui: ==> amazon-ebs: Creating temporary security
>>>> group for this instance: packer_5a320453-4f56-ee31-2999-b5c0b37c31e3
>>>> ==> amazon-ebs: Creating temporary security group for this instance:
>>>> packer_5a320453-4f56-ee31-2999-b5c0b37c31e3
>>>> 2017/12/13 23:55:48 ui: ==> amazon-ebs: Authorizing access to port 22
>>>> from 0.0.0.0/0 in the temporary security group...
>>>> ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the
>>>> temporary security group...
>>>> 2017/12/13 23:55:48 packer: 2017/12/13 23:55:48 [DEBUG] Waiting for
>>>> temporary security group: sg-8f2109fa
>>>> 2017/12/13 23:55:48 packer: 2017/12/13 23:55:48 [DEBUG] Found security
>>>> group sg-8f2109fa
>>>> 2017/12/13 23:55:48 ui: ask: ==> amazon-ebs: Pausing after run of step
>>>> 'StepSecurityGroup'. Press enter to continue.
>>>> ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press
>>>> enter to continue.
>>>> 2017/12/13 23:55:50 ui: ask: ==> amazon-ebs: Pausing after run of step
>>>> 'stepCleanupVolumes'. Press enter to continue.
>>>> ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press
>>>> enter to continue.
>>>> 2017/12/13 23:55:51 ui: ==> amazon-ebs: Launching a source AWS
>>>> instance...
>>>> ==> amazon-ebs: Launching a source AWS instance...
>>>> 2017/12/13 23:55:51 ui: ==> amazon-ebs: Adding tags to source instance
>>>> 2017/12/13 23:55:51 ui: amazon-ebs: Adding tag: "Name": "Packer
>>>> Builder"
>>>> ==> amazon-ebs: Adding tags to source instance
>>>> amazon-ebs: Adding tag: "Name": "Packer Builder"
>>>> 2017/12/13 23:55:52 ui: amazon-ebs: Instance ID: i-01150984b7da79d53
>>>> 2017/12/13 23:55:52 ui: ==> amazon-ebs: Waiting for instance
>>>> (i-01150984b7da79d53) to become ready...
>>>> amazon-ebs: Instance ID: i-01150984b7da79d53
>>>> ==> amazon-ebs: Waiting for instance (i-01150984b7da79d53) to become
>>>> ready...
>>>>
>>>> It eventually times out and gives up :)
>>>>
>>>> --
>>>> This mailing list is governed under the HashiCorp Community Guidelines
>>>> - https://www.hashicorp.com/community-guidelines.html. Behavior in
>>>> violation of those guidelines may result in your removal from this mailing
>>>> list.
>>>>
>>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>>> IRC: #packer-tool on Freenode
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Packer" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected] <javascript:>.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/packer-tool/b006b833-47c4-46f9-8583-74f45686d0cb%40googlegroups.com
>>>>
>>>> <https://groups.google.com/d/msgid/packer-tool/b006b833-47c4-46f9-8583-74f45686d0cb%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> --
>>> This mailing list is governed under the HashiCorp Community Guidelines -
>>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>>> violation of those guidelines may result in your removal from this mailing
>>> list.
>>>
>>> GitHub Issues: https://github.com/mitchellh/packer/issues
>>> IRC: #packer-tool on Freenode
>>> ---
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Packer" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/packer-tool/q8JC6JaHAIs/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> [email protected] <javascript:>.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/packer-tool/CALz9Rt-O10DEn4XP%3Ds7zfPr2R_3kYs7TJhtFhzFRpuFsqdkbxg%40mail.gmail.com
>>>
>>> <https://groups.google.com/d/msgid/packer-tool/CALz9Rt-O10DEn4XP%3Ds7zfPr2R_3kYs7TJhtFhzFRpuFsqdkbxg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> This mailing list is governed under the HashiCorp Community Guidelines -
>> https://www.hashicorp.com/community-guidelines.html. Behavior in
>> violation of those guidelines may result in your removal from this mailing
>> list.
>>
>> GitHub Issues: https://github.com/mitchellh/packer/issues
>> IRC: #packer-tool on Freenode
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "Packer" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/packer-tool/CAK2p-L9Z7WQ%3DMwpAietunOu-gFdzhpD07eKAow-dPuoQF1EWrg%40mail.gmail.com
>>
>> <https://groups.google.com/d/msgid/packer-tool/CAK2p-L9Z7WQ%3DMwpAietunOu-gFdzhpD07eKAow-dPuoQF1EWrg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
---
You received this message because you are subscribed to the Google Groups
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/packer-tool/37a82ed8-2c55-4097-95f0-2c607bff72bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.