Guest User

Untitled

a guest
Oct 27th, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.70 KB | None | 0 0
  1. $ packer build -debug -var-file=vars/development.json xxx-sharedsvcs-ami.json
  2. 2017/10/26 13:45:04 [INFO] Packer version: 1.1.1
  3. 2017/10/26 13:45:04 Packer Target OS/Arch: darwin amd64
  4. 2017/10/26 13:45:04 Built with Go Version: go1.9
  5. 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
  6. 2017/10/26 13:45:04 Using internal plugin for parallels-pvm
  7. 2017/10/26 13:45:04 Using internal plugin for vmware-vmx
  8. 2017/10/26 13:45:04 Using internal plugin for amazon-ebssurrogate
  9. 2017/10/26 13:45:04 Using internal plugin for hyperv-vmcx
  10. 2017/10/26 13:45:04 Using internal plugin for amazon-ebs
  11. 2017/10/26 13:45:04 Using internal plugin for oneandone
  12. 2017/10/26 13:45:04 Using internal plugin for lxd
  13. 2017/10/26 13:45:04 Using internal plugin for oracle-oci
  14. 2017/10/26 13:45:04 Using internal plugin for alicloud-ecs
  15. 2017/10/26 13:45:04 Using internal plugin for docker
  16. 2017/10/26 13:45:04 Using internal plugin for qemu
  17. 2017/10/26 13:45:04 Using internal plugin for virtualbox-ovf
  18. 2017/10/26 13:45:04 Using internal plugin for lxc
  19. 2017/10/26 13:45:04 Using internal plugin for openstack
  20. 2017/10/26 13:45:04 Using internal plugin for file
  21. 2017/10/26 13:45:04 Using internal plugin for hyperv-iso
  22. 2017/10/26 13:45:04 Using internal plugin for triton
  23. 2017/10/26 13:45:04 Using internal plugin for azure-arm
  24. 2017/10/26 13:45:04 Using internal plugin for digitalocean
  25. 2017/10/26 13:45:04 Using internal plugin for cloudstack
  26. 2017/10/26 13:45:04 Using internal plugin for profitbricks
  27. 2017/10/26 13:45:04 Using internal plugin for virtualbox-iso
  28. 2017/10/26 13:45:04 Using internal plugin for vmware-iso
  29. 2017/10/26 13:45:04 Using internal plugin for amazon-ebsvolume
  30. 2017/10/26 13:45:04 Using internal plugin for amazon-instance
  31. 2017/10/26 13:45:04 Using internal plugin for amazon-chroot
  32. 2017/10/26 13:45:04 Using internal plugin for null
  33. 2017/10/26 13:45:04 Using internal plugin for googlecompute
  34. 2017/10/26 13:45:04 Using internal plugin for parallels-iso
  35. 2017/10/26 13:45:04 Using internal plugin for windows-restart
  36. 2017/10/26 13:45:04 Using internal plugin for chef-client
  37. 2017/10/26 13:45:04 Using internal plugin for powershell
  38. 2017/10/26 13:45:04 Using internal plugin for shell-local
  39. 2017/10/26 13:45:04 Using internal plugin for shell
  40. 2017/10/26 13:45:04 Using internal plugin for windows-shell
  41. 2017/10/26 13:45:04 Using internal plugin for ansible
  42. 2017/10/26 13:45:04 Using internal plugin for converge
  43. 2017/10/26 13:45:04 Using internal plugin for puppet-server
  44. 2017/10/26 13:45:04 Using internal plugin for file
  45. 2017/10/26 13:45:04 Using internal plugin for salt-masterless
  46. 2017/10/26 13:45:04 Using internal plugin for ansible-local
  47. 2017/10/26 13:45:04 Using internal plugin for chef-solo
  48. 2017/10/26 13:45:04 Using internal plugin for puppet-masterless
  49. 2017/10/26 13:45:04 Using internal plugin for vagrant
  50. 2017/10/26 13:45:04 Using internal plugin for vagrant-cloud
  51. 2017/10/26 13:45:04 Using internal plugin for vsphere
  52. 2017/10/26 13:45:04 Using internal plugin for checksum
  53. 2017/10/26 13:45:04 Using internal plugin for docker-tag
  54. 2017/10/26 13:45:04 Using internal plugin for googlecompute-export
  55. 2017/10/26 13:45:04 Using internal plugin for manifest
  56. 2017/10/26 13:45:04 Using internal plugin for alicloud-import
  57. 2017/10/26 13:45:04 Using internal plugin for docker-import
  58. 2017/10/26 13:45:04 Using internal plugin for docker-push
  59. 2017/10/26 13:45:04 Using internal plugin for shell-local
  60. 2017/10/26 13:45:04 Using internal plugin for amazon-import
  61. 2017/10/26 13:45:04 Using internal plugin for compress
  62. 2017/10/26 13:45:04 Using internal plugin for vsphere-template
  63. 2017/10/26 13:45:04 Using internal plugin for artifice
  64. 2017/10/26 13:45:04 Using internal plugin for atlas
  65. 2017/10/26 13:45:04 Using internal plugin for docker-save
  66. 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
  67. 2017/10/26 13:45:04 Attempting to open config file: /Users/<user>/.packerconfig
  68. 2017/10/26 13:45:04 [WARN] Config file doesn't exist: /Users/<user>/.packerconfig
  69. 2017/10/26 13:45:04 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack] PostProcessors:map[compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest] Provisioners:map[converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible]}
  70. 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
  71. 2017/10/26 13:45:04 Setting cache directory: /Users/<user>/Projects/xxx-sharedsvcs-ami/packer_cache
  72. 2017/10/26 13:45:04 Detected home directory from env var: /Users/<user>
  73. 2017/10/26 13:45:04 Loading builder: amazon-ebs
  74. 2017/10/26 13:45:04 Plugin could not be found. Checking same directory as executable.
  75. 2017/10/26 13:45:04 Current exe path: /usr/local/bin/packer
  76. 2017/10/26 13:45:04 Creating plugin client for path: /usr/local/bin/packer
  77. 2017/10/26 13:45:04 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
  78. 2017/10/26 13:45:04 Waiting for RPC address for: /usr/local/bin/packer
  79. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] Packer version: 1.1.1
  80. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Packer Target OS/Arch: darwin amd64
  81. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Built with Go Version: go1.9
  82. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
  83. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Attempting to open config file: /Users/<user>/.packerconfig
  84. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [WARN] Config file doesn't exist: /Users/<user>/.packerconfig
  85. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  86. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
  87. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Setting cache directory: /Users/<user>/Projects/xxx-sharedsvcs-ami/packer_cache
  88. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 args: []string{"packer-builder-amazon-ebs"}
  89. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin minimum port: 10000
  90. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin maximum port: 25000
  91. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Detected home directory from env var: /Users/<user>
  92. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Plugin address: unix /var/folders/7k/59p35jy90h9gl9k1j3dr43z8y8n6rc/T/packer-plugin188448425
  93. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Waiting for connection...
  94. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Serving a plugin connection...
  95. 2017/10/26 13:45:05 ui: Debug mode enabled. Builds will not be parallelized.
  96. 2017/10/26 13:45:05 ui: amazon-ebs output will be in this color.
  97. 2017/10/26 13:45:05 ui:
  98. 2017/10/26 13:45:05 Build debug mode: true
  99. 2017/10/26 13:45:05 Force build: false
  100. 2017/10/26 13:45:05 On error:
  101. 2017/10/26 13:45:05 Preparing build: amazon-ebs
  102. Debug mode enabled. Builds will not be parallelized.
  103. amazon-ebs output will be in this color.
  104.  
  105. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:true PackerForce:false PackerOnError: PackerUserVars:map[release_year:2017 release_month:09 ami_name:xxx-sharedsvcs-ami-1509043504]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:us-west-2 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:xxx-sharedsvcs-ami-1509043504 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIENASupport:false AMISriovNetSupport:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4204aaba0:0xc4204aabc0 0xc4204aaaa0:0xc4204aaac0 0xc4204aaae0:0xc4204aab00 0xc4204aab20:0xc4204aab40 0xc4204aab60:0xc4204aab80] Owners:[] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-aafbdff1 TemporaryKeyPairName: UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-84367ce2 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey:/Users/<user>/.ssh/keys/xxx-sharedsvc-deploy.pem SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHamiHost: SSHamiPort:0 SSHamiAgentAuth:false SSHamiUsername: SSHamiPassword: SSHamiPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName:xxx-sharedsvc-deploy SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1862a90] UserVariables:map[release_month:09 ami_name:xxx-sharedsvcs-ami-1509043504 release_year:2017] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/<user>/Projects/xxx-sharedsvcs-ami/xxx-sharedsvcs-ami.json}}
  106. 2017/10/26 13:45:05 Debug enabled, so waiting for build to finish: amazon-ebs
  107. 2017/10/26 13:45:05 Starting build run: amazon-ebs
  108. 2017/10/26 13:45:05 Running builder: amazon-ebs
  109. 2017/10/26 13:45:05 [INFO] (telemetry) Starting builder amazon-ebs
  110. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] Finding AZ and VpcId for the given subnet 'subnet-aafbdff1'
  111. 2017/10/26 13:45:05 packer: 2017/10/26 13:45:05 [INFO] AvailabilityZone found: 'us-west-2c'
  112. 2017/10/26 13:45:05 ui: ==> amazon-ebs: Prevalidating AMI Name: xxx-sharedsvcs-ami-1509043504
  113. ==> amazon-ebs: Prevalidating AMI Name: xxx-sharedsvcs-ami-1509043504
  114. 2017/10/26 13:45:06 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue.
  115. ==> amazon-ebs: Pausing after run of step 'StepPreValidate'. Press enter to continue.
  116. 2017/10/26 13:45:07 packer: 2017/10/26 13:45:07 Using AMI Filters {
  117. 2017/10/26 13:45:07 packer: Filters: [
  118. 2017/10/26 13:45:07 packer: {
  119. 2017/10/26 13:45:07 packer: Name: "architecture",
  120. 2017/10/26 13:45:07 packer: Values: ["x86_64"]
  121. 2017/10/26 13:45:07 packer: },
  122. 2017/10/26 13:45:07 packer: {
  123. 2017/10/26 13:45:07 packer: Name: "root-device-type",
  124. 2017/10/26 13:45:07 packer: Values: ["ebs"]
  125. 2017/10/26 13:45:07 packer: },
  126. 2017/10/26 13:45:07 packer: {
  127. 2017/10/26 13:45:07 packer: Name: "owner-alias",
  128. 2017/10/26 13:45:07 packer: Values: ["amazon"]
  129. 2017/10/26 13:45:07 packer: },
  130. 2017/10/26 13:45:07 packer: {
  131. 2017/10/26 13:45:07 packer: Name: "name",
  132. 2017/10/26 13:45:07 packer: Values: ["amzn-ami-hvm-2017.09*-gp2"]
  133. 2017/10/26 13:45:07 packer: },
  134. 2017/10/26 13:45:07 packer: {
  135. 2017/10/26 13:45:07 packer: Name: "virtualization-type",
  136. 2017/10/26 13:45:07 packer: Values: ["hvm"]
  137. 2017/10/26 13:45:07 packer: }
  138. 2017/10/26 13:45:07 packer: ]
  139. 2017/10/26 13:45:07 packer: }
  140. 2017/10/26 13:45:08 ui: amazon-ebs: Found Image ID: ami-e689729e
  141. amazon-ebs: Found Image ID: ami-e689729e
  142. 2017/10/26 13:45:08 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue.
  143. ==> amazon-ebs: Pausing after run of step 'StepSourceAMIInfo'. Press enter to continue.
  144. 2017/10/26 13:45:09 ui: ==> amazon-ebs: Using existing SSH private key
  145. ==> amazon-ebs: Using existing SSH private key
  146. 2017/10/26 13:45:09 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue.
  147. ==> amazon-ebs: Pausing after run of step 'StepKeyPair'. Press enter to continue.
  148. 2017/10/26 13:45:13 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_59f22d39-9ca4-7cba-e3b8-cd21796ce5d2
  149. ==> amazon-ebs: Creating temporary security group for this instance: packer_59f22d39-9ca4-7cba-e3b8-cd21796ce5d2
  150. 2017/10/26 13:45:13 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
  151. ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
  152. 2017/10/26 13:45:13 packer: 2017/10/26 13:45:13 [DEBUG] Waiting for temporary security group: sg-9d85c1e0
  153. 2017/10/26 13:45:13 packer: 2017/10/26 13:45:13 [DEBUG] Found security group sg-9d85c1e0
  154. 2017/10/26 13:45:13 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue.
  155. ==> amazon-ebs: Pausing after run of step 'StepSecurityGroup'. Press enter to continue.
  156. 2017/10/26 13:45:16 ui: ask: ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue.
  157. ==> amazon-ebs: Pausing after run of step 'stepCleanupVolumes'. Press enter to continue.
  158. 2017/10/26 13:45:17 ui: ==> amazon-ebs: Launching a source AWS instance...
  159. ==> amazon-ebs: Launching a source AWS instance...
  160. 2017/10/26 13:45:17 ui: ==> amazon-ebs: Adding tags to source instance
  161. ==> amazon-ebs: Adding tags to source instance
  162. 2017/10/26 13:45:17 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
  163. amazon-ebs: Adding tag: "Name": "Packer Builder"
  164. 2017/10/26 13:45:18 ui: amazon-ebs: Instance ID: i-0ce321c282b45f381
  165. amazon-ebs: Instance ID: i-0ce321c282b45f381
  166. 2017/10/26 13:45:18 ui: ==> amazon-ebs: Waiting for instance (i-0ce321c282b45f381) to become ready...
  167. 2017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Waiting for state to become: running
  168. 2017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
  169. 2017/10/26 13:45:18 packer: 2017/10/26 13:45:18 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  170. ==> amazon-ebs: Waiting for instance (i-0ce321c282b45f381) to become ready...
  171. 2017/10/26 13:45:46 ui: amazon-ebs: Public DNS: ec2-52-43-167-102.us-west-2.compute.amazonaws.com
  172. amazon-ebs: Public DNS: ec2-52-43-167-102.us-west-2.compute.amazonaws.com
  173. 2017/10/26 13:45:46 ui: amazon-ebs: Public IP: 52.43.167.102
  174. amazon-ebs: Public IP: 52.43.167.102
  175. 2017/10/26 13:45:46 ui: amazon-ebs: Private IP: 172.22.10.109
  176. amazon-ebs: Private IP: 172.22.10.109
  177. 2017/10/26 13:45:46 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue.
  178. ==> amazon-ebs: Pausing after run of step 'StepRunSourceInstance'. Press enter to continue.
  179. 2017/10/26 13:45:50 packer: 2017/10/26 13:45:50 [INFO] Not using winrm communicator, skipping get password...
  180. 2017/10/26 13:45:50 ui: ask: ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue.
  181. ==> amazon-ebs: Pausing after run of step 'StepGetPassword'. Press enter to continue.
  182. 2017/10/26 13:45:51 packer: 2017/10/26 13:45:51 [INFO] Waiting for SSH, up to timeout: 5m0s
  183. 2017/10/26 13:45:51 ui: ==> amazon-ebs: Waiting for SSH to become available...
  184. ==> amazon-ebs: Waiting for SSH to become available...
  185. 2017/10/26 13:46:06 packer: 2017/10/26 13:46:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  186. 2017/10/26 13:46:26 packer: 2017/10/26 13:46:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  187. 2017/10/26 13:46:46 packer: 2017/10/26 13:46:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  188. 2017/10/26 13:47:06 packer: 2017/10/26 13:47:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  189. 2017/10/26 13:47:26 packer: 2017/10/26 13:47:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  190. 2017/10/26 13:47:46 packer: 2017/10/26 13:47:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  191. 2017/10/26 13:48:06 packer: 2017/10/26 13:48:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  192. 2017/10/26 13:48:26 packer: 2017/10/26 13:48:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  193. 2017/10/26 13:48:46 packer: 2017/10/26 13:48:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  194. 2017/10/26 13:49:06 packer: 2017/10/26 13:49:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  195. 2017/10/26 13:49:26 packer: 2017/10/26 13:49:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  196. 2017/10/26 13:49:46 packer: 2017/10/26 13:49:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  197. 2017/10/26 13:50:06 packer: 2017/10/26 13:50:06 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  198. 2017/10/26 13:50:26 packer: 2017/10/26 13:50:26 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  199. 2017/10/26 13:50:46 packer: 2017/10/26 13:50:46 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 52.43.167.102:22: i/o timeout
  200. 2017/10/26 13:50:51 ui error: ==> amazon-ebs: Timeout waiting for SSH.
  201. ==> amazon-ebs: Timeout waiting for SSH.
  202. 2017/10/26 13:50:51 packer: 2017/10/26 13:50:51 [DEBUG] SSH wait cancelled. Exiting loop.
  203. 2017/10/26 13:50:51 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue.
  204. ==> amazon-ebs: Pausing before cleanup of step 'StepGetPassword'. Press enter to continue.
  205. 2017/10/26 13:51:03 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue.
  206. ==> amazon-ebs: Pausing before cleanup of step 'StepRunSourceInstance'. Press enter to continue.
  207. 2017/10/26 13:51:04 ui: ==> amazon-ebs: Terminating the source AWS instance...
  208. ==> amazon-ebs: Terminating the source AWS instance...
  209. 2017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Waiting for state to become: terminated
  210. 2017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
  211. 2017/10/26 13:51:05 packer: 2017/10/26 13:51:05 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  212. 2017/10/26 13:52:09 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue.
  213. ==> amazon-ebs: Pausing before cleanup of step 'stepCleanupVolumes'. Press enter to continue.
  214. ==> amazon-ebs: Cleaning up any extra volumes...
  215. 2017/10/26 13:54:22 ui: ==> amazon-ebs: Cleaning up any extra volumes...
  216. 2017/10/26 13:54:22 ui: ==> amazon-ebs: No volumes to clean up, skipping
  217. ==> amazon-ebs: No volumes to clean up, skipping
  218. 2017/10/26 13:54:22 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue.
  219. ==> amazon-ebs: Pausing before cleanup of step 'StepSecurityGroup'. Press enter to continue.
  220. 2017/10/26 13:54:23 ui: ==> amazon-ebs: Deleting temporary security group...
  221. ==> amazon-ebs: Deleting temporary security group...
  222. 2017/10/26 13:54:23 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue.
  223. ==> amazon-ebs: Pausing before cleanup of step 'StepKeyPair'. Press enter to continue.
  224. 2017/10/26 13:54:24 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue.
  225. ==> amazon-ebs: Pausing before cleanup of step 'StepSourceAMIInfo'. Press enter to continue.
  226. 2017/10/26 13:54:24 ui: ask: ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue.
  227. ==> amazon-ebs: Pausing before cleanup of step 'StepPreValidate'. Press enter to continue.
  228. 2017/10/26 13:54:25 [INFO] (telemetry) ending amazon-ebs
  229. 2017/10/26 13:54:25 [INFO] (telemetry) found error: Timeout waiting for SSH.
  230. 2017/10/26 13:54:25 ui error: Build 'amazon-ebs' errored: Timeout waiting for SSH.
  231. 2017/10/26 13:54:25 Waiting on builds to complete...
  232. 2017/10/26 13:54:25 Builds completed. Waiting on interrupt barrier...
  233. 2017/10/26 13:54:25 machine readable: error-count []string{"1"}
  234. 2017/10/26 13:54:25 ui error:
  235. ==> Some builds didn't complete successfully and had errors:
  236. 2017/10/26 13:54:25 machine readable: amazon-ebs,error []string{"Timeout waiting for SSH."}
  237. 2017/10/26 13:54:25 ui error: --> amazon-ebs: Timeout waiting for SSH.
  238. 2017/10/26 13:54:25 ui:
  239. ==> Builds finished but no artifacts were created.
  240. Build 'amazon-ebs' errored: Timeout waiting for SSH.
  241. 2017/10/26 13:54:25 [INFO] (telemetry) Finalizing.
  242.  
  243. ==> Some builds didn't complete successfully and had errors:
  244. --> amazon-ebs: Timeout waiting for SSH.
  245.  
  246. ==> Builds finished but no artifacts were created.
  247. 2017/10/26 13:54:26 waiting for all plugin processes to complete...
  248. 2017/10/26 13:54:26 /usr/local/bin/packer: plugin process exited
Add Comment
Please, Sign In to add comment