· 9 years ago · Dec 01, 2016, 03:22 PM
1packer build template.json
22016/12/01 14:55:23 [INFO] Packer version: 0.12.0
32016/12/01 14:55:23 Packer Target OS/Arch: darwin amd64
42016/12/01 14:55:23 Built with Go Version: go1.7.3
52016/12/01 14:55:23 Detected home directory from env var: /Users/user
62016/12/01 14:55:23 Using internal plugin for parallels-iso
72016/12/01 14:55:23 Using internal plugin for vmware-vmx
82016/12/01 14:55:23 Using internal plugin for googlecompute
92016/12/01 14:55:23 Using internal plugin for qemu
102016/12/01 14:55:23 Using internal plugin for amazon-chroot
112016/12/01 14:55:23 Using internal plugin for amazon-ebsvolume
122016/12/01 14:55:23 Using internal plugin for digitalocean
132016/12/01 14:55:23 Using internal plugin for profitbricks
142016/12/01 14:55:23 Using internal plugin for virtualbox-iso
152016/12/01 14:55:23 Using internal plugin for virtualbox-ovf
162016/12/01 14:55:23 Using internal plugin for azure-arm
172016/12/01 14:55:23 Using internal plugin for docker
182016/12/01 14:55:23 Using internal plugin for parallels-pvm
192016/12/01 14:55:23 Using internal plugin for file
202016/12/01 14:55:23 Using internal plugin for null
212016/12/01 14:55:23 Using internal plugin for openstack
222016/12/01 14:55:23 Using internal plugin for vmware-iso
232016/12/01 14:55:23 Using internal plugin for amazon-ebs
242016/12/01 14:55:23 Using internal plugin for amazon-instance
252016/12/01 14:55:23 Using internal plugin for cloudstack
262016/12/01 14:55:23 Using internal plugin for shell-local
272016/12/01 14:55:23 Using internal plugin for windows-restart
282016/12/01 14:55:23 Using internal plugin for windows-shell
292016/12/01 14:55:23 Using internal plugin for ansible
302016/12/01 14:55:23 Using internal plugin for file
312016/12/01 14:55:23 Using internal plugin for puppet-server
322016/12/01 14:55:23 Using internal plugin for shell
332016/12/01 14:55:23 Using internal plugin for puppet-masterless
342016/12/01 14:55:23 Using internal plugin for salt-masterless
352016/12/01 14:55:23 Using internal plugin for ansible-local
362016/12/01 14:55:23 Using internal plugin for chef-client
372016/12/01 14:55:23 Using internal plugin for chef-solo
382016/12/01 14:55:23 Using internal plugin for powershell
392016/12/01 14:55:23 Using internal plugin for artifice
402016/12/01 14:55:23 Using internal plugin for checksum
412016/12/01 14:55:23 Using internal plugin for docker-save
422016/12/01 14:55:23 Using internal plugin for vagrant-cloud
432016/12/01 14:55:23 Using internal plugin for compress
442016/12/01 14:55:23 Using internal plugin for docker-tag
452016/12/01 14:55:23 Using internal plugin for vagrant
462016/12/01 14:55:23 Using internal plugin for amazon-import
472016/12/01 14:55:23 Using internal plugin for docker-import
482016/12/01 14:55:23 Using internal plugin for googlecompute-export
492016/12/01 14:55:23 Using internal plugin for manifest
502016/12/01 14:55:23 Using internal plugin for atlas
512016/12/01 14:55:23 Using internal plugin for docker-push
522016/12/01 14:55:23 Using internal plugin for shell-local
532016/12/01 14:55:23 Using internal plugin for vsphere
542016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
552016/12/01 14:55:23 Attempting to open config file: /Users/airvine/.packerconfig
562016/12/01 14:55:23 [WARN] Config file doesn't exist: /Users/airvine/.packerconfig
572016/12/01 14:55:23 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack] PostProcessors:map[checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
582016/12/01 14:55:23 Setting cache directory: /Users/airvine/packer/pingfed/packer_cache
592016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
602016/12/01 14:55:23 Loading builder: amazon-ebs
612016/12/01 14:55:23 Plugin could not be found. Checking same directory as executable.
622016/12/01 14:55:23 Current exe path: /usr/local/bin/packer
632016/12/01 14:55:23 Creating plugin client for path: /usr/local/bin/packer
642016/12/01 14:55:23 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
652016/12/01 14:55:23 Waiting for RPC address for: /usr/local/bin/packer
662016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [INFO] Packer version: 0.12.0
672016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Packer Target OS/Arch: darwin amd64
682016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Built with Go Version: go1.7.3
692016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
702016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Attempting to open config file: /Users/airvine/.packerconfig
712016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [WARN] Config file doesn't exist: /Users/airvine/.packerconfig
722016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
732016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Setting cache directory: /Users/airvine/packer/pingfed/packer_cache
742016/12/01 14:55:23 packer: 2016/12/01 14:55:23 args: []string{"packer-builder-amazon-ebs"}
752016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
762016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin minimum port: 10000
772016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin maximum port: 25000
782016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin address: unix /var/folders/9r/33qg31vn7r5f0jvt92zqpyn570cfxw/T/packer-plugin933848072
792016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Waiting for connection...
802016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Serving a plugin connection...
812016/12/01 14:55:23 Loading provisioner: file
822016/12/01 14:55:23 Plugin could not be found. Checking same directory as executable.
832016/12/01 14:55:23 Current exe path: /usr/local/bin/packer
842016/12/01 14:55:23 Creating plugin client for path: /usr/local/bin/packer
852016/12/01 14:55:23 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
862016/12/01 14:55:23 Waiting for RPC address for: /usr/local/bin/packer
872016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [INFO] Packer version: 0.12.0
882016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Packer Target OS/Arch: darwin amd64
892016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Built with Go Version: go1.7.3
902016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
912016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Attempting to open config file: /Users/airvine/.packerconfig
922016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [WARN] Config file doesn't exist: /Users/airvine/.packerconfig
932016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
942016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Setting cache directory: /Users/airvine/packer/pingfed/packer_cache
952016/12/01 14:55:23 packer: 2016/12/01 14:55:23 args: []string{"packer-provisioner-file"}
962016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
972016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin minimum port: 10000
982016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin maximum port: 25000
992016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin address: unix /var/folders/9r/33qg31vn7r5f0jvt92zqpyn570cfxw/T/packer-plugin533165320
1002016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Waiting for connection...
1012016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Serving a plugin connection...
1022016/12/01 14:55:23 Loading provisioner: shell
1032016/12/01 14:55:23 Plugin could not be found. Checking same directory as executable.
1042016/12/01 14:55:23 Current exe path: /usr/local/bin/packer
1052016/12/01 14:55:23 Creating plugin client for path: /usr/local/bin/packer
1062016/12/01 14:55:23 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
1072016/12/01 14:55:23 Waiting for RPC address for: /usr/local/bin/packer
1082016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [INFO] Packer version: 0.12.0
1092016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Packer Target OS/Arch: darwin amd64
1102016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Built with Go Version: go1.7.3
1112016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
1122016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Attempting to open config file: /Users/airvine/.packerconfig
1132016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [WARN] Config file doesn't exist: /Users/airvine/.packerconfig
1142016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
1152016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Setting cache directory: /Users/airvine/packer/pingfed/packer_cache
1162016/12/01 14:55:23 packer: 2016/12/01 14:55:23 args: []string{"packer-provisioner-shell"}
1172016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin minimum port: 10000
1182016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin maximum port: 25000
1192016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Detected home directory from env var: /Users/airvine
1202016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Plugin address: unix /var/folders/9r/33qg31vn7r5f0jvt92zqpyn570cfxw/T/packer-plugin706054656
1212016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Waiting for connection...
1222016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Serving a plugin connection...
1232016/12/01 14:55:23 ui: amazon-ebs output will be in this color.
1242016/12/01 14:55:23 ui:
1252016/12/01 14:55:23 Build debug mode: false
1262016/12/01 14:55:23 Force build: false
1272016/12/01 14:55:23 On error:
1282016/12/01 14:55:23 Preparing build: amazon-ebs
129amazon-ebs output will be in this color.
130
1312016/12/01 14:55:23 packer: 2016/12/01 14:55:23 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_secret_key: aws_access_key:]} AccessConfig:{AccessKey: SecretKey: RawRegion:eu-west-1 SkipValidation:false Token: ProfileName:} AMIConfig:{AMIName:packer-example-1480604123 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false AMIEncryptBootVolume:false} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.small RunTags:map[] SourceAmi:ami-ed82e39e SourceAmiFilter:{Filters:map[] Owners:[] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[sg-f9c6479f] SubnetId:subnet-1d9f9875 TemporaryKeyPairName:packer_584039db-0987-1a5e-4925-4d4e5887cf44 UserData: UserDataFile:user_data.sh WindowsPasswordTimeout:10m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:root SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x4da810] UserVariables:map[aws_access_key: aws_secret_key:] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/airvine/packer/pingfed/template.json}}
1322016/12/01 14:55:23 Waiting on builds to complete...
1332016/12/01 14:55:23 Starting build run: amazon-ebs
1342016/12/01 14:55:23 Running builder: amazon-ebs
1352016/12/01 14:55:23 packer: 2016/12/01 14:55:23 [INFO] Finding AZ for the given subnet 'subnet-1d9f9875'
1362016/12/01 14:55:24 packer: 2016/12/01 14:55:24 [INFO] AZ found: 'eu-west-1a'
1372016/12/01 14:55:24 ui: ==> amazon-ebs: Prevalidating AMI Name...
138==> amazon-ebs: Prevalidating AMI Name...
1392016/12/01 14:55:25 packer: 2016/12/01 14:55:25 Using AMI Filters {
1402016/12/01 14:55:25 packer: ImageIds: ["ami-ed82e39e"]
1412016/12/01 14:55:25 packer: }
1422016/12/01 14:55:25 ui: amazon-ebs: Found Image ID: ami-ed82e39e
143 amazon-ebs: Found Image ID: ami-ed82e39e
1442016/12/01 14:55:25 ui: ==> amazon-ebs: Creating temporary keypair: packer_584039db-0987-1a5e-4925-4d4e5887cf44
145==> amazon-ebs: Creating temporary keypair: packer_584039db-0987-1a5e-4925-4d4e5887cf44
1462016/12/01 14:55:26 packer: 2016/12/01 14:55:26 Using specified security groups: [sg-f9c6479f]
1472016/12/01 14:55:26 packer: 2016/12/01 14:55:26 [DEBUG] Waiting for tempSecurityGroup: sg-f9c6479f
1482016/12/01 14:55:26 packer: 2016/12/01 14:55:26 [DEBUG] Found security group sg-f9c6479f
1492016/12/01 14:55:26 packer: 2016/12/01 14:55:26 [DEBUG] base64 encoding user data...
1502016/12/01 14:55:26 ui: ==> amazon-ebs: Launching a source AWS instance...
151==> amazon-ebs: Launching a source AWS instance...
1522016/12/01 14:55:26 ui: amazon-ebs: Instance ID: i-d4f8c83c
153 amazon-ebs: Instance ID: i-d4f8c83c
1542016/12/01 14:55:26 ui: ==> amazon-ebs: Waiting for instance (i-d4f8c83c) to become ready...
155==> amazon-ebs: Waiting for instance (i-d4f8c83c) to become ready...
1562016/12/01 14:55:26 packer: 2016/12/01 14:55:26 Waiting for state to become: running
1572016/12/01 14:55:26 packer: 2016/12/01 14:55:26 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
1582016/12/01 14:55:26 packer: 2016/12/01 14:55:26 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
1592016/12/01 14:55:47 packer: 2016/12/01 14:55:47 [INFO] Not using winrm communicator, skipping get password...
1602016/12/01 14:55:47 packer: 2016/12/01 14:55:47 [INFO] Waiting for SSH, up to timeout: 5m0s
1612016/12/01 14:55:47 ui: ==> amazon-ebs: Waiting for SSH to become available...
162==> amazon-ebs: Waiting for SSH to become available...
1632016/12/01 14:56:02 packer: 2016/12/01 14:56:02 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 172.31.25.112:22: i/o timeout
1642016/12/01 14:56:08 packer: 2016/12/01 14:56:08 [INFO] Attempting SSH connection...
1652016/12/01 14:56:08 packer: 2016/12/01 14:56:08 reconnecting to TCP connection for SSH
1662016/12/01 14:56:08 packer: 2016/12/01 14:56:08 handshaking with SSH
1672016/12/01 14:56:08 packer: 2016/12/01 14:56:08 handshake complete!
1682016/12/01 14:56:08 packer: 2016/12/01 14:56:08 opening new ssh session
1692016/12/01 14:56:08 packer: 2016/12/01 14:56:08 [ERROR] RequestAgentForwarding: &errors.errorString{s:"forwarding request denied"}
1702016/12/01 14:56:08 ui: ==> amazon-ebs: Connected to SSH!
171==> amazon-ebs: Connected to SSH!
1722016/12/01 14:56:08 packer: 2016/12/01 14:56:08 Running the provision hook
1732016/12/01 14:56:08 ui: ==> amazon-ebs: Uploading test.txt => /tmp/test.txt
174==> amazon-ebs: Uploading test.txt => /tmp/test.txt
1752016/12/01 14:56:08 packer: 2016/12/01 14:56:08 [INFO] 0 bytes written for 'uploadData'
1762016/12/01 14:56:08 [INFO] 0 bytes written for 'uploadData'
1772016/12/01 14:56:08 packer: 2016/12/01 14:56:08 opening new ssh session
1782016/12/01 14:56:08 packer: 2016/12/01 14:56:08 Starting remote scp process: scp -vt /tmp
1792016/12/01 14:56:08 packer: 2016/12/01 14:56:08 Started SCP session, beginning transfers...
1802016/12/01 14:56:08 packer: 2016/12/01 14:56:08 [DEBUG] scp: Uploading test.txt: perms=C0644 size=0
1812016/12/01 14:56:08 ui error: ==> amazon-ebs: Upload failed: lease login as the user "ubuntu" rather than the user "root".
182==> amazon-ebs: Upload failed: lease login as the user "ubuntu" rather than the user "root".
1832016/12/01 14:56:08 ui: ==> amazon-ebs: Terminating the source AWS instance...
184==> amazon-ebs: Terminating the source AWS instance...
1852016/12/01 14:56:09 packer: 2016/12/01 14:56:09 Waiting for state to become: terminated
1862016/12/01 14:56:09 packer: 2016/12/01 14:56:09 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
1872016/12/01 14:56:09 packer: 2016/12/01 14:56:09 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
1882016/12/01 14:57:13 ui: ==> amazon-ebs: Cleaning up any extra volumes...
189==> amazon-ebs: Cleaning up any extra volumes...
1902016/12/01 14:57:13 ui: ==> amazon-ebs: No volumes to clean up, skipping
191==> amazon-ebs: No volumes to clean up, skipping
1922016/12/01 14:57:13 ui: ==> amazon-ebs: Deleting temporary keypair...
193==> amazon-ebs: Deleting temporary keypair...
1942016/12/01 14:57:14 ui error: Build 'amazon-ebs' errored: lease login as the user "ubuntu" rather than the user "root".
1952016/12/01 14:57:14 Builds completed. Waiting on interrupt barrier...
1962016/12/01 14:57:14 machine readable: error-count []string{"1"}
1972016/12/01 14:57:14 ui error:
198==> Some builds didn't complete successfully and had errors:
1992016/12/01 14:57:14 machine readable: amazon-ebs,error []string{"lease login as the user \"ubuntu\" rather than the user \"root\"."}
2002016/12/01 14:57:14 ui error: --> amazon-ebs: lease login as the user "ubuntu" rather than the user "root".
2012016/12/01 14:57:14 ui:
202==> Builds finished but no artifacts were created.
2032016/12/01 14:57:14 waiting for all plugin processes to complete...
204Build 'amazon-ebs' errored: lease login as the user "ubuntu" rather than the user "root".
205
206==> Some builds didn't complete successfully and had errors:
207--> amazon-ebs: lease login as the user "ubuntu" rather than the user "root".
208
209==> Builds finished but no artifacts were created.