Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ashevchenko@uk179584 ~/development/infrastructure (LQA-3246) $ PACKER_LOG=1 packer build -var "git_hash=`git rev-parse --short HEAD`" base-ami-packer.json
- 2017/07/27 12:40:10 [INFO] Packer version: 1.0.3
- 2017/07/27 12:40:10 Packer Target OS/Arch: darwin amd64
- 2017/07/27 12:40:10 Built with Go Version: go1.8.3
- 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 Using internal plugin for alicloud-ecs
- 2017/07/27 12:40:10 Using internal plugin for amazon-ebs
- 2017/07/27 12:40:10 Using internal plugin for amazon-ebssurrogate
- 2017/07/27 12:40:10 Using internal plugin for digitalocean
- 2017/07/27 12:40:10 Using internal plugin for null
- 2017/07/27 12:40:10 Using internal plugin for parallels-pvm
- 2017/07/27 12:40:10 Using internal plugin for docker
- 2017/07/27 12:40:10 Using internal plugin for profitbricks
- 2017/07/27 12:40:10 Using internal plugin for triton
- 2017/07/27 12:40:10 Using internal plugin for virtualbox-ovf
- 2017/07/27 12:40:10 Using internal plugin for vmware-vmx
- 2017/07/27 12:40:10 Using internal plugin for amazon-ebsvolume
- 2017/07/27 12:40:10 Using internal plugin for amazon-instance
- 2017/07/27 12:40:10 Using internal plugin for azure-arm
- 2017/07/27 12:40:10 Using internal plugin for googlecompute
- 2017/07/27 12:40:10 Using internal plugin for openstack
- 2017/07/27 12:40:10 Using internal plugin for parallels-iso
- 2017/07/27 12:40:10 Using internal plugin for virtualbox-iso
- 2017/07/27 12:40:10 Using internal plugin for amazon-chroot
- 2017/07/27 12:40:10 Using internal plugin for cloudstack
- 2017/07/27 12:40:10 Using internal plugin for file
- 2017/07/27 12:40:10 Using internal plugin for hyperv-iso
- 2017/07/27 12:40:10 Using internal plugin for oneandone
- 2017/07/27 12:40:10 Using internal plugin for qemu
- 2017/07/27 12:40:10 Using internal plugin for vmware-iso
- 2017/07/27 12:40:10 Using internal plugin for puppet-server
- 2017/07/27 12:40:10 Using internal plugin for shell-local
- 2017/07/27 12:40:10 Using internal plugin for chef-solo
- 2017/07/27 12:40:10 Using internal plugin for converge
- 2017/07/27 12:40:10 Using internal plugin for puppet-masterless
- 2017/07/27 12:40:10 Using internal plugin for windows-restart
- 2017/07/27 12:40:10 Using internal plugin for ansible-local
- 2017/07/27 12:40:10 Using internal plugin for powershell
- 2017/07/27 12:40:10 Using internal plugin for shell
- 2017/07/27 12:40:10 Using internal plugin for chef-client
- 2017/07/27 12:40:10 Using internal plugin for file
- 2017/07/27 12:40:10 Using internal plugin for ansible
- 2017/07/27 12:40:10 Using internal plugin for salt-masterless
- 2017/07/27 12:40:10 Using internal plugin for windows-shell
- 2017/07/27 12:40:10 Using internal plugin for atlas
- 2017/07/27 12:40:10 Using internal plugin for docker-tag
- 2017/07/27 12:40:10 Using internal plugin for googlecompute-export
- 2017/07/27 12:40:10 Using internal plugin for shell-local
- 2017/07/27 12:40:10 Using internal plugin for checksum
- 2017/07/27 12:40:10 Using internal plugin for docker-save
- 2017/07/27 12:40:10 Using internal plugin for manifest
- 2017/07/27 12:40:10 Using internal plugin for artifice
- 2017/07/27 12:40:10 Using internal plugin for docker-import
- 2017/07/27 12:40:10 Using internal plugin for docker-push
- 2017/07/27 12:40:10 Using internal plugin for vagrant
- 2017/07/27 12:40:10 Using internal plugin for vsphere
- 2017/07/27 12:40:10 Using internal plugin for alicloud-import
- 2017/07/27 12:40:10 Using internal plugin for amazon-import
- 2017/07/27 12:40:10 Using internal plugin for compress
- 2017/07/27 12:40:10 Using internal plugin for vagrant-cloud
- 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 Attempting to open config file: /Users/ashevchenko/.packerconfig
- 2017/07/27 12:40:10 [WARN] Config file doesn't exist: /Users/ashevchenko/.packerconfig
- 2017/07/27 12:40:10 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso] PostProcessors:map[docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere 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 vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas] Provisioners:map[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 chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
- 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 Setting cache directory: /Users/ashevchenko/development/infrastructure/packer_cache
- 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 Loading builder: amazon-ebs
- 2017/07/27 12:40:10 Plugin could not be found. Checking same directory as executable.
- 2017/07/27 12:40:10 Current exe path: /usr/local/bin/packer
- 2017/07/27 12:40:10 Creating plugin client for path: /usr/local/bin/packer
- 2017/07/27 12:40:10 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
- 2017/07/27 12:40:10 Waiting for RPC address for: /usr/local/bin/packer
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [INFO] Packer version: 1.0.3
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer Target OS/Arch: darwin amd64
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Built with Go Version: go1.8.3
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Attempting to open config file: /Users/ashevchenko/.packerconfig
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [WARN] Config file doesn't exist: /Users/ashevchenko/.packerconfig
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Setting cache directory: /Users/ashevchenko/development/infrastructure/packer_cache
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 args: []string{"packer-builder-amazon-ebs"}
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin minimum port: 10000
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin maximum port: 25000
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin address: unix /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-plugin893079113
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Waiting for connection...
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Serving a plugin connection...
- 2017/07/27 12:40:10 Loading provisioner: ansible
- 2017/07/27 12:40:10 Plugin could not be found. Checking same directory as executable.
- 2017/07/27 12:40:10 Current exe path: /usr/local/bin/packer
- 2017/07/27 12:40:10 Creating plugin client for path: /usr/local/bin/packer
- 2017/07/27 12:40:10 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible"}
- 2017/07/27 12:40:10 Waiting for RPC address for: /usr/local/bin/packer
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [INFO] Packer version: 1.0.3
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer Target OS/Arch: darwin amd64
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Built with Go Version: go1.8.3
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Attempting to open config file: /Users/ashevchenko/.packerconfig
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [WARN] Config file doesn't exist: /Users/ashevchenko/.packerconfig
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Setting cache directory: /Users/ashevchenko/development/infrastructure/packer_cache
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 args: []string{"packer-provisioner-ansible"}
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin minimum port: 10000
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin maximum port: 25000
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin address: unix /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-plugin882362182
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Waiting for connection...
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Serving a plugin connection...
- 2017/07/27 12:40:10 ui: amazon-ebs output will be in this color.
- 2017/07/27 12:40:10 ui:
- 2017/07/27 12:40:10 Build debug mode: false
- 2017/07/27 12:40:10 Force build: false
- 2017/07/27 12:40:10 On error:
- 2017/07/27 12:40:10 Preparing build: amazon-ebs
- amazon-ebs output will be in this color.
- 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[git_hash:6d4206aee]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:eu-west-1 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:leap-base-ami-1501155610 AMIDescription: AMIVirtType: AMIUsers:[189539755066 305366777960 394333930054 453130194223 499604764704 670689373697 693793123069 755264997877] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[Name:Leap Base Image ({{timestamp}}) Git_hash:{{user `git_hash`}}] AMIEnhancedNetworking: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[0xc420380660:0xc420380680] Owners:[0xc420380700] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId:subnet-2c243c5a TemporaryKeyPairName:packer_5979d11a-9750-b541-593b-a646b7524e51 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-e6918182 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:true SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1822230] UserVariables:map[git_hash:6d4206aee] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/ashevchenko/development/infrastructure/base-ami-packer.json}}
- 2017/07/27 12:40:11 packer: 2017/07/27 12:40:11 ansible-playbook version: 2.3.0.0
- 2017/07/27 12:40:11 Waiting on builds to complete...
- 2017/07/27 12:40:11 Starting build run: amazon-ebs
- 2017/07/27 12:40:11 Running builder: amazon-ebs
- 2017/07/27 12:40:11 [INFO] (telemetry) Starting builder amazon-ebs
- 2017/07/27 12:40:11 packer: 2017/07/27 12:40:11 [INFO] Finding AZ and VpcId for the given subnet 'subnet-2c243c5a'
- 2017/07/27 12:40:11 packer: 2017/07/27 12:40:11 [INFO] AvailabilityZone found: 'eu-west-1a'
- 2017/07/27 12:40:11 ui: ==> amazon-ebs: Prevalidating AMI Name...
- ==> amazon-ebs: Prevalidating AMI Name...
- 2017/07/27 12:40:15 packer: 2017/07/27 12:40:15 Using AMI Filters {
- 2017/07/27 12:40:15 packer: Filters: [{
- 2017/07/27 12:40:15 packer: Name: "name",
- 2017/07/27 12:40:15 packer: Values: ["RHEL-7.3_HVM_GA-20161026-x86_64-1-Hourly2-GP2"]
- 2017/07/27 12:40:15 packer: }],
- 2017/07/27 12:40:15 packer: Owners: ["309956199498"]
- 2017/07/27 12:40:15 packer: }
- 2017/07/27 12:40:16 ui: amazon-ebs: Found Image ID: ami-02ace471
- amazon-ebs: Found Image ID: ami-02ace471
- 2017/07/27 12:40:16 ui: ==> amazon-ebs: Creating temporary keypair: packer_5979d11a-9750-b541-593b-a646b7524e51
- ==> amazon-ebs: Creating temporary keypair: packer_5979d11a-9750-b541-593b-a646b7524e51
- 2017/07/27 12:40:16 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5979d120-80ee-a4f3-c748-3cb913b9d5a2
- ==> amazon-ebs: Creating temporary security group for this instance: packer_5979d120-80ee-a4f3-c748-3cb913b9d5a2
- 2017/07/27 12:40:16 ui: ==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
- ==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
- 2017/07/27 12:40:16 packer: 2017/07/27 12:40:16 [DEBUG] Waiting for temporary security group: sg-011daf79
- 2017/07/27 12:40:16 packer: 2017/07/27 12:40:16 [DEBUG] Found security group sg-011daf79
- 2017/07/27 12:40:16 ui: ==> amazon-ebs: Launching a source AWS instance...
- ==> amazon-ebs: Launching a source AWS instance...
- 2017/07/27 12:40:18 ui: amazon-ebs: Instance ID: i-00248506c43c61e0b
- amazon-ebs: Instance ID: i-00248506c43c61e0b
- 2017/07/27 12:40:18 ui: ==> amazon-ebs: Waiting for instance (i-00248506c43c61e0b) to become ready...
- 2017/07/27 12:40:18 packer: 2017/07/27 12:40:18 Waiting for state to become: running
- 2017/07/27 12:40:18 packer: 2017/07/27 12:40:18 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
- 2017/07/27 12:40:18 packer: 2017/07/27 12:40:18 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
- ==> amazon-ebs: Waiting for instance (i-00248506c43c61e0b) to become ready...
- 2017/07/27 12:40:38 ui: ==> amazon-ebs: Adding tags to source instance
- ==> amazon-ebs: Adding tags to source instance
- 2017/07/27 12:40:38 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
- amazon-ebs: Adding tag: "Name": "Packer Builder"
- 2017/07/27 12:40:38 packer: 2017/07/27 12:40:38 [INFO] Not using winrm communicator, skipping get password...
- 2017/07/27 12:40:38 packer: 2017/07/27 12:40:38 [INFO] Waiting for SSH, up to timeout: 5m0s
- 2017/07/27 12:40:38 ui: ==> amazon-ebs: Waiting for SSH to become available...
- ==> amazon-ebs: Waiting for SSH to become available...
- 2017/07/27 12:40:49 packer: 2017/07/27 12:40:49 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 34.250.114.60:22: getsockopt: connection refused
- 2017/07/27 12:40:54 packer: 2017/07/27 12:40:54 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 34.250.114.60:22: getsockopt: connection refused
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 [INFO] Attempting SSH connection...
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 reconnecting to TCP connection for SSH
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 handshaking with SSH
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 handshake complete!
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 opening new ssh session
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 [INFO] agent forwarding enabled
- 2017/07/27 12:40:59 ui: ==> amazon-ebs: Connected to SSH!
- ==> amazon-ebs: Connected to SSH!
- 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 Running the provision hook
- 2017/07/27 12:40:59 [INFO] (telemetry) Starting provisioner ansible
- 2017/07/27 12:40:59 ui: ==> amazon-ebs: Provisioning with Ansible...
- ==> amazon-ebs: Provisioning with Ansible...
- 2017/07/27 12:41:00 packer: 2017/07/27 12:41:00 SSH proxy: serving on 127.0.0.1:56021
- 2017/07/27 12:41:00 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-provisioner-ansible922062440 /Users/ashevchenko/development/infrastructure/base-ami-setup.yml --private-key /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/ansible-key526957549
- ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-provisioner-ansible922062440 /Users/ashevchenko/development/infrastructure/base-ami-setup.yml --private-key /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/ansible-key526957549
- 2017/07/27 12:41:02 ui: amazon-ebs:
- amazon-ebs:
- 2017/07/27 12:41:02 ui: amazon-ebs: PLAY [Install common components + settings] ************************************
- amazon-ebs: PLAY [Install common components + settings] ************************************
- 2017/07/27 12:41:02 ui: amazon-ebs:
- amazon-ebs:
- 2017/07/27 12:41:02 ui: amazon-ebs: TASK [Install packages] ********************************************************
- amazon-ebs: TASK [Install packages] ********************************************************
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 SSH proxy: accepted connection
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 authentication attempt from 127.0.0.1:56022 to 127.0.0.1:56021 as ashevchenko using none
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 authentication attempt from 127.0.0.1:56022 to 127.0.0.1:56021 as ashevchenko using publickey
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 authentication attempt from 127.0.0.1:56022 to 127.0.0.1:56021 as ashevchenko using publickey
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" && echo ansible-tmp-1501155663.32-163059443100981="` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" ) && sleep 0'
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 opening new ssh session
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" && echo ansible-tmp-1501155663.32-163059443100981="` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" ) && sleep 0'
- 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 [INFO] RPC endpoint: Communicator ended with: 0
- 2017/07/27 12:41:03 [INFO] 113 bytes written for 'stdout'
- 2017/07/27 12:41:03 [INFO] 0 bytes written for 'stderr'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement