Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
- 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
- 2018/08/22 22:59:21 Built with Go Version: go1.10.3
- 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 Using internal plugin for oracle-oci
- 2018/08/22 22:59:21 Using internal plugin for virtualbox-ovf
- 2018/08/22 22:59:21 Using internal plugin for alicloud-ecs
- 2018/08/22 22:59:21 Using internal plugin for amazon-ebs
- 2018/08/22 22:59:21 Using internal plugin for cloudstack
- 2018/08/22 22:59:21 Using internal plugin for docker
- 2018/08/22 22:59:21 Using internal plugin for googlecompute
- 2018/08/22 22:59:21 Using internal plugin for hyperv-iso
- 2018/08/22 22:59:21 Using internal plugin for azure-arm
- 2018/08/22 22:59:21 Using internal plugin for file
- 2018/08/22 22:59:21 Using internal plugin for qemu
- 2018/08/22 22:59:21 Using internal plugin for digitalocean
- 2018/08/22 22:59:21 Using internal plugin for hyperv-vmcx
- 2018/08/22 22:59:21 Using internal plugin for null
- 2018/08/22 22:59:21 Using internal plugin for profitbricks
- 2018/08/22 22:59:21 Using internal plugin for triton
- 2018/08/22 22:59:21 Using internal plugin for vmware-vmx
- 2018/08/22 22:59:21 Using internal plugin for oracle-classic
- 2018/08/22 22:59:21 Using internal plugin for parallels-iso
- 2018/08/22 22:59:21 Using internal plugin for vmware-iso
- 2018/08/22 22:59:21 Using internal plugin for amazon-chroot
- 2018/08/22 22:59:21 Using internal plugin for ncloud
- 2018/08/22 22:59:21 Using internal plugin for virtualbox-iso
- 2018/08/22 22:59:21 Using internal plugin for amazon-ebsvolume
- 2018/08/22 22:59:21 Using internal plugin for amazon-ebssurrogate
- 2018/08/22 22:59:21 Using internal plugin for lxc
- 2018/08/22 22:59:21 Using internal plugin for lxd
- 2018/08/22 22:59:21 Using internal plugin for oneandone
- 2018/08/22 22:59:21 Using internal plugin for openstack
- 2018/08/22 22:59:21 Using internal plugin for parallels-pvm
- 2018/08/22 22:59:21 Using internal plugin for amazon-instance
- 2018/08/22 22:59:21 Using internal plugin for scaleway
- 2018/08/22 22:59:21 Using internal plugin for chef-client
- 2018/08/22 22:59:21 Using internal plugin for shell-local
- 2018/08/22 22:59:21 Using internal plugin for ansible
- 2018/08/22 22:59:21 Using internal plugin for chef-solo
- 2018/08/22 22:59:21 Using internal plugin for file
- 2018/08/22 22:59:21 Using internal plugin for powershell
- 2018/08/22 22:59:21 Using internal plugin for puppet-masterless
- 2018/08/22 22:59:21 Using internal plugin for shell
- 2018/08/22 22:59:21 Using internal plugin for converge
- 2018/08/22 22:59:21 Using internal plugin for puppet-server
- 2018/08/22 22:59:21 Using internal plugin for salt-masterless
- 2018/08/22 22:59:21 Using internal plugin for ansible-local
- 2018/08/22 22:59:21 Using internal plugin for windows-restart
- 2018/08/22 22:59:21 Using internal plugin for windows-shell
- 2018/08/22 22:59:21 Using internal plugin for checksum
- 2018/08/22 22:59:21 Using internal plugin for manifest
- 2018/08/22 22:59:21 Using internal plugin for shell-local
- 2018/08/22 22:59:21 Using internal plugin for alicloud-import
- 2018/08/22 22:59:21 Using internal plugin for atlas
- 2018/08/22 22:59:21 Using internal plugin for docker-push
- 2018/08/22 22:59:21 Using internal plugin for googlecompute-export
- 2018/08/22 22:59:21 Using internal plugin for googlecompute-import
- 2018/08/22 22:59:21 Using internal plugin for vagrant
- 2018/08/22 22:59:21 Using internal plugin for vagrant-cloud
- 2018/08/22 22:59:21 Using internal plugin for artifice
- 2018/08/22 22:59:21 Using internal plugin for compress
- 2018/08/22 22:59:21 Using internal plugin for docker-tag
- 2018/08/22 22:59:21 Using internal plugin for amazon-import
- 2018/08/22 22:59:21 Using internal plugin for docker-save
- 2018/08/22 22:59:21 Using internal plugin for vsphere-template
- 2018/08/22 22:59:21 Using internal plugin for docker-import
- 2018/08/22 22:59:21 Using internal plugin for vsphere
- 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
- 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
- 2018/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]}
- 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
- 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 Loading builder: amazon-ebs
- 2018/08/22 22:59:21 Plugin could not be found. Checking same directory as executable.
- 2018/08/22 22:59:21 Current exe path: /Users/a9tm/Downloads/packer
- 2018/08/22 22:59:21 Creating plugin client for path: /Users/a9tm/Downloads/packer
- 2018/08/22 22:59:21 Starting plugin: /Users/a9tm/Downloads/packer []string{"/Users/a9tm/Downloads/packer", "plugin", "packer-builder-amazon-ebs"}
- 2018/08/22 22:59:21 Waiting for RPC address for: /Users/a9tm/Downloads/packer
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Built with Go Version: go1.10.3
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
- 2018/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[]}
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 args: []string{"packer-builder-amazon-ebs"}
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin minimum port: 10000
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin maximum port: 25000
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin address: unix /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-plugin960618310
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Waiting for connection...
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Serving a plugin connection...
- 2018/08/22 22:59:21 Loading provisioner: ansible
- 2018/08/22 22:59:21 Plugin could not be found. Checking same directory as executable.
- 2018/08/22 22:59:21 Current exe path: /Users/a9tm/Downloads/packer
- 2018/08/22 22:59:21 Creating plugin client for path: /Users/a9tm/Downloads/packer
- 2018/08/22 22:59:21 Starting plugin: /Users/a9tm/Downloads/packer []string{"/Users/a9tm/Downloads/packer", "plugin", "packer-provisioner-ansible"}
- 2018/08/22 22:59:21 Waiting for RPC address for: /Users/a9tm/Downloads/packer
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Built with Go Version: go1.10.3
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
- 2018/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[]}
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 args: []string{"packer-provisioner-ansible"}
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin minimum port: 10000
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin maximum port: 25000
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin address: unix /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-plugin793380359
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Waiting for connection...
- 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Serving a plugin connection...
- 2018/08/22 22:59:21 ui: amazon-ebs output will be in this color.
- 2018/08/22 22:59:21 ui:
- 2018/08/22 22:59:21 Build debug mode: false
- 2018/08/22 22:59:21 Force build: false
- 2018/08/22 22:59:21 On error:
- 2018/08/22 22:59:21 Preparing build: amazon-ebs
- amazon-ebs output will be in this color.
- 2018/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}}
- 2018/08/22 22:59:22 packer: 2018/08/22 22:59:22 ansible-playbook version: 2.6.3
- 2018/08/22 22:59:22 Waiting on builds to complete...
- 2018/08/22 22:59:22 Starting build run: amazon-ebs
- 2018/08/22 22:59:22 Running builder: amazon-ebs
- 2018/08/22 22:59:22 [INFO] (telemetry) Starting builder amazon-ebs
- 2018/08/22 22:59:22 packer: 2018/08/22 22:59:22 Found region eu-central-1
- 2018/08/22 22:59:22 packer: 2018/08/22 22:59:22 [INFO] AWS Auth provider used: "SharedConfigCredentials: /Users/a9tm/.aws/credentials"
- 2018/08/22 22:59:22 ui: ==> amazon-ebs: Prevalidating AMI Name: example/freebsd/main-2018-08-22-2259
- ==> amazon-ebs: Prevalidating AMI Name: example/freebsd/main-2018-08-22-2259
- 2018/08/22 22:59:24 packer: 2018/08/22 22:59:24 Using AMI Filters {
- 2018/08/22 22:59:24 packer: Filters: [{
- 2018/08/22 22:59:24 packer: Name: "name",
- 2018/08/22 22:59:24 packer: Values: ["FreeBSD 11.2-STABLE*"]
- 2018/08/22 22:59:24 packer: },{
- 2018/08/22 22:59:24 packer: Name: "virtualization-type",
- 2018/08/22 22:59:24 packer: Values: ["hvm"]
- 2018/08/22 22:59:24 packer: }],
- 2018/08/22 22:59:24 packer: Owners: ["118940168514"]
- 2018/08/22 22:59:24 packer: }
- 2018/08/22 22:59:24 ui: amazon-ebs: Found Image ID: ami-001821321b34264bf
- amazon-ebs: Found Image ID: ami-001821321b34264bf
- 2018/08/22 22:59:24 ui: ==> amazon-ebs: Creating temporary keypair: packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12
- ==> amazon-ebs: Creating temporary keypair: packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12
- 2018/08/22 22:59:25 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5b7d885d-51c6-192c-ca9c-c3c70db788d5
- ==> amazon-ebs: Creating temporary security group for this instance: packer_5b7d885d-51c6-192c-ca9c-c3c70db788d5
- 2018/08/22 22:59:25 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...
- 2018/08/22 22:59:26 packer: 2018/08/22 22:59:26 [DEBUG] Waiting for temporary security group: sg-0c8736db8ee8829bf
- 2018/08/22 22:59:26 packer: 2018/08/22 22:59:26 [DEBUG] Found security group sg-0c8736db8ee8829bf
- 2018/08/22 22:59:26 ui: ==> amazon-ebs: Launching a source AWS instance...
- ==> amazon-ebs: Launching a source AWS instance...
- 2018/08/22 22:59:26 ui: ==> amazon-ebs: Adding tags to source instance
- ==> amazon-ebs: Adding tags to source instance
- 2018/08/22 22:59:26 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
- amazon-ebs: Adding tag: "Name": "Packer Builder"
- 2018/08/22 22:59:27 ui: amazon-ebs: Instance ID: i-xxxxxxxxxxxxxxxxx
- amazon-ebs: Instance ID: i-xxxxxxxxxxxxxxxxx
- 2018/08/22 22:59:27 ui: ==> amazon-ebs: Waiting for instance (i-xxxxxxxxxxxxxxxxx) to become ready...
- ==> amazon-ebs: Waiting for instance (i-xxxxxxxxxxxxxxxxx) to become ready...
- 2018/08/22 22:59:45 packer: 2018/08/22 22:59:45 [INFO] Not using winrm communicator, skipping get password...
- 2018/08/22 22:59:45 packer: 2018/08/22 22:59:45 [INFO] Waiting for SSH, up to timeout: 10m0s
- 2018/08/22 22:59:45 ui: ==> amazon-ebs: Waiting for SSH to become available...
- ==> amazon-ebs: Waiting for SSH to become available...
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/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
- 2018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [INFO] Attempting SSH connection...
- 2018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [DEBUG] reconnecting to TCP connection for SSH
- 2018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [DEBUG] handshaking with SSH
- 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [DEBUG] handshake complete!
- 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [DEBUG] Opening new ssh session
- ==> amazon-ebs: Connected to SSH!
- 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [INFO] agent forwarding enabled
- 2018/08/22 23:01:10 ui: ==> amazon-ebs: Connected to SSH!
- 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 Running the provision hook
- 2018/08/22 23:01:10 [INFO] (telemetry) Starting provisioner ansible
- ==> amazon-ebs: Provisioning with Ansible...
- 2018/08/22 23:01:10 ui: ==> amazon-ebs: Provisioning with Ansible...
- 2018/08/22 23:01:11 packer: 2018/08/22 23:01:11 SSH proxy: serving on 127.0.0.1:51780
- 2018/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
- ==> 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
- 2018/08/22 23:01:12 ui: amazon-ebs:
- amazon-ebs:
- 2018/08/22 23:01:12 ui: amazon-ebs: PLAY [all] *********************************************************************
- amazon-ebs: PLAY [all] *********************************************************************
- 2018/08/22 23:01:12 ui: amazon-ebs:
- amazon-ebs:
- amazon-ebs: TASK [Gathering Facts] *********************************************************
- 2018/08/22 23:01:12 ui: amazon-ebs: TASK [Gathering Facts] *********************************************************
- 2018/08/22 23:01:12 packer: 2018/08/22 23:01:12 SSH proxy: accepted connection
- 2018/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
- 2018/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
- 2018/08/22 23:01:12 ui error: ==> amazon-ebs: failed to handshake
- ==> amazon-ebs: failed to handshake
- 2018/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}
- 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}
- amazon-ebs: to retry, use: --limit @/Users/a9tm/LMS/new/provisioning/main.retry
- 2018/08/22 23:01:12 ui: amazon-ebs: to retry, use: --limit @/Users/a9tm/LMS/new/provisioning/main.retry
- 2018/08/22 23:01:12 ui: amazon-ebs:
- amazon-ebs:
- 2018/08/22 23:01:12 ui: amazon-ebs: PLAY RECAP *********************************************************************
- amazon-ebs: PLAY RECAP *********************************************************************
- 2018/08/22 23:01:12 ui: amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
- amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
- amazon-ebs:
- 2018/08/22 23:01:12 ui: amazon-ebs:
- 2018/08/22 23:01:12 packer: 2018/08/22 23:01:12 shutting down the SSH proxy
- 2018/08/22 23:01:12 [INFO] (telemetry) ending ansible
- 2018/08/22 23:01:12 ui: ==> amazon-ebs: Terminating the source AWS instance...
- ==> amazon-ebs: Terminating the source AWS instance...
- 2018/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.
- ==> amazon-ebs: Cleaning up any extra volumes...
- 2018/08/22 23:01:47 ui: ==> amazon-ebs: Cleaning up any extra volumes...
- 2018/08/22 23:01:48 ui: ==> amazon-ebs: No volumes to clean up, skipping
- ==> amazon-ebs: No volumes to clean up, skipping
- 2018/08/22 23:01:48 ui: ==> amazon-ebs: Deleting temporary security group...
- ==> amazon-ebs: Deleting temporary security group...
- 2018/08/22 23:01:48 ui: ==> amazon-ebs: Deleting temporary keypair...
- ==> amazon-ebs: Deleting temporary keypair...
- 2018/08/22 23:01:48 [INFO] (telemetry) ending amazon-ebs
- 2018/08/22 23:01:48 ui error: Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4
- 2018/08/22 23:01:48 Builds completed. Waiting on interrupt barrier...
- 2018/08/22 23:01:48 machine readable: error-count []string{"1"}
- 2018/08/22 23:01:48 ui error:
- ==> Some builds didn't complete successfully and had errors:
- 2018/08/22 23:01:48 machine readable: amazon-ebs,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"}
- 2018/08/22 23:01:48 ui error: --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4
- 2018/08/22 23:01:48 ui:
- ==> Builds finished but no artifacts were created.
- 2018/08/22 23:01:48 [INFO] (telemetry) Finalizing.
- Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4
- ==> Some builds didn't complete successfully and had errors:
- --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4
- ==> Builds finished but no artifacts were created.
- 2018/08/22 23:01:50 waiting for all plugin processes to complete...
- 2018/08/22 23:01:50 /Users/a9tm/Downloads/packer: plugin process exited
- 2018/08/22 23:01:50 /Users/a9tm/Downloads/packer: plugin process exited
Add Comment
Please, Sign In to add comment