-
-
Save ranjb/cf8bd0d93242d4a935854acf2c4514de to your computer and use it in GitHub Desktop.
Packer amazon-ebs timeout debug log
This file contains 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
2018/04/19 12:47:03 [INFO] Packer version: 1.2.2 | |
2018/04/19 12:47:03 Packer Target OS/Arch: linux amd64 | |
2018/04/19 12:47:03 Built with Go Version: go1.10 | |
2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 Using internal plugin for digitalocean | |
2018/04/19 12:47:03 Using internal plugin for docker | |
2018/04/19 12:47:03 Using internal plugin for openstack | |
2018/04/19 12:47:03 Using internal plugin for amazon-ebsvolume | |
2018/04/19 12:47:03 Using internal plugin for amazon-ebs | |
2018/04/19 12:47:03 Using internal plugin for parallels-iso | |
2018/04/19 12:47:03 Using internal plugin for qemu | |
2018/04/19 12:47:03 Using internal plugin for scaleway | |
2018/04/19 12:47:03 Using internal plugin for triton | |
2018/04/19 12:47:03 Using internal plugin for alicloud-ecs | |
2018/04/19 12:47:03 Using internal plugin for cloudstack | |
2018/04/19 12:47:03 Using internal plugin for null | |
2018/04/19 12:47:03 Using internal plugin for parallels-pvm | |
2018/04/19 12:47:03 Using internal plugin for virtualbox-iso | |
2018/04/19 12:47:03 Using internal plugin for amazon-instance | |
2018/04/19 12:47:03 Using internal plugin for oracle-oci | |
2018/04/19 12:47:03 Using internal plugin for vmware-vmx | |
2018/04/19 12:47:03 Using internal plugin for amazon-ebssurrogate | |
2018/04/19 12:47:03 Using internal plugin for file | |
2018/04/19 12:47:03 Using internal plugin for hyperv-vmcx | |
2018/04/19 12:47:03 Using internal plugin for profitbricks | |
2018/04/19 12:47:03 Using internal plugin for vmware-iso | |
2018/04/19 12:47:03 Using internal plugin for amazon-chroot | |
2018/04/19 12:47:03 Using internal plugin for azure-arm | |
2018/04/19 12:47:03 Using internal plugin for hyperv-iso | |
2018/04/19 12:47:03 Using internal plugin for lxc | |
2018/04/19 12:47:03 Using internal plugin for lxd | |
2018/04/19 12:47:03 Using internal plugin for ncloud | |
2018/04/19 12:47:03 Using internal plugin for oneandone | |
2018/04/19 12:47:03 Using internal plugin for oracle-classic | |
2018/04/19 12:47:03 Using internal plugin for virtualbox-ovf | |
2018/04/19 12:47:03 Using internal plugin for googlecompute | |
2018/04/19 12:47:03 Using internal plugin for puppet-masterless | |
2018/04/19 12:47:03 Using internal plugin for salt-masterless | |
2018/04/19 12:47:03 Using internal plugin for windows-shell | |
2018/04/19 12:47:03 Using internal plugin for converge | |
2018/04/19 12:47:03 Using internal plugin for powershell | |
2018/04/19 12:47:03 Using internal plugin for ansible-local | |
2018/04/19 12:47:03 Using internal plugin for shell | |
2018/04/19 12:47:03 Using internal plugin for shell-local | |
2018/04/19 12:47:03 Using internal plugin for chef-solo | |
2018/04/19 12:47:03 Using internal plugin for file | |
2018/04/19 12:47:03 Using internal plugin for puppet-server | |
2018/04/19 12:47:03 Using internal plugin for windows-restart | |
2018/04/19 12:47:03 Using internal plugin for ansible | |
2018/04/19 12:47:03 Using internal plugin for chef-client | |
2018/04/19 12:47:03 Using internal plugin for docker-tag | |
2018/04/19 12:47:03 Using internal plugin for googlecompute-export | |
2018/04/19 12:47:03 Using internal plugin for alicloud-import | |
2018/04/19 12:47:03 Using internal plugin for amazon-import | |
2018/04/19 12:47:03 Using internal plugin for checksum | |
2018/04/19 12:47:03 Using internal plugin for docker-save | |
2018/04/19 12:47:03 Using internal plugin for atlas | |
2018/04/19 12:47:03 Using internal plugin for manifest | |
2018/04/19 12:47:03 Using internal plugin for compress | |
2018/04/19 12:47:03 Using internal plugin for docker-push | |
2018/04/19 12:47:03 Using internal plugin for shell-local | |
2018/04/19 12:47:03 Using internal plugin for vsphere | |
2018/04/19 12:47:03 Using internal plugin for vsphere-template | |
2018/04/19 12:47:03 Using internal plugin for artifice | |
2018/04/19 12:47:03 Using internal plugin for docker-import | |
2018/04/19 12:47:03 Using internal plugin for vagrant | |
2018/04/19 12:47:03 Using internal plugin for vagrant-cloud | |
2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 Attempting to open config file: /root/.packerconfig | |
2018/04/19 12:47:03 [WARN] Config file doesn't exist: /root/.packerconfig | |
2018/04/19 12:47:03 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci ncloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm] PostProcessors:map[vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum 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 docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant 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] Provisioners:map[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 converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart]} | |
2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 Setting cache directory: /codebuild/output/src113426255/src/**** masked ****/packer_cache | |
2018/04/19 12:47:03 Loading builder: amazon-ebs | |
2018/04/19 12:47:03 Plugin could not be found. Checking same directory as executable. | |
2018/04/19 12:47:03 Current exe path: /usr/local/bin/packer | |
2018/04/19 12:47:03 Creating plugin client for path: /usr/local/bin/packer | |
2018/04/19 12:47:03 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"} | |
2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 Waiting for RPC address for: /usr/local/bin/packer | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [INFO] Packer version: 1.2.2 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Packer Target OS/Arch: linux amd64 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Built with Go Version: go1.10 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Attempting to open config file: /root/.packerconfig | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [WARN] Config file doesn't exist: /root/.packerconfig | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Setting cache directory: /codebuild/output/src113426255/src/*** masked ****/packer_cache | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 args: []string{"packer-builder-amazon-ebs"} | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Plugin minimum port: 10000 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Plugin maximum port: 25000 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Plugin address: unix /tmp/packer-plugin749695756 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Waiting for connection... | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Serving a plugin connection... | |
2018/04/19 12:47:03 Loading provisioner: shell | |
2018/04/19 12:47:03 Plugin could not be found. Checking same directory as executable. | |
2018/04/19 12:47:03 Current exe path: /usr/local/bin/packer | |
2018/04/19 12:47:03 Creating plugin client for path: /usr/local/bin/packer | |
2018/04/19 12:47:03 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"} | |
2018/04/19 12:47:03 Waiting for RPC address for: /usr/local/bin/packer | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [INFO] Packer version: 1.2.2 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Packer Target OS/Arch: linux amd64 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Built with Go Version: go1.10 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Attempting to open config file: /root/.packerconfig | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [WARN] Config file doesn't exist: /root/.packerconfig | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]} | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Setting cache directory: /codebuild/output/src113426255/src/*** masked ***/packer_cache | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 args: []string{"packer-provisioner-shell"} | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Plugin minimum port: 10000 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Plugin maximum port: 25000 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Plugin address: unix /tmp/packer-plugin077020251 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Detected home directory from env var: /root | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Waiting for connection... | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Serving a plugin connection... | |
[1;32mamazon-ebs output will be in this color.[0m | |
2018/04/19 12:47:03 ui: [1;32mamazon-ebs output will be in this color.[0m | |
2018/04/19 12:47:03 ui: | |
2018/04/19 12:47:03 Build debug mode: false | |
2018/04/19 12:47:03 Force build: false | |
2018/04/19 12:47:03 On error: | |
2018/04/19 12:47:03 Force build: false | |
2018/04/19 12:47:03 On error: | |
2018/04/19 12:47:03 Preparing build: amazon-ebs | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Cannot copy AMI to AWS session region 'us-east-1', deleting it from `ami_regions`. | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_access_key: aws_secret_key: pkr_ami_version:0.3]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-east-1 SecretKey: SkipValidation:false SkipMetadataApiCheck:false Token: session:<nil>} AMIConfig:{AMIName:foo-rhel-app-x86_64-gp2 AMIDescription: AMIVirtType: AMIUsers:[450282471518 758611722757] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[Name:Foo Application Instance Source AMI ID:{{ .SourceAMI }} Version:{{user `pkr_ami_version`}}] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:true AMIForceDeleteSnapshot:true AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.medium RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4204a8860:0xc4204a8880 0xc4204a88a0:0xc4204a88c0 0xc4204a88e0:0xc4204a8900] Owners:[0xc4204a8980] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-1f9bde30 TemporaryKeyPairName:packer_5ad88fc7-0528-0ce1-313a-ca1a6f6da628 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-09c92272 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s 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:0xc397d0] UserVariables:map[aws_access_key: aws_secret_key: pkr_ami_version:0.3] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/codebuild/output/src113426255/src/*** masked ***/packer-foo.json}} | |
2018/04/19 12:47:03 Waiting on builds to complete... | |
2018/04/19 12:47:03 Starting build run: amazon-ebs | |
2018/04/19 12:47:03 Running builder: amazon-ebs | |
2018/04/19 12:47:03 [INFO] (telemetry) Starting builder amazon-ebs | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Found region us-east-1 | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [INFO] AWS Auth provider used: "CredentialsEndpointProvider" | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [INFO] Finding AZ and VpcId for the given subnet 'subnet-1f9bde30' | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 [INFO] AvailabilityZone found: 'us-east-1c' | |
[1;32m==> amazon-ebs: Force Deregister flag found, skipping prevalidating AMI Name[0m | |
2018/04/19 12:47:03 ui: [1;32m==> amazon-ebs: Force Deregister flag found, skipping prevalidating AMI Name[0m | |
2018/04/19 12:47:03 packer: 2018/04/19 12:47:03 Using AMI Filters { | |
2018/04/19 12:47:03 packer: Filters: [{ | |
2018/04/19 12:47:03 packer: Name: "name", | |
2018/04/19 12:47:03 packer: Values: ["RHEL-7.4_HVM-*-x86_64-2-Hourly2-GP2"] | |
2018/04/19 12:47:03 packer: },{ | |
2018/04/19 12:47:03 packer: Name: "root-device-type", | |
2018/04/19 12:47:03 packer: Values: ["ebs"] | |
2018/04/19 12:47:03 packer: },{ | |
2018/04/19 12:47:03 packer: Name: "virtualization-type", | |
2018/04/19 12:47:03 packer: Values: ["hvm"] | |
2018/04/19 12:47:03 packer: }], | |
2018/04/19 12:47:03 packer: Owners: ["309956199498"] | |
2018/04/19 12:47:03 packer: } | |
[0;32m amazon-ebs: Found Image ID: ami-26ebbc5c[0m | |
2018/04/19 12:47:04 ui: [0;32m amazon-ebs: Found Image ID: ami-26ebbc5c[0m | |
2018/04/19 12:47:04 ui: [1;32m==> amazon-ebs: Creating temporary keypair: packer_5ad88fc7-0528-0ce1-313a-ca1a6f6da628[0m | |
[1;32m==> amazon-ebs: Creating temporary keypair: packer_5ad88fc7-0528-0ce1-313a-ca1a6f6da628[0m | |
2018/04/19 12:47:04 ui: [1;32m==> amazon-ebs: Creating temporary security group for this instance: packer_5ad88fc8-006a-f030-9df1-5b74c600ed3e[0m | |
[1;32m==> amazon-ebs: Creating temporary security group for this instance: packer_5ad88fc8-006a-f030-9df1-5b74c600ed3e[0m | |
[1;32m==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...[0m | |
2018/04/19 12:47:04 ui: [1;32m==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...[0m | |
2018/04/19 12:47:04 packer: 2018/04/19 12:47:04 [DEBUG] Waiting for temporary security group: sg-11960158 | |
2018/04/19 12:47:09 packer: 2018/04/19 12:47:09 [DEBUG] Found security group sg-11960158 | |
2018/04/19 12:47:09 ui: [1;32m==> amazon-ebs: Launching a source AWS instance...[0m | |
[1;32m==> amazon-ebs: Launching a source AWS instance...[0m | |
[1;32m==> amazon-ebs: Adding tags to source instance[0m | |
2018/04/19 12:47:09 ui: [1;32m==> amazon-ebs: Adding tags to source instance[0m | |
[0;32m amazon-ebs: Adding tag: "Name": "Packer Builder"[0m | |
2018/04/19 12:47:09 ui: [0;32m amazon-ebs: Adding tag: "Name": "Packer Builder"[0m | |
[0;32m amazon-ebs: Instance ID: i-0c01f3e8ce495a2bc[0m | |
2018/04/19 12:47:10 ui: [0;32m amazon-ebs: Instance ID: i-0c01f3e8ce495a2bc[0m | |
[1;32m==> amazon-ebs: Waiting for instance (i-0c01f3e8ce495a2bc) to become ready...[0m | |
2018/04/19 12:47:10 ui: [1;32m==> amazon-ebs: Waiting for instance (i-0c01f3e8ce495a2bc) to become ready...[0m | |
2018/04/19 12:47:26 packer: 2018/04/19 12:47:26 [INFO] Not using winrm communicator, skipping get password... | |
2018/04/19 12:47:26 packer: 2018/04/19 12:47:26 [INFO] Waiting for SSH, up to timeout: 5m0s | |
[1;32m==> amazon-ebs: Waiting for SSH to become available...[0m | |
2018/04/19 12:47:26 ui: [1;32m==> amazon-ebs: Waiting for SSH to become available...[0m | |
2018/04/19 12:47:33 packer: 2018/04/19 12:47:33 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.201.232.217:22: connect: connection refused | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [INFO] Attempting SSH connection... | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] reconnecting to TCP connection for SSH | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] handshaking with SSH | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] handshake complete! | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [INFO] no local agent socket, will not connect agent | |
2018/04/19 12:47:38 ui: [1;32m==> amazon-ebs: Connected to SSH![0m | |
[1;32m==> amazon-ebs: Connected to SSH![0m | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 Running the provision hook | |
2018/04/19 12:47:38 [INFO] (telemetry) Starting provisioner shell | |
[1;32m==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell876916222[0m | |
2018/04/19 12:47:38 ui: [1;32m==> amazon-ebs: Provisioning with shell script: /tmp/packer-shell876916222[0m | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 Opening /tmp/packer-shell876916222 for reading | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [INFO] 582 bytes written for 'uploadData' | |
2018/04/19 12:47:38 [INFO] 582 bytes written for 'uploadData' | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Opening new ssh session | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] starting remote command: test -d "/tmp/script_1034.sh" | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [ERROR] Remote command exited with '1': test -d "/tmp/script_1034.sh" | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Opening new ssh session | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Starting remote scp process: scp -vt /tmp | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Started SCP session, beginning transfers... | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] scp: Uploading script_1034.sh: perms=C0600 size=582 | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] SCP session complete, closing stdin pipe. | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Waiting for SSH session to complete. | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] scp stderr (length 31): Sink: C0600 582 script_1034.sh | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Opening new ssh session | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] starting remote command: chmod 0755 /tmp/script_1034.sh | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/19 12:47:38 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/19 12:47:38 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] Opening new ssh session | |
2018/04/19 12:47:38 packer: 2018/04/19 12:47:38 [DEBUG] starting remote command: chmod +x /tmp/script_1034.sh; PACKER_BUILDER_TYPE='amazon-ebs' PACKER_BUILD_NAME='amazon-ebs' /tmp/script_1034.sh | |
[0;32m amazon-ebs: Upgrading and installing required packages[0m | |
2018/04/19 12:47:38 ui: [0;32m amazon-ebs: Upgrading and installing required packages[0m | |
[0;32m amazon-ebs: NOTE: All yum commands will run in quiet mode printing only errors[0m | |
2018/04/19 12:47:38 ui: [0;32m amazon-ebs: NOTE: All yum commands will run in quiet mode printing only errors[0m | |
[0;32m amazon-ebs: Running yum upgrade[0m | |
2018/04/19 12:47:38 ui: [0;32m amazon-ebs: Running yum upgrade[0m | |
2018/04/19 12:48:10 ui: [0;32m amazon-ebs: https://rhui2-cds02.us-east-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/os/repodata/226636de8a4f26bd1de4a08d0a7ac2ee1b4c481da200ee88a8c4aa33af0e542f-updateinfo.xml.gz: [Errno 12] Timeout on https://rhui2-cds02.us-east-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/os/repodata/226636de8a4f26bd1de4a08d0a7ac2ee1b4c481da200ee88a8c4aa33af0e542f-updateinfo.xml.gz: (28, 'Connection timed out after 30000 milliseconds')[0m | |
[0;32m amazon-ebs: https://rhui2-cds02.us-east-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/os/repodata/226636de8a4f26bd1de4a08d0a7ac2ee1b4c481da200ee88a8c4aa33af0e542f-updateinfo.xml.gz: [Errno 12] Timeout on https://rhui2-cds02.us-east-1.aws.ce.redhat.com/pulp/repos//content/dist/rhel/rhui/server/7/7Server/x86_64/os/repodata/226636de8a4f26bd1de4a08d0a7ac2ee1b4c481da200ee88a8c4aa33af0e542f-updateinfo.xml.gz: (28, 'Connection timed out after 30000 milliseconds')[0m | |
[0;32m amazon-ebs: Trying other mirror.[0m | |
2018/04/19 12:48:10 ui: [0;32m amazon-ebs: Trying other mirror.[0m | |
2018/04/19 12:48:20 ui: [0;32m amazon-ebs: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.[0m | |
[0;32m amazon-ebs: Delta RPMs disabled because /usr/bin/applydeltarpm not installed.[0m | |
2018/04/19 12:48:54 ui: [0;32m amazon-ebs: warning: /etc/group created as /etc/group.rpmnew[0m | |
[0;32m amazon-ebs: warning: /etc/group created as /etc/group.rpmnew[0m | |
2018/04/19 12:48:54 ui: [0;32m amazon-ebs: warning: /etc/shadow created as /etc/shadow.rpmnew[0m | |
[0;32m amazon-ebs: warning: /etc/shadow created as /etc/shadow.rpmnew[0m | |
2018/04/19 12:49:26 ui: [0;32m amazon-ebs: Created symlink from /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service to /usr/lib/systemd/system/NetworkManager-wait-online.service.[0m | |
[0;32m amazon-ebs: Created symlink from /etc/systemd/system/network-online.target.wants/NetworkManager-wait-online.service to /usr/lib/systemd/system/NetworkManager-wait-online.service.[0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:39 2018-04-19 12:49:38,331: Zone [us-east-1c][0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:39 2018-04-19 12:49:38,331: Zone [us-east-1c][0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:67 2018-04-19 12:49:38,331: Enabling binary repos in redhat-rhui.repo[0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:67 2018-04-19 12:49:38,331: Enabling binary repos in redhat-rhui.repo[0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:86 2018-04-19 12:49:38,332: Enabling load balancer plugin[0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:86 2018-04-19 12:49:38,332: Enabling load balancer plugin[0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:88 2018-04-19 12:49:38,332: Executing [sed -i 's/enabled=0/enabled=1/' /etc/yum/pluginconf.d/rhui-lb.conf][0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:88 2018-04-19 12:49:38,332: Executing [sed -i 's/enabled=0/enabled=1/' /etc/yum/pluginconf.d/rhui-lb.conf][0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:92 2018-04-19 12:49:38,336: Setting region in load balancer config[0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:92 2018-04-19 12:49:38,336: Setting region in load balancer config[0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:94 2018-04-19 12:49:38,337: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf][0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:94 2018-04-19 12:49:38,337: Executing [sed -i 's/REGION/us-east-1/' /etc/yum.repos.d/rhui-load-balancers.conf][0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:98 2018-04-19 12:49:38,339: Enabling client config repo[0m | |
2018/04/19 12:49:38 ui: [0;32m amazon-ebs: [INFO:choose_repo] choose_repo:101 2018-04-19 12:49:38,340: Executing [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo][0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:98 2018-04-19 12:49:38,339: Enabling client config repo[0m | |
[0;32m amazon-ebs: [INFO:choose_repo] choose_repo:101 2018-04-19 12:49:38,340: Executing [sed -i 's/enabled=0/enabled=1/' /etc/yum.repos.d/redhat-rhui-client-config.repo][0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs:[0m | |
[0;32m amazon-ebs:[0m | |
[0;32m amazon-ebs: UPGRADE: Automatically re-enabling default systemd units:[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: UPGRADE: Automatically re-enabling default systemd units:[0m | |
[0;32m amazon-ebs: brandbot.path[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: brandbot.path[0m | |
[0;32m amazon-ebs: rhel-autorelabel.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-autorelabel.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-autorelabel-mark.service[0m | |
[0;32m amazon-ebs: rhel-autorelabel-mark.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-configure.service[0m | |
[0;32m amazon-ebs: rhel-configure.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-dmesg.service[0m | |
[0;32m amazon-ebs: rhel-dmesg.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-domainname.service[0m | |
[0;32m amazon-ebs: rhel-domainname.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-import-state.service[0m | |
[0;32m amazon-ebs: rhel-import-state.service[0m | |
[0;32m amazon-ebs: rhel-loadmodules.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-loadmodules.service[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs: rhel-readonly.service[0m | |
[0;32m amazon-ebs: rhel-readonly.service[0m | |
[0;32m amazon-ebs:[0m | |
2018/04/19 12:50:23 ui: [0;32m amazon-ebs:[0m | |
2018/04/19 12:52:21 ui: [0;32m amazon-ebs: Installing the EPEL repo[0m | |
[0;32m amazon-ebs: Installing the EPEL repo[0m | |
[0;32m amazon-ebs: Installing necessary packages[0m | |
2018/04/19 12:52:22 ui: [0;32m amazon-ebs: Installing necessary packages[0m | |
[0;32m amazon-ebs: Public key for jq-1.5-1.el7.x86_64.rpm is not installed[0m | |
2018/04/19 12:52:26 ui: [0;32m amazon-ebs: Public key for jq-1.5-1.el7.x86_64.rpm is not installed[0m | |
2018/04/19 12:52:26 ui: [0;32m amazon-ebs: warning: /var/cache/yum/x86_64/7Server/epel/packages/jq-1.5-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY[0m | |
[0;32m amazon-ebs: warning: /var/cache/yum/x86_64/7Server/epel/packages/jq-1.5-1.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY[0m | |
[0;32m amazon-ebs: Importing GPG key 0x352C64E5:[0m | |
2018/04/19 12:52:27 ui: [0;32m amazon-ebs: Importing GPG key 0x352C64E5:[0m | |
[0;32m amazon-ebs: Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"[0m | |
2018/04/19 12:52:27 ui: [0;32m amazon-ebs: Userid : "Fedora EPEL (7) <epel@fedoraproject.org>"[0m | |
[0;32m amazon-ebs: Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5[0m | |
2018/04/19 12:52:27 ui: [0;32m amazon-ebs: Fingerprint: 91e9 7d7c 4a5e 96f1 7f3e 888f 6a2f aea2 352c 64e5[0m | |
[0;32m amazon-ebs: Package : epel-release-7-11.noarch (installed)[0m | |
2018/04/19 12:52:27 ui: [0;32m amazon-ebs: Package : epel-release-7-11.noarch (installed)[0m | |
[0;32m amazon-ebs: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7[0m | |
2018/04/19 12:52:27 ui: [0;32m amazon-ebs: From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7[0m | |
2018/04/19 12:52:31 ui: [0;32m amazon-ebs: Upgrading pip and installing necessary pip packages[0m | |
[0;32m amazon-ebs: Upgrading pip and installing necessary pip packages[0m | |
[0;32m amazon-ebs: Collecting pip[0m | |
2018/04/19 12:52:31 ui: [0;32m amazon-ebs: Collecting pip[0m | |
2018/04/19 12:52:31 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl (1.3MB)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/62/a1/0d452b6901b0157a0134fd27ba89bf95a857fbda64ba52e1ca2cf61d8412/pip-10.0.0-py2.py3-none-any.whl (1.3MB)[0m | |
[0;32m amazon-ebs: Installing collected packages: pip[0m | |
2018/04/19 12:52:32 ui: [0;32m amazon-ebs: Installing collected packages: pip[0m | |
2018/04/19 12:52:32 ui: [0;32m amazon-ebs: Found existing installation: pip 8.1.2[0m | |
[0;32m amazon-ebs: Found existing installation: pip 8.1.2[0m | |
2018/04/19 12:52:32 ui: [0;32m amazon-ebs: Uninstalling pip-8.1.2:[0m | |
[0;32m amazon-ebs: Uninstalling pip-8.1.2:[0m | |
2018/04/19 12:52:32 ui: [0;32m amazon-ebs: Successfully uninstalled pip-8.1.2[0m | |
[0;32m amazon-ebs: Successfully uninstalled pip-8.1.2[0m | |
2018/04/19 12:52:32 ui: [0;32m amazon-ebs: Successfully installed pip-10.0.0[0m | |
[0;32m amazon-ebs: Successfully installed pip-10.0.0[0m | |
[0;32m amazon-ebs: Collecting awscli[0m | |
2018/04/19 12:52:33 ui: [0;32m amazon-ebs: Collecting awscli[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/8e/ec/9f0fd5bb3c954742eb37545297bf62bfdb46ab80e9f5beea0c1ea263fc5f/awscli-1.15.4-py2.py3-none-any.whl (1.3MB)[0m | |
2018/04/19 12:52:33 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/8e/ec/9f0fd5bb3c954742eb37545297bf62bfdb46ab80e9f5beea0c1ea263fc5f/awscli-1.15.4-py2.py3-none-any.whl (1.3MB)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Collecting botocore==1.10.4 (from awscli)[0m | |
[0;32m amazon-ebs: Collecting botocore==1.10.4 (from awscli)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/22/66/9dcf61c1756a0de1ac86547a0fdb8c8641e345049cbf6f18c2ad6dab69d0/botocore-1.10.4-py2.py3-none-any.whl (4.2MB)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/22/66/9dcf61c1756a0de1ac86547a0fdb8c8641e345049cbf6f18c2ad6dab69d0/botocore-1.10.4-py2.py3-none-any.whl (4.2MB)[0m | |
[0;32m amazon-ebs: Collecting s3transfer<0.2.0,>=0.1.12 (from awscli)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Collecting s3transfer<0.2.0,>=0.1.12 (from awscli)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl (59kB)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl (59kB)[0m | |
[0;32m amazon-ebs: Collecting rsa<=3.5.0,>=3.1.2 (from awscli)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Collecting rsa<=3.5.0,>=3.1.2 (from awscli)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/e1/ae/baedc9cb175552e95f3395c43055a6a5e125ae4d48a1d7a924baca83e92e/rsa-3.4.2-py2.py3-none-any.whl (46kB)[0m | |
[0;32m amazon-ebs: Requirement already satisfied: PyYAML<=3.12,>=3.10 in /usr/lib64/python2.7/site-packages (from awscli) (3.10)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Requirement already satisfied: PyYAML<=3.12,>=3.10 in /usr/lib64/python2.7/site-packages (from awscli) (3.10)[0m | |
[0;32m amazon-ebs: Collecting docutils>=0.10 (from awscli)[0m | |
2018/04/19 12:52:34 ui: [0;32m amazon-ebs: Collecting docutils>=0.10 (from awscli)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/50/09/c53398e0005b11f7ffb27b7aa720c617aba53be4fb4f4f3f06b9b5c60f28/docutils-0.14-py2-none-any.whl (543kB)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/50/09/c53398e0005b11f7ffb27b7aa720c617aba53be4fb4f4f3f06b9b5c60f28/docutils-0.14-py2-none-any.whl (543kB)[0m | |
[0;32m amazon-ebs: Collecting colorama<=0.3.7,>=0.2.5 (from awscli)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Collecting colorama<=0.3.7,>=0.2.5 (from awscli)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/b7/8e/ddb32ddaabd431813e180ca224e844bab8ad42fbb47ee07553f0ec44cd86/colorama-0.3.7-py2.py3-none-any.whl[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/b7/8e/ddb32ddaabd431813e180ca224e844bab8ad42fbb47ee07553f0ec44cd86/colorama-0.3.7-py2.py3-none-any.whl[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.10.4->awscli)[0m | |
[0;32m amazon-ebs: Collecting jmespath<1.0.0,>=0.7.1 (from botocore==1.10.4->awscli)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/b7/31/05c8d001f7f87f0f07289a5fc0fc3832e9a57f2dbd4d3b0fee70e0d51365/jmespath-0.9.3-py2.py3-none-any.whl[0m | |
[0;32m amazon-ebs: Collecting python-dateutil<2.7.0,>=2.1 (from botocore==1.10.4->awscli)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Collecting python-dateutil<2.7.0,>=2.1 (from botocore==1.10.4->awscli)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/4b/0d/7ed381ab4fe80b8ebf34411d14f253e1cf3e56e2820ffa1d8844b23859a2/python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/4b/0d/7ed381ab4fe80b8ebf34411d14f253e1cf3e56e2820ffa1d8844b23859a2/python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.12->awscli)[0m | |
[0;32m amazon-ebs: Collecting futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" (from s3transfer<0.2.0,>=0.1.12->awscli)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/2d/99/b2c4e9d5a30f6471e410a146232b4118e697fa3ffc06d6a65efde84debd0/futures-3.2.0-py2-none-any.whl[0m | |
[0;32m amazon-ebs: Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Collecting pyasn1>=0.1.3 (from rsa<=3.5.0,>=3.1.2->awscli)[0m | |
[0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/ba/fe/02e3e2ee243966b143657fb8bd6bc97595841163b6d8c26820944acaec4d/pyasn1-0.4.2-py2.py3-none-any.whl (71kB)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Downloading https://files.pythonhosted.org/packages/ba/fe/02e3e2ee243966b143657fb8bd6bc97595841163b6d8c26820944acaec4d/pyasn1-0.4.2-py2.py3-none-any.whl (71kB)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Requirement already satisfied: six>=1.5 in /usr/lib/python2.7/site-packages (from python-dateutil<2.7.0,>=2.1->botocore==1.10.4->awscli) (1.9.0)[0m | |
[0;32m amazon-ebs: Requirement already satisfied: six>=1.5 in /usr/lib/python2.7/site-packages (from python-dateutil<2.7.0,>=2.1->botocore==1.10.4->awscli) (1.9.0)[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Installing collected packages: docutils, jmespath, python-dateutil, botocore, futures, s3transfer, pyasn1, rsa, colorama, awscli[0m | |
[0;32m amazon-ebs: Installing collected packages: docutils, jmespath, python-dateutil, botocore, futures, s3transfer, pyasn1, rsa, colorama, awscli[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Found existing installation: python-dateutil 1.5[0m | |
[0;32m amazon-ebs: Found existing installation: python-dateutil 1.5[0m | |
[0;32m amazon-ebs: Uninstalling python-dateutil-1.5:[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Uninstalling python-dateutil-1.5:[0m | |
[0;32m amazon-ebs: Successfully uninstalled python-dateutil-1.5[0m | |
2018/04/19 12:52:35 ui: [0;32m amazon-ebs: Successfully uninstalled python-dateutil-1.5[0m | |
2018/04/19 12:52:37 ui: [0;32m amazon-ebs: Successfully installed awscli-1.15.4 botocore-1.10.4 colorama-0.3.7 docutils-0.14 futures-3.2.0 jmespath-0.9.3 pyasn1-0.4.2 python-dateutil-2.6.1 rsa-3.4.2 s3transfer-0.1.13[0m | |
[0;32m amazon-ebs: Successfully installed awscli-1.15.4 botocore-1.10.4 colorama-0.3.7 docutils-0.14 futures-3.2.0 jmespath-0.9.3 pyasn1-0.4.2 python-dateutil-2.6.1 rsa-3.4.2 s3transfer-0.1.13[0m | |
2018/04/19 12:52:37 [INFO] 5031 bytes written for 'stdout' | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/19 12:52:37 [INFO] 888 bytes written for 'stderr' | |
2018/04/19 12:52:37 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/19 12:52:37 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/19 12:52:37 ui: [0;32m amazon-ebs: All Done[0m | |
[0;32m amazon-ebs: All Done[0m | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [INFO] 888 bytes written for 'stderr' | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [INFO] 5031 bytes written for 'stdout' | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [DEBUG] Opening new ssh session | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [DEBUG] starting remote command: rm -f /tmp/script_1034.sh | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/19 12:52:37 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/19 12:52:37 [INFO] RPC endpoint: Communicator ended with: 0 | |
2018/04/19 12:52:37 packer: 2018/04/19 12:52:37 [INFO] RPC client: Communicator ended with: 0 | |
2018/04/19 12:52:37 [INFO] (telemetry) ending shell | |
[1;32m==> amazon-ebs: Stopping the source instance...[0m | |
[0;32m amazon-ebs: Stopping instance, attempt 1[0m | |
2018/04/19 12:52:37 ui: [1;32m==> amazon-ebs: Stopping the source instance...[0m | |
2018/04/19 12:52:37 ui: [0;32m amazon-ebs: Stopping instance, attempt 1[0m | |
[1;31m==> amazon-ebs: Error stopping instance: RequestError: send request failed | |
2018/04/19 12:54:37 ui error: [1;31m==> amazon-ebs: Error stopping instance: RequestError: send request failed | |
==> amazon-ebs: caused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout[0m | |
==> amazon-ebs: caused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout[0m | |
[1;32m==> amazon-ebs: Terminating the source AWS instance...[0m | |
2018/04/19 12:54:37 ui: [1;32m==> amazon-ebs: Terminating the source AWS instance...[0m | |
2018/04/19 12:54:37 packer: 2018/04/19 12:54:37 Waiting for state to become: terminated | |
2018/04/19 12:54:37 packer: 2018/04/19 12:54:37 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS) | |
2018/04/19 12:54:37 packer: 2018/04/19 12:54:37 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS) | |
[1;32m==> amazon-ebs: Cleaning up any extra volumes...[0m | |
2018/04/19 12:55:02 ui: [1;32m==> amazon-ebs: Cleaning up any extra volumes...[0m | |
[1;32m==> amazon-ebs: No volumes to clean up, skipping[0m | |
[1;32m==> amazon-ebs: Deleting temporary security group...[0m | |
2018/04/19 12:55:02 ui: [1;32m==> amazon-ebs: No volumes to clean up, skipping[0m | |
2018/04/19 12:55:02 ui: [1;32m==> amazon-ebs: Deleting temporary security group...[0m | |
[1;32m==> amazon-ebs: Deleting temporary keypair...[0m | |
2018/04/19 12:55:02 ui: [1;32m==> amazon-ebs: Deleting temporary keypair...[0m | |
2018/04/19 12:55:02 [INFO] (telemetry) ending amazon-ebs | |
2018/04/19 12:55:02 ui error: [1;31mBuild 'amazon-ebs' errored: Error stopping instance: RequestError: send request failed | |
caused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout[0m | |
2018/04/19 12:55:02 Builds completed. Waiting on interrupt barrier... | |
2018/04/19 12:55:02 machine readable: error-count []string{"1"} | |
2018/04/19 12:55:02 ui error: | |
==> Some builds didn't complete successfully and had errors: | |
2018/04/19 12:55:02 machine readable: amazon-ebs,error []string{"Error stopping instance: RequestError: send request failed\ncaused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout"} | |
2018/04/19 12:55:02 ui error: --> amazon-ebs: Error stopping instance: RequestError: send request failed | |
caused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout | |
2018/04/19 12:55:02 ui: | |
==> Builds finished but no artifacts were created. | |
[1;31mBuild 'amazon-ebs' errored: Error stopping instance: RequestError: send request failed | |
2018/04/19 12:55:02 [INFO] (telemetry) Finalizing. | |
caused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout[0m | |
==> Some builds didn't complete successfully and had errors: | |
--> amazon-ebs: Error stopping instance: RequestError: send request failed | |
caused by: Post https://ec2.us-east-1.amazonaws.com/: dial tcp 54.239.28.176:443: i/o timeout | |
==> Builds finished but no artifacts were created. | |
2018/04/19 12:55:02 waiting for all plugin processes to complete... | |
2018/04/19 12:55:02 /usr/local/bin/packer: plugin process exited | |
2018/04/19 12:55:02 /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