Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ packer build -debug -var-file=vars/development.json xxx-sharedsvcs-ami.json
- 2017/10/26 13:45:04 [INFO] Packer version: 1.1.1
- 2017/10/26 13:45:04 Packer Target OS/Arch: darwin amd64
- 2017/10/26 13:45:04 Built with Go Version: go1.9
- 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:04 Using internal plugin for parallels-pvm
- 2017/10/26 13:45:04 Using internal plugin for vmware-vmx
- 2017/10/26 13:45:04 Using internal plugin for amazon-ebssurrogate
- 2017/10/26 13:45:04 Using internal plugin for hyperv-vmcx
- 2017/10/26 13:45:04 Using internal plugin for amazon-ebs
- 2017/10/26 13:45:04 Using internal plugin for oneandone
- 2017/10/26 13:45:04 Using internal plugin for lxd
- 2017/10/26 13:45:04 Using internal plugin for oracle-oci
- 2017/10/26 13:45:04 Using internal plugin for alicloud-ecs
- 2017/10/26 13:45:04 Using internal plugin for docker
- 2017/10/26 13:45:04 Using internal plugin for qemu
- 2017/10/26 13:45:04 Using internal plugin for virtualbox-ovf
- 2017/10/26 13:45:04 Using internal plugin for lxc
- 2017/10/26 13:45:04 Using internal plugin for openstack
- 2017/10/26 13:45:04 Using internal plugin for file
- 2017/10/26 13:45:04 Using internal plugin for hyperv-iso
- 2017/10/26 13:45:04 Using internal plugin for triton
- 2017/10/26 13:45:04 Using internal plugin for azure-arm
- 2017/10/26 13:45:04 Using internal plugin for digitalocean
- 2017/10/26 13:45:04 Using internal plugin for cloudstack
- 2017/10/26 13:45:04 Using internal plugin for profitbricks
- 2017/10/26 13:45:04 Using internal plugin for virtualbox-iso
- 2017/10/26 13:45:04 Using internal plugin for vmware-iso
- 2017/10/26 13:45:04 Using internal plugin for amazon-ebsvolume
- 2017/10/26 13:45:04 Using internal plugin for amazon-instance
- 2017/10/26 13:45:04 Using internal plugin for amazon-chroot
- 2017/10/26 13:45:04 Using internal plugin for null
- 2017/10/26 13:45:04 Using internal plugin for googlecompute
- 2017/10/26 13:45:04 Using internal plugin for parallels-iso
- 2017/10/26 13:45:04 Using internal plugin for windows-restart
- 2017/10/26 13:45:04 Using internal plugin for chef-client
- 2017/10/26 13:45:04 Using internal plugin for powershell
- 2017/10/26 13:45:04 Using internal plugin for shell-local
- 2017/10/26 13:45:04 Using internal plugin for shell
- 2017/10/26 13:45:04 Using internal plugin for windows-shell
- 2017/10/26 13:45:04 Using internal plugin for ansible
- 2017/10/26 13:45:04 Using internal plugin for converge
- 2017/10/26 13:45:04 Using internal plugin for puppet-server
- 2017/10/26 13:45:04 Using internal plugin for file
- 2017/10/26 13:45:04 Using internal plugin for salt-masterless
- 2017/10/26 13:45:04 Using internal plugin for ansible-local
- 2017/10/26 13:45:04 Using internal plugin for chef-solo
- 2017/10/26 13:45:04 Using internal plugin for puppet-masterless
- 2017/10/26 13:45:04 Using internal plugin for vagrant
- 2017/10/26 13:45:04 Using internal plugin for vagrant-cloud
- 2017/10/26 13:45:04 Using internal plugin for vsphere
- 2017/10/26 13:45:04 Using internal plugin for checksum
- 2017/10/26 13:45:04 Using internal plugin for docker-tag
- 2017/10/26 13:45:04 Using internal plugin for googlecompute-export
- 2017/10/26 13:45:04 Using internal plugin for manifest
- 2017/10/26 13:45:04 Using internal plugin for alicloud-import
- 2017/10/26 13:45:04 Using internal plugin for docker-import
- 2017/10/26 13:45:04 Using internal plugin for docker-push
- 2017/10/26 13:45:04 Using internal plugin for shell-local
- 2017/10/26 13:45:04 Using internal plugin for amazon-import
- 2017/10/26 13:45:04 Using internal plugin for compress
- 2017/10/26 13:45:04 Using internal plugin for vsphere-template
- 2017/10/26 13:45:04 Using internal plugin for artifice
- 2017/10/26 13:45:04 Using internal plugin for atlas
- 2017/10/26 13:45:04 Using internal plugin for docker-save
- 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:04 Attempting to open config file: /Users/<user>/.packerconfig
- 2017/10/26 13:45:04 [WARN] Config file doesn't exist: /Users/<user>/.packerconfig
- 2017/10/26 13:45:04 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack] PostProcessors:map[compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest] Provisioners:map[converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]}
- 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:04 Setting cache directory: /Users/<user>/Projects/xxx-sharedsvcs-ami/packer_cache
- 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:04 Loading builder: amazon-ebs
- 2017/10/26 13:45:04 Plugin could not be found. Checking same directory as executable.
- 2017/10/26 13:45:04 Current exe path: /usr/local/bin/packer
- 2017/10/26 13:45:04 Creating plugin client for path: /usr/local/bin/packer
- 2017/10/26 13:45:04 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
- 2017/10/26 13:45:04 Waiting for RPC address for: /usr/local/bin/packer
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] Packer version: 1.1.1
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Packer Target OS/Arch: darwin amd64
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Built with Go Version: go1.9
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Attempting to open config file: /Users/<user>/.packerconfig
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [WARN] Config file doesn't exist: /Users/<user>/.packerconfig
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Setting cache directory: /Users/<user>/Projects/xxx-sharedsvcs-ami/packer_cache
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 args: []string{"packer-builder-amazon-ebs"}
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin minimum port: 10000
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin maximum port: 25000
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin address: unix /var/folders/7k/59p35jy90h9gl9k1j3dr43z8y8n6rc/T/packer-plugin188448425
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Waiting for connection...
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Serving a plugin connection...
- 2017/10/26 13:45:05 ui: Debug mode enabled. Builds will not be parallelized.
- 2017/10/26 13:45:05 ui: amazon-ebs output will be in this color.
- 2017/10/26 13:45:05 ui:
- 2017/10/26 13:45:05 Build debug mode: true
- 2017/10/26 13:45:05 Force build: false
- 2017/10/26 13:45:05 On error:
- 2017/10/26 13:45:05 Preparing build: amazon-ebs
- Debug mode enabled. Builds will not be parallelized.
- amazon-ebs output will be in this color.
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:true PackerForce:false PackerOnError: PackerUserVars:map[release_year:2017 release_month:09 ami_name:xxx-sharedsvcs-ami-1509043504]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-west-2 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:xxx-sharedsvcs-ami-1509043504 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:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4204aaba0:0xc4204aabc0 0xc4204aaaa0:0xc4204aaac0 0xc4204aaae0:0xc4204aab00 0xc4204aab20:0xc4204aab40 0xc4204aab60:0xc4204aab80] Owners:[] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-aafbdff1 TemporaryKeyPairName: UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-84367ce2 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey:/Users/<user>/.ssh/keys/xxx-sharedsvc-deploy.pem SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHamiHost: SSHamiPort:0 SSHamiAgentAuth:false SSHamiUsername: SSHamiPassword: SSHamiPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName:xxx-sharedsvc-deploy SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1862a90] UserVariables:map[release_month:09 ami_name:xxx-sharedsvcs-ami-1509043504 release_year:2017] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/<user>/Projects/xxx-sharedsvcs-ami/xxx-sharedsvcs-ami.json}}
- 2017/10/26 13:45:05 Debug enabled, so waiting for build to finish: amazon-ebs
- 2017/10/26 13:45:05 Starting build run: amazon-ebs
- 2017/10/26 13:45:05 Running builder: amazon-ebs
- 2017/10/26 13:45:05 [INFO] (telemetry) Starting builder amazon-ebs
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] Finding AZ and VpcId for the given subnet 'subnet-aafbdff1'
- 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] AvailabilityZone found: 'us-west-2c'
- 2017/10/26 13:45:05 ui: ==> amazon-ebs: Prevalidating AMI Name: xxx-sharedsvcs-ami-1509043504
- ==> amazon-ebs: Prevalidating AMI Name: xxx-sharedsvcs-ami-1509043504
- 2017/10/26 13:45:06 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/10/26 13:45:07 packer: 2017/10/26 13:45:07 Using AMI Filters {
- 2017/10/26 13:45:07 packer: Filters: [
- 2017/10/26 13:45:07 packer: {
- 2017/10/26 13:45:07 packer: Name: "architecture",
- 2017/10/26 13:45:07 packer: Values: ["x86_64"]
- 2017/10/26 13:45:07 packer: },
- 2017/10/26 13:45:07 packer: {
- 2017/10/26 13:45:07 packer: Name: "root-device-type",
- 2017/10/26 13:45:07 packer: Values: ["ebs"]
- 2017/10/26 13:45:07 packer: },
- 2017/10/26 13:45:07 packer: {
- 2017/10/26 13:45:07 packer: Name: "owner-alias",
- 2017/10/26 13:45:07 packer: Values: ["amazon"]
- 2017/10/26 13:45:07 packer: },
- 2017/10/26 13:45:07 packer: {
- 2017/10/26 13:45:07 packer: Name: "name",
- 2017/10/26 13:45:07 packer: Values: ["amzn-ami-hvm-2017.09*-gp2"]
- 2017/10/26 13:45:07 packer: },
- 2017/10/26 13:45:07 packer: {
- 2017/10/26 13:45:07 packer: Name: "virtualization-type",
- 2017/10/26 13:45:07 packer: Values: ["hvm"]
- 2017/10/26 13:45:07 packer: }
- 2017/10/26 13:45:07 packer: ]
- 2017/10/26 13:45:07 packer: }
- 2017/10/26 13:45:08 ui: amazon-ebs: Found Image ID: ami-e689729e
- amazon-ebs: Found Image ID: ami-e689729e
- 2017/10/26 13:45:08 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/10/26 13:45:09 ui: ==> amazon-ebs: Using existing SSH private key
- ==> amazon-ebs: Using existing SSH private key
- 2017/10/26 13:45:09 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/10/26 13:45:13 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_59f22d39-9ca4-7cba-e3b8-cd21796ce5d2
- ==> amazon-ebs: Creating temporary security group for this instance: packer_59f22d39-9ca4-7cba-e3b8-cd21796ce5d2
- 2017/10/26 13:45:13 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/10/26 13:45:13 packer: 2017/10/26 13:45:13 [DEBUG] Waiting for temporary security group: sg-9d85c1e0
- 2017/10/26 13:45:13 packer: 2017/10/26 13:45:13 [DEBUG] Found security group sg-9d85c1e0
- 2017/10/26 13:45:13 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/10/26 13:45:16 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/10/26 13:45:17 ui: ==> amazon-ebs: Launching a source AWS instance...
- ==> amazon-ebs: Launching a source AWS instance...
- 2017/10/26 13:45:17 ui: ==> amazon-ebs: Adding tags to source instance
- ==> amazon-ebs: Adding tags to source instance
- 2017/10/26 13:45:17 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
- amazon-ebs: Adding tag: "Name": "Packer Builder"
- 2017/10/26 13:45:18 ui: amazon-ebs: Instance ID: i-0ce321c282b45f381
- amazon-ebs: Instance ID: i-0ce321c282b45f381
- 2017/10/26 13:45:18 ui: ==> amazon-ebs: Waiting for instance (i-0ce321c282b45f381) to become ready...
- 2017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Waiting for state to become: running
- 2017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
- 2017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
- ==> amazon-ebs: Waiting for instance (i-0ce321c282b45f381) to become ready...
- 2017/10/26 13:45:46 ui: amazon-ebs: Public DNS: ec2-52-43-167-102.us-west-2.compute.amazonaws.com
- amazon-ebs: Public DNS: ec2-52-43-167-102.us-west-2.compute.amazonaws.com
- 2017/10/26 13:45:46 ui: amazon-ebs: Public IP: 52.43.167.102
- amazon-ebs: Public IP: 52.43.167.102
- 2017/10/26 13:45:46 ui: amazon-ebs: Private IP: 172.22.10.109
- amazon-ebs: Private IP: 172.22.10.109
- 2017/10/26 13:45:46 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue.
- ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue.
- 2017/10/26 13:45:50 packer: 2017/10/26 13:45:50 [INFO] Not using winrm communicator, skipping get password...
- 2017/10/26 13:45:50 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue.
- ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue.
- 2017/10/26 13:45:51 packer: 2017/10/26 13:45:51 [INFO] Waiting for SSH, up to timeout: 5m0s
- 2017/10/26 13:45:51 ui: ==> amazon-ebs: Waiting for SSH to become available...
- ==> amazon-ebs: Waiting for SSH to become available...
- 2017/10/26 13:46:06 packer: 2017/10/26 13:46:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:46:26 packer: 2017/10/26 13:46:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:46:46 packer: 2017/10/26 13:46:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:47:06 packer: 2017/10/26 13:47:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:47:26 packer: 2017/10/26 13:47:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:47:46 packer: 2017/10/26 13:47:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:48:06 packer: 2017/10/26 13:48:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:48:26 packer: 2017/10/26 13:48:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:48:46 packer: 2017/10/26 13:48:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:49:06 packer: 2017/10/26 13:49:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:49:26 packer: 2017/10/26 13:49:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:49:46 packer: 2017/10/26 13:49:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:50:06 packer: 2017/10/26 13:50:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:50:26 packer: 2017/10/26 13:50:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:50:46 packer: 2017/10/26 13:50:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
- 2017/10/26 13:50:51 ui error: ==> amazon-ebs: Timeout waiting for SSH.
- ==> amazon-ebs: Timeout waiting for SSH.
- 2017/10/26 13:50:51 packer: 2017/10/26 13:50:51 [DEBUG] SSH wait cancelled. Exiting loop.
- 2017/10/26 13:50:51 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue.
- 2017/10/26 13:51:03 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue.
- 2017/10/26 13:51:04 ui: ==> amazon-ebs: Terminating the source AWS instance...
- ==> amazon-ebs: Terminating the source AWS instance...
- 2017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Waiting for state to become: terminated
- 2017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
- 2017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
- 2017/10/26 13:52:09 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue.
- ==> amazon-ebs: Cleaning up any extra volumes...
- 2017/10/26 13:54:22 ui: ==> amazon-ebs: Cleaning up any extra volumes...
- 2017/10/26 13:54:22 ui: ==> amazon-ebs: No volumes to clean up, skipping
- ==> amazon-ebs: No volumes to clean up, skipping
- 2017/10/26 13:54:22 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue.
- 2017/10/26 13:54:23 ui: ==> amazon-ebs: Deleting temporary security group...
- ==> amazon-ebs: Deleting temporary security group...
- 2017/10/26 13:54:23 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue.
- 2017/10/26 13:54:24 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue.
- 2017/10/26 13:54:24 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue.
- ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue.
- 2017/10/26 13:54:25 [INFO] (telemetry) ending amazon-ebs
- 2017/10/26 13:54:25 [INFO] (telemetry) found error: Timeout waiting for SSH.
- 2017/10/26 13:54:25 ui error: Build 'amazon-ebs' errored: Timeout waiting for SSH.
- 2017/10/26 13:54:25 Waiting on builds to complete...
- 2017/10/26 13:54:25 Builds completed. Waiting on interrupt barrier...
- 2017/10/26 13:54:25 machine readable: error-count []string{"1"}
- 2017/10/26 13:54:25 ui error:
- ==> Some builds didn't complete successfully and had errors:
- 2017/10/26 13:54:25 machine readable: amazon-ebs,error []string{"Timeout waiting for SSH."}
- 2017/10/26 13:54:25 ui error: --> amazon-ebs: Timeout waiting for SSH.
- 2017/10/26 13:54:25 ui:
- ==> Builds finished but no artifacts were created.
- Build 'amazon-ebs' errored: Timeout waiting for SSH.
- 2017/10/26 13:54:25 [INFO] (telemetry) Finalizing.
- ==> Some builds didn't complete successfully and had errors:
- --> amazon-ebs: Timeout waiting for SSH.
- ==> Builds finished but no artifacts were created.
- 2017/10/26 13:54:26 waiting for all plugin processes to complete...
- 2017/10/26 13:54:26 /usr/local/bin/packer: plugin process exited
Add Comment
Please, Sign In to add comment