Created
December 7, 2016 07:25
-
-
Save Firxiao/4a94e2aeb6434fa397644175b3c74c79 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016/12/07 15:12:55 [INFO] Packer version: 0.12.0 | |
2016/12/07 15:12:55 Packer Target OS/Arch: linux amd64 | |
2016/12/07 15:12:55 Built with Go Version: go1.7.3 | |
2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 Using internal plugin for amazon-instance | |
2016/12/07 15:12:55 Using internal plugin for digitalocean | |
2016/12/07 15:12:55 Using internal plugin for docker | |
2016/12/07 15:12:55 Using internal plugin for parallels-iso | |
2016/12/07 15:12:55 Using internal plugin for profitbricks | |
2016/12/07 15:12:55 Using internal plugin for qemu | |
2016/12/07 15:12:55 Using internal plugin for amazon-ebsvolume | |
2016/12/07 15:12:55 Using internal plugin for azure-arm | |
2016/12/07 15:12:55 Using internal plugin for cloudstack | |
2016/12/07 15:12:55 Using internal plugin for null | |
2016/12/07 15:12:55 Using internal plugin for vmware-iso | |
2016/12/07 15:12:55 Using internal plugin for vmware-vmx | |
2016/12/07 15:12:55 Using internal plugin for amazon-chroot | |
2016/12/07 15:12:55 Using internal plugin for file | |
2016/12/07 15:12:55 Using internal plugin for openstack | |
2016/12/07 15:12:55 Using internal plugin for parallels-pvm | |
2016/12/07 15:12:55 Using internal plugin for virtualbox-iso | |
2016/12/07 15:12:55 Using internal plugin for virtualbox-ovf | |
2016/12/07 15:12:55 Using internal plugin for amazon-ebs | |
2016/12/07 15:12:55 Using internal plugin for googlecompute | |
2016/12/07 15:12:55 Using internal plugin for chef-client | |
2016/12/07 15:12:55 Using internal plugin for file | |
2016/12/07 15:12:55 Using internal plugin for powershell | |
2016/12/07 15:12:55 Using internal plugin for salt-masterless | |
2016/12/07 15:12:55 Using internal plugin for shell-local | |
2016/12/07 15:12:55 Using internal plugin for ansible | |
2016/12/07 15:12:55 Using internal plugin for ansible-local | |
2016/12/07 15:12:55 Using internal plugin for chef-solo | |
2016/12/07 15:12:55 Using internal plugin for puppet-masterless | |
2016/12/07 15:12:55 Using internal plugin for puppet-server | |
2016/12/07 15:12:55 Using internal plugin for shell | |
2016/12/07 15:12:55 Using internal plugin for windows-restart | |
2016/12/07 15:12:55 Using internal plugin for windows-shell | |
2016/12/07 15:12:55 Using internal plugin for artifice | |
2016/12/07 15:12:55 Using internal plugin for googlecompute-export | |
2016/12/07 15:12:55 Using internal plugin for manifest | |
2016/12/07 15:12:55 Using internal plugin for shell-local | |
2016/12/07 15:12:55 Using internal plugin for vagrant | |
2016/12/07 15:12:55 Using internal plugin for vagrant-cloud | |
2016/12/07 15:12:55 Using internal plugin for vsphere | |
2016/12/07 15:12:55 Using internal plugin for checksum | |
2016/12/07 15:12:55 Using internal plugin for docker-save | |
2016/12/07 15:12:55 Using internal plugin for docker-tag | |
2016/12/07 15:12:55 Using internal plugin for amazon-import | |
2016/12/07 15:12:55 Using internal plugin for compress | |
2016/12/07 15:12:55 Using internal plugin for docker-import | |
2016/12/07 15:12:55 Using internal plugin for docker-push | |
2016/12/07 15:12:55 Using internal plugin for atlas | |
2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 Attempting to open config file: /root/.packerconfig | |
2016/12/07 15:12:55 [WARN] Config file doesn't exist: /root/.packerconfig | |
2016/12/07 15:12:55 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack 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 googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute] PostProcessors:map[googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere 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 manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas 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 checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map[chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]} | |
2016/12/07 15:12:55 Setting cache directory: /opt/auto_build_ami/packer_cache | |
2016/12/07 15:12:55 Loading builder: amazon-ebs | |
2016/12/07 15:12:55 Plugin could not be found. Checking same directory as executable. | |
2016/12/07 15:12:55 Current exe path: /usr/local/bin/packer | |
2016/12/07 15:12:55 Creating plugin client for path: /usr/local/bin/packer | |
2016/12/07 15:12:55 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"} | |
2016/12/07 15:12:55 Waiting for RPC address for: /usr/local/bin/packer | |
2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 [INFO] Packer version: 0.12.0 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Packer Target OS/Arch: linux amd64 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Built with Go Version: go1.7.3 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Attempting to open config file: /root/.packerconfig | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 [WARN] Config file doesn't exist: /root/.packerconfig | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Setting cache directory: /opt/auto_build_ami/packer_cache | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 args: []string{"packer-builder-amazon-ebs"} | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Plugin minimum port: 10000 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Plugin maximum port: 25000 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Plugin address: unix /tmp/packer-plugin846607957 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Waiting for connection... | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Serving a plugin connection... | |
2016/12/07 15:12:55 Loading provisioner: ansible | |
2016/12/07 15:12:55 Plugin could not be found. Checking same directory as executable. | |
2016/12/07 15:12:55 Current exe path: /usr/local/bin/packer | |
2016/12/07 15:12:55 Creating plugin client for path: /usr/local/bin/packer | |
2016/12/07 15:12:55 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible"} | |
2016/12/07 15:12:55 Waiting for RPC address for: /usr/local/bin/packer | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 [INFO] Packer version: 0.12.0 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Packer Target OS/Arch: linux amd64 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Built with Go Version: go1.7.3 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Attempting to open config file: /root/.packerconfig | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 [WARN] Config file doesn't exist: /root/.packerconfig | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Setting cache directory: /opt/auto_build_ami/packer_cache | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 args: []string{"packer-provisioner-ansible"} | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Plugin minimum port: 10000 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Plugin maximum port: 25000 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Plugin address: unix /tmp/packer-plugin971195926 | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Waiting for connection... | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Detected home directory from env var: /root | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Serving a plugin connection... | |
2016/12/07 15:12:55 ui: amazon-ebs output will be in this color. | |
2016/12/07 15:12:55 ui: | |
2016/12/07 15:12:55 Build debug mode: false | |
2016/12/07 15:12:55 Force build: false | |
2016/12/07 15:12:55 On error: | |
2016/12/07 15:12:55 Preparing build: amazon-ebs | |
amazon-ebs output will be in this color. | |
2016/12/07 15:12:55 packer: 2016/12/07 15:12:55 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_access_key:<Filtered> aws_secret_key:<Filtered>]} AccessConfig:{AccessKey:<Filtered> SecretKey:<Filtered> RawRegion:cn-north-1 SkipValidation:false Token: ProfileName:} AMIConfig:{AMIName:u-cn-north-1-chn-infra-rhel6-golden 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.micro RunTags:map[] SourceAmi:ami-04569e69 SourceAmiFilter:{Filters:map[] Owners:[] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[sg-f825379d] SubnetId:subnet-53a5f736 TemporaryKeyPairName:packer_5847b677-5387-c85b-cefb-07b2ee954f5a UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId:vpc-01ea0265 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user 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:0x8ecf90] UserVariables:map[aws_access_key:<Filtered> aws_secret_key:<Filtered>] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/opt/auto_build_ami/ec2_rhel6.json}} | |
2016/12/07 15:12:56 packer: 2016/12/07 15:12:56 ansible-playbook version: 2.2.0.0 | |
2016/12/07 15:12:56 Waiting on builds to complete... | |
2016/12/07 15:12:56 Starting build run: amazon-ebs | |
2016/12/07 15:12:56 Running builder: amazon-ebs | |
2016/12/07 15:12:56 packer: 2016/12/07 15:12:56 [INFO] Finding AZ for the given subnet 'subnet-53a5f736' | |
2016/12/07 15:12:56 packer: 2016/12/07 15:12:56 [INFO] AZ found: 'cn-north-1a' | |
==> amazon-ebs: Prevalidating AMI Name... | |
2016/12/07 15:12:56 ui: ==> amazon-ebs: Prevalidating AMI Name... | |
2016/12/07 15:12:57 packer: 2016/12/07 15:12:57 Using AMI Filters { | |
2016/12/07 15:12:57 packer: ImageIds: ["ami-04569e69"] | |
2016/12/07 15:12:57 packer: } | |
2016/12/07 15:12:57 ui: amazon-ebs: Found Image ID: ami-04569e69 | |
amazon-ebs: Found Image ID: ami-04569e69 | |
==> amazon-ebs: Creating temporary keypair: packer_5847b677-5387-c85b-cefb-07b2ee954f5a | |
2016/12/07 15:12:57 ui: ==> amazon-ebs: Creating temporary keypair: packer_5847b677-5387-c85b-cefb-07b2ee954f5a | |
2016/12/07 15:12:57 packer: 2016/12/07 15:12:57 Using specified security groups: [sg-f825379d] | |
2016/12/07 15:12:57 packer: 2016/12/07 15:12:57 [DEBUG] Waiting for tempSecurityGroup: sg-f825379d | |
2016/12/07 15:12:57 packer: 2016/12/07 15:12:57 [DEBUG] Found security group sg-f825379d | |
2016/12/07 15:12:57 ui: ==> amazon-ebs: Launching a source AWS instance... | |
==> amazon-ebs: Launching a source AWS instance... | |
2016/12/07 15:12:58 ui: amazon-ebs: Instance ID: i-46464b7e | |
amazon-ebs: Instance ID: i-46464b7e | |
2016/12/07 15:12:58 ui: ==> amazon-ebs: Waiting for instance (i-46464b7e) to become ready... | |
==> amazon-ebs: Waiting for instance (i-46464b7e) to become ready... | |
2016/12/07 15:12:58 packer: 2016/12/07 15:12:58 Waiting for state to become: running | |
2016/12/07 15:12:58 packer: 2016/12/07 15:12:58 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2016/12/07 15:12:58 packer: 2016/12/07 15:12:58 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
==> amazon-ebs: Waiting for SSH to become available... | |
2016/12/07 15:13:16 packer: 2016/12/07 15:13:16 [INFO] Not using winrm communicator, skipping get password... | |
2016/12/07 15:13:16 packer: 2016/12/07 15:13:16 [INFO] Waiting for SSH, up to timeout: 5m0s | |
2016/12/07 15:13:16 ui: ==> amazon-ebs: Waiting for SSH to become available... | |
2016/12/07 15:13:31 packer: 2016/12/07 15:13:31 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: i/o timeout | |
2016/12/07 15:13:43 packer: 2016/12/07 15:13:43 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: getsockopt: connection refused | |
2016/12/07 15:13:48 packer: 2016/12/07 15:13:48 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: getsockopt: connection refused | |
2016/12/07 15:13:53 packer: 2016/12/07 15:13:53 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: getsockopt: connection refused | |
2016/12/07 15:13:58 packer: 2016/12/07 15:13:58 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: getsockopt: connection refused | |
2016/12/07 15:14:03 packer: 2016/12/07 15:14:03 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: getsockopt: connection refused | |
2016/12/07 15:14:08 packer: 2016/12/07 15:14:08 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.216.200.99:22: getsockopt: connection refused | |
2016/12/07 15:14:13 packer: 2016/12/07 15:14:13 [INFO] Attempting SSH connection... | |
2016/12/07 15:14:13 packer: 2016/12/07 15:14:13 reconnecting to TCP connection for SSH | |
2016/12/07 15:14:13 packer: 2016/12/07 15:14:13 handshaking with SSH | |
2016/12/07 15:14:13 packer: 2016/12/07 15:14:13 handshake complete! | |
2016/12/07 15:14:13 packer: 2016/12/07 15:14:13 [INFO] no local agent socket, will not connect agent | |
==> amazon-ebs: Connected to SSH! | |
2016/12/07 15:14:13 ui: ==> amazon-ebs: Connected to SSH! | |
2016/12/07 15:14:13 packer: 2016/12/07 15:14:13 Running the provision hook | |
==> amazon-ebs: Provisioning with Ansible... | |
2016/12/07 15:14:13 ui: ==> amazon-ebs: Provisioning with Ansible... | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 Executing Ansible: ansible-playbook /opt/auto_build_ami/playbook.yml -i /tmp/packer-provisioner-ansible052675000 --private-key /tmp/ansible-key467055229 | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 SSH proxy: serving on 127.0.0.1:52212 | |
2016/12/07 15:14:14 ui: amazon-ebs: | |
amazon-ebs: | |
2016/12/07 15:14:14 ui: amazon-ebs: PLAY [all] ********************************************************************* | |
amazon-ebs: PLAY [all] ********************************************************************* | |
2016/12/07 15:14:14 ui: amazon-ebs: | |
amazon-ebs: | |
2016/12/07 15:14:14 ui: amazon-ebs: TASK [setup] ******************************************************************* | |
amazon-ebs: TASK [setup] ******************************************************************* | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 SSH proxy: accepted connection | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 authentication attempt from 127.0.0.1:54659 to 127.0.0.1:52212 as root using none | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 authentication attempt from 127.0.0.1:54659 to 127.0.0.1:52212 as root using publickey | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 rejecting [email protected] request | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018 `" && echo ansible-tmp-1481094854.76-56699793052018="` echo $HOME/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018 `" ) && sleep 0' | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 opening new ssh session | |
2016/12/07 15:14:14 packer: 2016/12/07 15:14:14 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018 `" && echo ansible-tmp-1481094854.76-56699793052018="` echo $HOME/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018 `" ) && sleep 0' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] 110 bytes written for 'stdout' | |
2016/12/07 15:14:15 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:15 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 110 bytes written for 'stdout' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new exec request: scp -t /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/setup.py | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 94784 bytes written for 'uploadData' | |
2016/12/07 15:14:15 [INFO] 94784 bytes written for 'uploadData' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 opening new ssh session | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 Starting remote scp process: scp -vt /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/setup.py | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 Started SCP session, beginning transfers... | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [DEBUG] scp: Uploading tmpeF5mx2: perms=C0600 size=94784 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 SCP session complete, closing stdin pipe. | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 Waiting for SSH session to complete. | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 scp stderr (length 28): Sink: C0600 94784 tmpeF5mx2 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 rejecting [email protected] request | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new exec request: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/setup.py && sleep 0' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 opening new ssh session | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 starting remote command: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/setup.py && sleep 0' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:15 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:15 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 rejecting [email protected] request | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 ansible provisioner pty-req request | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new exec request: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/setup.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 opening new ssh session | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 starting remote command: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/setup.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094854.76-56699793052018/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] 9341 bytes written for 'stdout' | |
2016/12/07 15:14:15 [INFO] 395 bytes written for 'stderr' | |
2016/12/07 15:14:15 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 9341 bytes written for 'stdout' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 395 bytes written for 'stderr' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:15 ui: amazon-ebs: ok: [default] | |
amazon-ebs: ok: [default] | |
amazon-ebs: | |
2016/12/07 15:14:15 ui: amazon-ebs: | |
2016/12/07 15:14:15 ui: amazon-ebs: TASK [base : include_vars] ***************************************************** | |
amazon-ebs: TASK [base : include_vars] ***************************************************** | |
2016/12/07 15:14:15 ui: amazon-ebs: ok: [default] => (item=/opt/auto_build_ami/roles/base/vars/RedHat-6.yml) | |
amazon-ebs: ok: [default] => (item=/opt/auto_build_ami/roles/base/vars/RedHat-6.yml) | |
2016/12/07 15:14:15 ui: amazon-ebs: | |
amazon-ebs: | |
2016/12/07 15:14:15 ui: amazon-ebs: TASK [base : copy ec2_net_utils to /tmp] *************************************** | |
amazon-ebs: TASK [base : copy ec2_net_utils to /tmp] *************************************** | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 rejecting [email protected] request | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143 `" && echo ansible-tmp-1481094855.99-203536426885143="` echo $HOME/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143 `" ) && sleep 0' | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 opening new ssh session | |
2016/12/07 15:14:15 packer: 2016/12/07 15:14:15 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143 `" && echo ansible-tmp-1481094855.99-203536426885143="` echo $HOME/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143 `" ) && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 112 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 112 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: scp -t /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/stat.py | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 56666 bytes written for 'uploadData' | |
2016/12/07 15:14:16 [INFO] 56666 bytes written for 'uploadData' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Starting remote scp process: scp -vt /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/stat.py | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Started SCP session, beginning transfers... | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [DEBUG] scp: Uploading tmpeF5mx2: perms=C0600 size=56666 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 SCP session complete, closing stdin pipe. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Waiting for SSH session to complete. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 scp stderr (length 28): Sink: C0600 56666 tmpeF5mx2 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/stat.py && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/stat.py && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 ansible provisioner pty-req request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/stat.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/stat.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094855.99-203536426885143/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 778 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 778 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331 `" && echo ansible-tmp-1481094856.26-88783629838331="` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331 `" ) && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331 `" && echo ansible-tmp-1481094856.26-88783629838331="` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331 `" ) && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 110 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 110 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: scp -t /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/stat.py | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 56701 bytes written for 'uploadData' | |
2016/12/07 15:14:16 [INFO] 56701 bytes written for 'uploadData' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Starting remote scp process: scp -vt /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/stat.py | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Started SCP session, beginning transfers... | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [DEBUG] scp: Uploading tmp_zRpcG: perms=C0600 size=56701 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 SCP session complete, closing stdin pipe. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Waiting for SSH session to complete. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 scp stderr (length 28): Sink: C0600 56701 tmp_zRpcG | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/stat.py && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/stat.py && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 ansible provisioner pty-req request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/stat.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/stat.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.26-88783629838331/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 258 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 258 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813 `" && echo ansible-tmp-1481094856.56-242026293495813="` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813 `" ) && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813 `" && echo ansible-tmp-1481094856.56-242026293495813="` echo $HOME/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813 `" ) && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 112 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 112 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: scp -t /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/source | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 11104 bytes written for 'uploadData' | |
2016/12/07 15:14:16 [INFO] 11104 bytes written for 'uploadData' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Starting remote scp process: scp -vt /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/source | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Started SCP session, beginning transfers... | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [DEBUG] scp: Uploading ec2-net-utils-0.5-2.el6.noarch.rpm: perms=C0644 size=11104 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 SCP session complete, closing stdin pipe. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Waiting for SSH session to complete. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 scp stderr (length 53): Sink: C0644 11104 ec2-net-utils-0.5-2.el6.noarch.rpm | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/source && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/source && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: scp -t /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/copy.py | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 57398 bytes written for 'uploadData' | |
2016/12/07 15:14:16 [INFO] 57398 bytes written for 'uploadData' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Starting remote scp process: scp -vt /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/copy.py | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Started SCP session, beginning transfers... | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [DEBUG] scp: Uploading tmpWxC4xg: perms=C0600 size=57398 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 SCP session complete, closing stdin pipe. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 Waiting for SSH session to complete. | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 scp stderr (length 28): Sink: C0600 57398 tmpWxC4xg | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/copy.py && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/copy.py && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 rejecting [email protected] request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 ansible provisioner pty-req request | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 new exec request: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/copy.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 opening new ssh session | |
2016/12/07 15:14:16 packer: 2016/12/07 15:14:16 starting remote command: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/copy.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094856.56-242026293495813/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 951 bytes written for 'stdout' | |
2016/12/07 15:14:17 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 951 bytes written for 'stdout' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdin' | |
amazon-ebs: changed: [default] | |
2016/12/07 15:14:17 ui: amazon-ebs: changed: [default] | |
2016/12/07 15:14:17 ui: amazon-ebs: | |
amazon-ebs: | |
2016/12/07 15:14:17 ui: amazon-ebs: TASK [base : install ec2_net_utils] ******************************************* | |
amazon-ebs: TASK [base : install ec2_net_utils] ******************************************* | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 rejecting [email protected] request | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925 `" && echo ansible-tmp-1481094857.32-164959356541925="` echo $HOME/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925 `" ) && sleep 0' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 opening new ssh session | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925 `" && echo ansible-tmp-1481094857.32-164959356541925="` echo $HOME/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925 `" ) && sleep 0' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 112 bytes written for 'stdout' | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:17 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 112 bytes written for 'stdout' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new exec request: scp -t /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/yum.py | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 82537 bytes written for 'uploadData' | |
2016/12/07 15:14:17 [INFO] 82537 bytes written for 'uploadData' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 opening new ssh session | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 Starting remote scp process: scp -vt /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/yum.py | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 Started SCP session, beginning transfers... | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [DEBUG] scp: Uploading tmpeF5mx2: perms=C0600 size=82537 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 SCP session complete, closing stdin pipe. | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 Waiting for SSH session to complete. | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 scp stderr (length 28): Sink: C0600 82537 tmpeF5mx2 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 rejecting [email protected] request | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new exec request: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/yum.py && sleep 0' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 opening new ssh session | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 starting remote command: /bin/sh -c 'chmod u+x /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/ /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/yum.py && sleep 0' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:17 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:17 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdout' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 rejecting [email protected] request | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 ansible provisioner pty-req request | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new env request: LANG=en_US.UTF-8 | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 new exec request: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/yum.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 opening new ssh session | |
2016/12/07 15:14:17 packer: 2016/12/07 15:14:17 starting remote command: /bin/sh -c '/usr/bin/python /home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/yum.py; rm -rf "/home/ec2-user/.ansible/tmp/ansible-tmp-1481094857.32-164959356541925/" > /dev/null 2>&1 && sleep 0' | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:25 [INFO] 1530 bytes written for 'stdout' | |
2016/12/07 15:14:25 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:25 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:25 [INFO] RPC endpoint: Communicator ended with: 0 | |
2016/12/07 15:14:25 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 [INFO] 1530 bytes written for 'stdout' | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 [INFO] 0 bytes written for 'stderr' | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 [INFO] RPC client: Communicator ended with: 0 | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 [INFO] 0 bytes written for 'stdin' | |
2016/12/07 15:14:25 ui: amazon-ebs: fatal: [default]: FAILED! => {"changed": true, "failed": true, "msg": "Repo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt\nRepo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/product/rhui-client-config-server-6.crt\nRepo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/rhui-client-config-server-6.key\nRepo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt\nRepo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt\nRepo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key\nRepo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt\nRepo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt\nRepo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key\nYou need to be root to perform this command.\n", "rc": 1, "results": ["Loaded plugins: amazon-id, rhui-lb, security\n"]} | |
amazon-ebs: fatal: [default]: FAILED! => {"changed": true, "failed": true, "msg": "Repo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt\nRepo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/product/rhui-client-config-server-6.crt\nRepo rhui-REGION-client-config-server-6 forced skip_if_unavailable=True due to: /etc/pki/rhui/rhui-client-config-server-6.key\nRepo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt\nRepo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt\nRepo rhui-REGION-rhel-server-releases forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key\nRepo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/cdn.redhat.com-chain.crt\nRepo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/product/content-rhel6.crt\nRepo rhui-REGION-rhel-server-rh-common forced skip_if_unavailable=True due to: /etc/pki/rhui/content-rhel6.key\nYou need to be root to perform this command.\n", "rc": 1, "results": ["Loaded plugins: amazon-id, rhui-lb, security\n"]} | |
2016/12/07 15:14:25 ui: amazon-ebs: to retry, use: --limit @/opt/auto_build_ami/playbook.retry | |
amazon-ebs: to retry, use: --limit @/opt/auto_build_ami/playbook.retry | |
amazon-ebs: | |
2016/12/07 15:14:25 ui: amazon-ebs: | |
2016/12/07 15:14:25 ui: amazon-ebs: PLAY RECAP ********************************************************************* | |
amazon-ebs: PLAY RECAP ********************************************************************* | |
2016/12/07 15:14:25 ui: amazon-ebs: default : ok=3 changed=1 unreachable=0 failed=1 | |
2016/12/07 15:14:25 ui: amazon-ebs: | |
amazon-ebs: default : ok=3 changed=1 unreachable=0 failed=1 | |
amazon-ebs: | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 shutting down the SSH proxy | |
2016/12/07 15:14:25 ui: ==> amazon-ebs: Terminating the source AWS instance... | |
==> amazon-ebs: Terminating the source AWS instance... | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 Waiting for state to become: terminated | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2016/12/07 15:14:25 packer: 2016/12/07 15:14:25 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
2016/12/07 15:15:14 ui: ==> amazon-ebs: Cleaning up any extra volumes... | |
==> amazon-ebs: Cleaning up any extra volumes... | |
2016/12/07 15:15:14 ui: ==> amazon-ebs: No volumes to clean up, skipping | |
==> amazon-ebs: No volumes to clean up, skipping | |
==> amazon-ebs: Deleting temporary keypair... | |
2016/12/07 15:15:14 ui: ==> amazon-ebs: Deleting temporary keypair... | |
2016/12/07 15:15:14 ui error: Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 2 | |
2016/12/07 15:15:14 Builds completed. Waiting on interrupt barrier... | |
2016/12/07 15:15:14 machine readable: error-count []string{"1"} | |
2016/12/07 15:15:14 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2016/12/07 15:15:14 machine readable: amazon-ebs,error []string{"Error executing Ansible: Non-zero exit status: exit status 2"} | |
2016/12/07 15:15:14 ui error: --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 2 | |
2016/12/07 15:15:14 ui: | |
==> Builds finished but no artifacts were created. | |
2016/12/07 15:15:14 waiting for all plugin processes to complete... | |
Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 2 | |
==> Some builds didn't complete successfully and had errors: | |
--> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 2 | |
==> Builds finished but no artifacts were created. | |
2016/12/07 15:15:14 /usr/local/bin/packer: plugin process exited | |
2016/12/07 15:15:14 /usr/local/bin/packer: plugin process exited |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment