· 7 years ago · Aug 22, 2018, 06:02 PM
12018/08/22 22:59:21 [INFO] Packer version: 1.2.5
22018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
32018/08/22 22:59:21 Built with Go Version: go1.10.3
42018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
52018/08/22 22:59:21 Using internal plugin for oracle-oci
62018/08/22 22:59:21 Using internal plugin for virtualbox-ovf
72018/08/22 22:59:21 Using internal plugin for alicloud-ecs
82018/08/22 22:59:21 Using internal plugin for amazon-ebs
92018/08/22 22:59:21 Using internal plugin for cloudstack
102018/08/22 22:59:21 Using internal plugin for docker
112018/08/22 22:59:21 Using internal plugin for googlecompute
122018/08/22 22:59:21 Using internal plugin for hyperv-iso
132018/08/22 22:59:21 Using internal plugin for azure-arm
142018/08/22 22:59:21 Using internal plugin for file
152018/08/22 22:59:21 Using internal plugin for qemu
162018/08/22 22:59:21 Using internal plugin for digitalocean
172018/08/22 22:59:21 Using internal plugin for hyperv-vmcx
182018/08/22 22:59:21 Using internal plugin for null
192018/08/22 22:59:21 Using internal plugin for profitbricks
202018/08/22 22:59:21 Using internal plugin for triton
212018/08/22 22:59:21 Using internal plugin for vmware-vmx
222018/08/22 22:59:21 Using internal plugin for oracle-classic
232018/08/22 22:59:21 Using internal plugin for parallels-iso
242018/08/22 22:59:21 Using internal plugin for vmware-iso
252018/08/22 22:59:21 Using internal plugin for amazon-chroot
262018/08/22 22:59:21 Using internal plugin for ncloud
272018/08/22 22:59:21 Using internal plugin for virtualbox-iso
282018/08/22 22:59:21 Using internal plugin for amazon-ebsvolume
292018/08/22 22:59:21 Using internal plugin for amazon-ebssurrogate
302018/08/22 22:59:21 Using internal plugin for lxc
312018/08/22 22:59:21 Using internal plugin for lxd
322018/08/22 22:59:21 Using internal plugin for oneandone
332018/08/22 22:59:21 Using internal plugin for openstack
342018/08/22 22:59:21 Using internal plugin for parallels-pvm
352018/08/22 22:59:21 Using internal plugin for amazon-instance
362018/08/22 22:59:21 Using internal plugin for scaleway
372018/08/22 22:59:21 Using internal plugin for chef-client
382018/08/22 22:59:21 Using internal plugin for shell-local
392018/08/22 22:59:21 Using internal plugin for ansible
402018/08/22 22:59:21 Using internal plugin for chef-solo
412018/08/22 22:59:21 Using internal plugin for file
422018/08/22 22:59:21 Using internal plugin for powershell
432018/08/22 22:59:21 Using internal plugin for puppet-masterless
442018/08/22 22:59:21 Using internal plugin for shell
452018/08/22 22:59:21 Using internal plugin for converge
462018/08/22 22:59:21 Using internal plugin for puppet-server
472018/08/22 22:59:21 Using internal plugin for salt-masterless
482018/08/22 22:59:21 Using internal plugin for ansible-local
492018/08/22 22:59:21 Using internal plugin for windows-restart
502018/08/22 22:59:21 Using internal plugin for windows-shell
512018/08/22 22:59:21 Using internal plugin for checksum
522018/08/22 22:59:21 Using internal plugin for manifest
532018/08/22 22:59:21 Using internal plugin for shell-local
542018/08/22 22:59:21 Using internal plugin for alicloud-import
552018/08/22 22:59:21 Using internal plugin for atlas
562018/08/22 22:59:21 Using internal plugin for docker-push
572018/08/22 22:59:21 Using internal plugin for googlecompute-export
582018/08/22 22:59:21 Using internal plugin for googlecompute-import
592018/08/22 22:59:21 Using internal plugin for vagrant
602018/08/22 22:59:21 Using internal plugin for vagrant-cloud
612018/08/22 22:59:21 Using internal plugin for artifice
622018/08/22 22:59:21 Using internal plugin for compress
632018/08/22 22:59:21 Using internal plugin for docker-tag
642018/08/22 22:59:21 Using internal plugin for amazon-import
652018/08/22 22:59:21 Using internal plugin for docker-save
662018/08/22 22:59:21 Using internal plugin for vsphere-template
672018/08/22 22:59:21 Using internal plugin for docker-import
682018/08/22 22:59:21 Using internal plugin for vsphere
692018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
702018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
712018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
722018/08/22 22:59:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[vmware-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso scaleway:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway openstack:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-pvm:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm file:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file profitbricks:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks azure-arm:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-ebssurrogate:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate lxc:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd triton:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton virtualbox-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso null:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null parallels-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-chroot:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot digitalocean:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean hyperv-vmcx:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx cloudstack:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack docker:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker hyperv-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso vmware-vmx:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx oracle-classic:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic amazon-ebsvolume:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume oracle-oci:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-ebs:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs oneandone:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone googlecompute:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute qemu:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu ncloud:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud amazon-instance:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance virtualbox-ovf:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf alicloud-ecs:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs] PostProcessors:map[checksum:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local googlecompute-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import vsphere-template:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template atlas:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant artifice:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice compress:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress amazon-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-push:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-tag:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag alicloud-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import googlecompute-export:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant-cloud:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vsphere:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[windows-restart:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible file:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file shell:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible-local:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local converge:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge windows-shell:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-client:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client shell-local:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-solo:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
732018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
742018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
752018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
762018/08/22 22:59:21 Loading builder: amazon-ebs
772018/08/22 22:59:21 Plugin could not be found. Checking same directory as executable.
782018/08/22 22:59:21 Current exe path: /Users/a9tm/Downloads/packer
792018/08/22 22:59:21 Creating plugin client for path: /Users/a9tm/Downloads/packer
802018/08/22 22:59:21 Starting plugin: /Users/a9tm/Downloads/packer []string{"/Users/a9tm/Downloads/packer", "plugin", "packer-builder-amazon-ebs"}
812018/08/22 22:59:21 Waiting for RPC address for: /Users/a9tm/Downloads/packer
822018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
832018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
842018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Built with Go Version: go1.10.3
852018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
862018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
872018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
882018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
892018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
902018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
912018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
922018/08/22 22:59:21 packer: 2018/08/22 22:59:21 args: []string{"packer-builder-amazon-ebs"}
932018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin minimum port: 10000
942018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin maximum port: 25000
952018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin address: unix /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-plugin960618310
962018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Waiting for connection...
972018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Serving a plugin connection...
982018/08/22 22:59:21 Loading provisioner: ansible
992018/08/22 22:59:21 Plugin could not be found. Checking same directory as executable.
1002018/08/22 22:59:21 Current exe path: /Users/a9tm/Downloads/packer
1012018/08/22 22:59:21 Creating plugin client for path: /Users/a9tm/Downloads/packer
1022018/08/22 22:59:21 Starting plugin: /Users/a9tm/Downloads/packer []string{"/Users/a9tm/Downloads/packer", "plugin", "packer-provisioner-ansible"}
1032018/08/22 22:59:21 Waiting for RPC address for: /Users/a9tm/Downloads/packer
1042018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
1052018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
1062018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Built with Go Version: go1.10.3
1072018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
1082018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
1092018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
1102018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
1112018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
1122018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
1132018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
1142018/08/22 22:59:21 packer: 2018/08/22 22:59:21 args: []string{"packer-provisioner-ansible"}
1152018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin minimum port: 10000
1162018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin maximum port: 25000
1172018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin address: unix /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-plugin793380359
1182018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Waiting for connection...
1192018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Serving a plugin connection...
1202018/08/22 22:59:21 ui: amazon-ebs output will be in this color.
1212018/08/22 22:59:21 ui:
1222018/08/22 22:59:21 Build debug mode: false
1232018/08/22 22:59:21 Force build: false
1242018/08/22 22:59:21 On error:
1252018/08/22 22:59:21 Preparing build: amazon-ebs
126amazon-ebs output will be in this color.
127
1282018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_ami_name:example/freebsd/main-2018-08-22-2259 aws_region:eu-central-1]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:eu-central-1 SecretKey: SkipValidation:false SkipMetadataApiCheck:false Token: session:<nil>} AMIConfig:{AMIName:example/freebsd/main-2018-08-22-2259 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: DisableStopInstance:false EbsOptimized:false EnableT2Unlimited:false IamInstanceProfile: InstanceInitiatedShutdownBehavior:stop InstanceType:t3.micro RunTags:map[] SecurityGroupId: SecurityGroupIds:[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4204d7ab0:0xc4204d7ad0 0xc4204d7a70:0xc4204d7a90] Owners:[0xc4204d7b50] MostRecent:true} SpotPrice: SpotPriceAutoProduct: SpotTags:map[] SubnetId: TemporaryKeyPairName:packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12 TemporarySGSourceCidr:0.0.0.0/0 UserData: UserDataFile: VpcId: WindowsPasswordTimeout:20m0s Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:10m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername: SSHProxyPassword: SSHKeepAliveInterval:5s SSHReadWriteTimeout:0s WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHInterface:} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x184a860] UserVariables:map[aws_region:eu-central-1 aws_ami_name:example/freebsd/main-2018-08-22-2259] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/a9tm/LMS/new/provisioning/main.json}}
1292018/08/22 22:59:22 packer: 2018/08/22 22:59:22 ansible-playbook version: 2.6.3
1302018/08/22 22:59:22 Waiting on builds to complete...
1312018/08/22 22:59:22 Starting build run: amazon-ebs
1322018/08/22 22:59:22 Running builder: amazon-ebs
1332018/08/22 22:59:22 [INFO] (telemetry) Starting builder amazon-ebs
1342018/08/22 22:59:22 packer: 2018/08/22 22:59:22 Found region eu-central-1
1352018/08/22 22:59:22 packer: 2018/08/22 22:59:22 [INFO] AWS Auth provider used: "SharedConfigCredentials: /Users/a9tm/.aws/credentials"
1362018/08/22 22:59:22 ui: ==> amazon-ebs: Prevalidating AMI Name: example/freebsd/main-2018-08-22-2259
137==> amazon-ebs: Prevalidating AMI Name: example/freebsd/main-2018-08-22-2259
1382018/08/22 22:59:24 packer: 2018/08/22 22:59:24 Using AMI Filters {
1392018/08/22 22:59:24 packer: Filters: [{
1402018/08/22 22:59:24 packer: Name: "name",
1412018/08/22 22:59:24 packer: Values: ["FreeBSD 11.2-STABLE*"]
1422018/08/22 22:59:24 packer: },{
1432018/08/22 22:59:24 packer: Name: "virtualization-type",
1442018/08/22 22:59:24 packer: Values: ["hvm"]
1452018/08/22 22:59:24 packer: }],
1462018/08/22 22:59:24 packer: Owners: ["118940168514"]
1472018/08/22 22:59:24 packer: }
1482018/08/22 22:59:24 ui: amazon-ebs: Found Image ID: ami-001821321b34264bf
149 amazon-ebs: Found Image ID: ami-001821321b34264bf
1502018/08/22 22:59:24 ui: ==> amazon-ebs: Creating temporary keypair: packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12
151==> amazon-ebs: Creating temporary keypair: packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12
1522018/08/22 22:59:25 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5b7d885d-51c6-192c-ca9c-c3c70db788d5
153==> amazon-ebs: Creating temporary security group for this instance: packer_5b7d885d-51c6-192c-ca9c-c3c70db788d5
1542018/08/22 22:59:25 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
155==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
1562018/08/22 22:59:26 packer: 2018/08/22 22:59:26 [DEBUG] Waiting for temporary security group: sg-0c8736db8ee8829bf
1572018/08/22 22:59:26 packer: 2018/08/22 22:59:26 [DEBUG] Found security group sg-0c8736db8ee8829bf
1582018/08/22 22:59:26 ui: ==> amazon-ebs: Launching a source AWS instance...
159==> amazon-ebs: Launching a source AWS instance...
1602018/08/22 22:59:26 ui: ==> amazon-ebs: Adding tags to source instance
161==> amazon-ebs: Adding tags to source instance
1622018/08/22 22:59:26 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
163 amazon-ebs: Adding tag: "Name": "Packer Builder"
1642018/08/22 22:59:27 ui: amazon-ebs: Instance ID: i-xxxxxxxxxxxxxxxxx
165 amazon-ebs: Instance ID: i-xxxxxxxxxxxxxxxxx
1662018/08/22 22:59:27 ui: ==> amazon-ebs: Waiting for instance (i-xxxxxxxxxxxxxxxxx) to become ready...
167==> amazon-ebs: Waiting for instance (i-xxxxxxxxxxxxxxxxx) to become ready...
1682018/08/22 22:59:45 packer: 2018/08/22 22:59:45 [INFO] Not using winrm communicator, skipping get password...
1692018/08/22 22:59:45 packer: 2018/08/22 22:59:45 [INFO] Waiting for SSH, up to timeout: 10m0s
1702018/08/22 22:59:45 ui: ==> amazon-ebs: Waiting for SSH to become available...
171==> amazon-ebs: Waiting for SSH to become available...
1722018/08/22 23:00:00 packer: 2018/08/22 23:00:00 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: i/o timeout
1732018/08/22 23:00:07 packer: 2018/08/22 23:00:07 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1742018/08/22 23:00:13 packer: 2018/08/22 23:00:13 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1752018/08/22 23:00:18 packer: 2018/08/22 23:00:18 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1762018/08/22 23:00:23 packer: 2018/08/22 23:00:23 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1772018/08/22 23:00:29 packer: 2018/08/22 23:00:29 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1782018/08/22 23:00:34 packer: 2018/08/22 23:00:34 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1792018/08/22 23:00:39 packer: 2018/08/22 23:00:39 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1802018/08/22 23:00:45 packer: 2018/08/22 23:00:45 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1812018/08/22 23:00:50 packer: 2018/08/22 23:00:50 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1822018/08/22 23:00:55 packer: 2018/08/22 23:00:55 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1832018/08/22 23:01:01 packer: 2018/08/22 23:01:01 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
1842018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [INFO] Attempting SSH connection...
1852018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [DEBUG] reconnecting to TCP connection for SSH
1862018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [DEBUG] handshaking with SSH
1872018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [DEBUG] handshake complete!
1882018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [DEBUG] Opening new ssh session
189==> amazon-ebs: Connected to SSH!
1902018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [INFO] agent forwarding enabled
1912018/08/22 23:01:10 ui: ==> amazon-ebs: Connected to SSH!
1922018/08/22 23:01:10 packer: 2018/08/22 23:01:10 Running the provision hook
1932018/08/22 23:01:10 [INFO] (telemetry) Starting provisioner ansible
194==> amazon-ebs: Provisioning with Ansible...
1952018/08/22 23:01:10 ui: ==> amazon-ebs: Provisioning with Ansible...
1962018/08/22 23:01:11 packer: 2018/08/22 23:01:11 SSH proxy: serving on 127.0.0.1:51780
1972018/08/22 23:01:11 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-provisioner-ansible302064081 /Users/a9tm/LMS/new/provisioning/main.yml -e ansible_ssh_private_key_file=/var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/ansible-key005231034
198==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-provisioner-ansible302064081 /Users/a9tm/LMS/new/provisioning/main.yml -e ansible_ssh_private_key_file=/var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/ansible-key005231034
1992018/08/22 23:01:12 ui: amazon-ebs:
200 amazon-ebs:
2012018/08/22 23:01:12 ui: amazon-ebs: PLAY [all] *********************************************************************
202 amazon-ebs: PLAY [all] *********************************************************************
2032018/08/22 23:01:12 ui: amazon-ebs:
204 amazon-ebs:
205 amazon-ebs: TASK [Gathering Facts] *********************************************************
2062018/08/22 23:01:12 ui: amazon-ebs: TASK [Gathering Facts] *********************************************************
2072018/08/22 23:01:12 packer: 2018/08/22 23:01:12 SSH proxy: accepted connection
2082018/08/22 23:01:12 packer: 2018/08/22 23:01:12 authentication attempt from 127.0.0.1:51781 to 127.0.0.1:51780 as ec2-user using none
2092018/08/22 23:01:12 packer: 2018/08/22 23:01:12 authentication attempt from 127.0.0.1:51781 to 127.0.0.1:51780 as ec2-user using publickey
2102018/08/22 23:01:12 ui error: ==> amazon-ebs: failed to handshake
211==> amazon-ebs: failed to handshake
2122018/08/22 23:01:12 ui: amazon-ebs: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[127.0.0.1]:51780' (RSA) to the list of known hosts.\r\nec2-user@127.0.0.1: Permission denied (publickey).\r\n", "unreachable": true}
213 amazon-ebs: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[127.0.0.1]:51780' (RSA) to the list of known hosts.\r\nec2-user@127.0.0.1: Permission denied (publickey).\r\n", "unreachable": true}
214 amazon-ebs: to retry, use: --limit @/Users/a9tm/LMS/new/provisioning/main.retry
2152018/08/22 23:01:12 ui: amazon-ebs: to retry, use: --limit @/Users/a9tm/LMS/new/provisioning/main.retry
2162018/08/22 23:01:12 ui: amazon-ebs:
217 amazon-ebs:
2182018/08/22 23:01:12 ui: amazon-ebs: PLAY RECAP *********************************************************************
219 amazon-ebs: PLAY RECAP *********************************************************************
2202018/08/22 23:01:12 ui: amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
221 amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
222 amazon-ebs:
2232018/08/22 23:01:12 ui: amazon-ebs:
2242018/08/22 23:01:12 packer: 2018/08/22 23:01:12 shutting down the SSH proxy
2252018/08/22 23:01:12 [INFO] (telemetry) ending ansible
2262018/08/22 23:01:12 ui: ==> amazon-ebs: Terminating the source AWS instance...
227==> amazon-ebs: Terminating the source AWS instance...
2282018/08/22 23:01:14 packer: 2018/08/22 23:01:14 No AWS timeout and polling overrides have been set. Packer will defalt to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS to your desired values.
229==> amazon-ebs: Cleaning up any extra volumes...
2302018/08/22 23:01:47 ui: ==> amazon-ebs: Cleaning up any extra volumes...
2312018/08/22 23:01:48 ui: ==> amazon-ebs: No volumes to clean up, skipping
232==> amazon-ebs: No volumes to clean up, skipping
2332018/08/22 23:01:48 ui: ==> amazon-ebs: Deleting temporary security group...
234==> amazon-ebs: Deleting temporary security group...
2352018/08/22 23:01:48 ui: ==> amazon-ebs: Deleting temporary keypair...
236==> amazon-ebs: Deleting temporary keypair...
2372018/08/22 23:01:48 [INFO] (telemetry) ending amazon-ebs
2382018/08/22 23:01:48 ui error: Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4
2392018/08/22 23:01:48 Builds completed. Waiting on interrupt barrier...
2402018/08/22 23:01:48 machine readable: error-count []string{"1"}
2412018/08/22 23:01:48 ui error:
242==> Some builds didn't complete successfully and had errors:
2432018/08/22 23:01:48 machine readable: amazon-ebs,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"}
2442018/08/22 23:01:48 ui error: --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4
2452018/08/22 23:01:48 ui:
246==> Builds finished but no artifacts were created.
2472018/08/22 23:01:48 [INFO] (telemetry) Finalizing.
248Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4
249
250==> Some builds didn't complete successfully and had errors:
251--> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4
252
253==> Builds finished but no artifacts were created.
2542018/08/22 23:01:50 waiting for all plugin processes to complete...
2552018/08/22 23:01:50 /Users/a9tm/Downloads/packer: plugin process exited
2562018/08/22 23:01:50 /Users/a9tm/Downloads/packer: plugin process exited