Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.91 KB | None | 0 0
  1. ashevchenko@uk179584 ~/development/infrastructure (LQA-3246) $ PACKER_LOG=1 packer build -var "git_hash=`git rev-parse --short HEAD`" base-ami-packer.json
  2. 2017/07/27 12:40:10 [INFO] Packer version: 1.0.3
  3. 2017/07/27 12:40:10 Packer Target OS/Arch: darwin amd64
  4. 2017/07/27 12:40:10 Built with Go Version: go1.8.3
  5. 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  6. 2017/07/27 12:40:10 Using internal plugin for alicloud-ecs
  7. 2017/07/27 12:40:10 Using internal plugin for amazon-ebs
  8. 2017/07/27 12:40:10 Using internal plugin for amazon-ebssurrogate
  9. 2017/07/27 12:40:10 Using internal plugin for digitalocean
  10. 2017/07/27 12:40:10 Using internal plugin for null
  11. 2017/07/27 12:40:10 Using internal plugin for parallels-pvm
  12. 2017/07/27 12:40:10 Using internal plugin for docker
  13. 2017/07/27 12:40:10 Using internal plugin for profitbricks
  14. 2017/07/27 12:40:10 Using internal plugin for triton
  15. 2017/07/27 12:40:10 Using internal plugin for virtualbox-ovf
  16. 2017/07/27 12:40:10 Using internal plugin for vmware-vmx
  17. 2017/07/27 12:40:10 Using internal plugin for amazon-ebsvolume
  18. 2017/07/27 12:40:10 Using internal plugin for amazon-instance
  19. 2017/07/27 12:40:10 Using internal plugin for azure-arm
  20. 2017/07/27 12:40:10 Using internal plugin for googlecompute
  21. 2017/07/27 12:40:10 Using internal plugin for openstack
  22. 2017/07/27 12:40:10 Using internal plugin for parallels-iso
  23. 2017/07/27 12:40:10 Using internal plugin for virtualbox-iso
  24. 2017/07/27 12:40:10 Using internal plugin for amazon-chroot
  25. 2017/07/27 12:40:10 Using internal plugin for cloudstack
  26. 2017/07/27 12:40:10 Using internal plugin for file
  27. 2017/07/27 12:40:10 Using internal plugin for hyperv-iso
  28. 2017/07/27 12:40:10 Using internal plugin for oneandone
  29. 2017/07/27 12:40:10 Using internal plugin for qemu
  30. 2017/07/27 12:40:10 Using internal plugin for vmware-iso
  31. 2017/07/27 12:40:10 Using internal plugin for puppet-server
  32. 2017/07/27 12:40:10 Using internal plugin for shell-local
  33. 2017/07/27 12:40:10 Using internal plugin for chef-solo
  34. 2017/07/27 12:40:10 Using internal plugin for converge
  35. 2017/07/27 12:40:10 Using internal plugin for puppet-masterless
  36. 2017/07/27 12:40:10 Using internal plugin for windows-restart
  37. 2017/07/27 12:40:10 Using internal plugin for ansible-local
  38. 2017/07/27 12:40:10 Using internal plugin for powershell
  39. 2017/07/27 12:40:10 Using internal plugin for shell
  40. 2017/07/27 12:40:10 Using internal plugin for chef-client
  41. 2017/07/27 12:40:10 Using internal plugin for file
  42. 2017/07/27 12:40:10 Using internal plugin for ansible
  43. 2017/07/27 12:40:10 Using internal plugin for salt-masterless
  44. 2017/07/27 12:40:10 Using internal plugin for windows-shell
  45. 2017/07/27 12:40:10 Using internal plugin for atlas
  46. 2017/07/27 12:40:10 Using internal plugin for docker-tag
  47. 2017/07/27 12:40:10 Using internal plugin for googlecompute-export
  48. 2017/07/27 12:40:10 Using internal plugin for shell-local
  49. 2017/07/27 12:40:10 Using internal plugin for checksum
  50. 2017/07/27 12:40:10 Using internal plugin for docker-save
  51. 2017/07/27 12:40:10 Using internal plugin for manifest
  52. 2017/07/27 12:40:10 Using internal plugin for artifice
  53. 2017/07/27 12:40:10 Using internal plugin for docker-import
  54. 2017/07/27 12:40:10 Using internal plugin for docker-push
  55. 2017/07/27 12:40:10 Using internal plugin for vagrant
  56. 2017/07/27 12:40:10 Using internal plugin for vsphere
  57. 2017/07/27 12:40:10 Using internal plugin for alicloud-import
  58. 2017/07/27 12:40:10 Using internal plugin for amazon-import
  59. 2017/07/27 12:40:10 Using internal plugin for compress
  60. 2017/07/27 12:40:10 Using internal plugin for vagrant-cloud
  61. 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  62. 2017/07/27 12:40:10 Attempting to open config file: /Users/ashevchenko/.packerconfig
  63. 2017/07/27 12:40:10 [WARN] Config file doesn't exist: /Users/ashevchenko/.packerconfig
  64. 2017/07/27 12:40:10 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-ebs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs amazon-ebssurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso] PostProcessors:map[docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import alicloud-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import amazon-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant atlas:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas] Provisioners:map[ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
  65. 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  66. 2017/07/27 12:40:10 Setting cache directory: /Users/ashevchenko/development/infrastructure/packer_cache
  67. 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  68. 2017/07/27 12:40:10 Loading builder: amazon-ebs
  69. 2017/07/27 12:40:10 Plugin could not be found. Checking same directory as executable.
  70. 2017/07/27 12:40:10 Current exe path: /usr/local/bin/packer
  71. 2017/07/27 12:40:10 Creating plugin client for path: /usr/local/bin/packer
  72. 2017/07/27 12:40:10 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
  73. 2017/07/27 12:40:10 Waiting for RPC address for: /usr/local/bin/packer
  74. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [INFO] Packer version: 1.0.3
  75. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer Target OS/Arch: darwin amd64
  76. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Built with Go Version: go1.8.3
  77. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  78. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Attempting to open config file: /Users/ashevchenko/.packerconfig
  79. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [WARN] Config file doesn't exist: /Users/ashevchenko/.packerconfig
  80. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  81. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  82. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Setting cache directory: /Users/ashevchenko/development/infrastructure/packer_cache
  83. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 args: []string{"packer-builder-amazon-ebs"}
  84. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin minimum port: 10000
  85. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin maximum port: 25000
  86. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  87. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin address: unix /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-plugin893079113
  88. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Waiting for connection...
  89. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Serving a plugin connection...
  90. 2017/07/27 12:40:10 Loading provisioner: ansible
  91. 2017/07/27 12:40:10 Plugin could not be found. Checking same directory as executable.
  92. 2017/07/27 12:40:10 Current exe path: /usr/local/bin/packer
  93. 2017/07/27 12:40:10 Creating plugin client for path: /usr/local/bin/packer
  94. 2017/07/27 12:40:10 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-ansible"}
  95. 2017/07/27 12:40:10 Waiting for RPC address for: /usr/local/bin/packer
  96. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [INFO] Packer version: 1.0.3
  97. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer Target OS/Arch: darwin amd64
  98. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Built with Go Version: go1.8.3
  99. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  100. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Attempting to open config file: /Users/ashevchenko/.packerconfig
  101. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 [WARN] Config file doesn't exist: /Users/ashevchenko/.packerconfig
  102. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  103. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  104. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Setting cache directory: /Users/ashevchenko/development/infrastructure/packer_cache
  105. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 args: []string{"packer-provisioner-ansible"}
  106. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Detected home directory from env var: /Users/ashevchenko
  107. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin minimum port: 10000
  108. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin maximum port: 25000
  109. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Plugin address: unix /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-plugin882362182
  110. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Waiting for connection...
  111. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Serving a plugin connection...
  112. 2017/07/27 12:40:10 ui: amazon-ebs output will be in this color.
  113. 2017/07/27 12:40:10 ui:
  114. 2017/07/27 12:40:10 Build debug mode: false
  115. 2017/07/27 12:40:10 Force build: false
  116. 2017/07/27 12:40:10 On error:
  117. 2017/07/27 12:40:10 Preparing build: amazon-ebs
  118. amazon-ebs output will be in this color.
  119.  
  120. 2017/07/27 12:40:10 packer: 2017/07/27 12:40:10 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[git_hash:6d4206aee]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:eu-west-1 SecretKey: SkipValidation:false Token: session:<nil>} AMIConfig:{AMIName:leap-base-ami-1501155610 AMIDescription: AMIVirtType: AMIUsers:[189539755066 305366777960 394333930054 453130194223 499604764704 670689373697 693793123069 755264997877] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[Name:Leap Base Image ({{timestamp}}) Git_hash:{{user `git_hash`}}] AMIEnhancedNetworking:false AMIForceDeregister:false AMIForceDeleteSnapshot:false AMIEncryptBootVolume:false AMIKmsKeyId: AMIRegionKMSKeyIDs:map[] SnapshotTags:map[] SnapshotUsers:[] SnapshotGroups:[]} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:true AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc420380660:0xc420380680] Owners:[0xc420380700] MostRecent:false} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId:subnet-2c243c5a TemporaryKeyPairName:packer_5979d11a-9750-b541-593b-a646b7524e51 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId:vpc-e6918182 InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:true SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1822230] UserVariables:map[git_hash:6d4206aee] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/ashevchenko/development/infrastructure/base-ami-packer.json}}
  121. 2017/07/27 12:40:11 packer: 2017/07/27 12:40:11 ansible-playbook version: 2.3.0.0
  122. 2017/07/27 12:40:11 Waiting on builds to complete...
  123. 2017/07/27 12:40:11 Starting build run: amazon-ebs
  124. 2017/07/27 12:40:11 Running builder: amazon-ebs
  125. 2017/07/27 12:40:11 [INFO] (telemetry) Starting builder amazon-ebs
  126. 2017/07/27 12:40:11 packer: 2017/07/27 12:40:11 [INFO] Finding AZ and VpcId for the given subnet 'subnet-2c243c5a'
  127. 2017/07/27 12:40:11 packer: 2017/07/27 12:40:11 [INFO] AvailabilityZone found: 'eu-west-1a'
  128. 2017/07/27 12:40:11 ui: ==> amazon-ebs: Prevalidating AMI Name...
  129. ==> amazon-ebs: Prevalidating AMI Name...
  130. 2017/07/27 12:40:15 packer: 2017/07/27 12:40:15 Using AMI Filters {
  131. 2017/07/27 12:40:15 packer: Filters: [{
  132. 2017/07/27 12:40:15 packer: Name: "name",
  133. 2017/07/27 12:40:15 packer: Values: ["RHEL-7.3_HVM_GA-20161026-x86_64-1-Hourly2-GP2"]
  134. 2017/07/27 12:40:15 packer: }],
  135. 2017/07/27 12:40:15 packer: Owners: ["309956199498"]
  136. 2017/07/27 12:40:15 packer: }
  137. 2017/07/27 12:40:16 ui: amazon-ebs: Found Image ID: ami-02ace471
  138. amazon-ebs: Found Image ID: ami-02ace471
  139. 2017/07/27 12:40:16 ui: ==> amazon-ebs: Creating temporary keypair: packer_5979d11a-9750-b541-593b-a646b7524e51
  140. ==> amazon-ebs: Creating temporary keypair: packer_5979d11a-9750-b541-593b-a646b7524e51
  141. 2017/07/27 12:40:16 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5979d120-80ee-a4f3-c748-3cb913b9d5a2
  142. ==> amazon-ebs: Creating temporary security group for this instance: packer_5979d120-80ee-a4f3-c748-3cb913b9d5a2
  143. 2017/07/27 12:40:16 ui: ==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
  144. ==> amazon-ebs: Authorizing access to port 22 on the temporary security group...
  145. 2017/07/27 12:40:16 packer: 2017/07/27 12:40:16 [DEBUG] Waiting for temporary security group: sg-011daf79
  146. 2017/07/27 12:40:16 packer: 2017/07/27 12:40:16 [DEBUG] Found security group sg-011daf79
  147. 2017/07/27 12:40:16 ui: ==> amazon-ebs: Launching a source AWS instance...
  148. ==> amazon-ebs: Launching a source AWS instance...
  149. 2017/07/27 12:40:18 ui: amazon-ebs: Instance ID: i-00248506c43c61e0b
  150. amazon-ebs: Instance ID: i-00248506c43c61e0b
  151. 2017/07/27 12:40:18 ui: ==> amazon-ebs: Waiting for instance (i-00248506c43c61e0b) to become ready...
  152. 2017/07/27 12:40:18 packer: 2017/07/27 12:40:18 Waiting for state to become: running
  153. 2017/07/27 12:40:18 packer: 2017/07/27 12:40:18 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
  154. 2017/07/27 12:40:18 packer: 2017/07/27 12:40:18 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  155. ==> amazon-ebs: Waiting for instance (i-00248506c43c61e0b) to become ready...
  156. 2017/07/27 12:40:38 ui: ==> amazon-ebs: Adding tags to source instance
  157. ==> amazon-ebs: Adding tags to source instance
  158. 2017/07/27 12:40:38 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
  159. amazon-ebs: Adding tag: "Name": "Packer Builder"
  160. 2017/07/27 12:40:38 packer: 2017/07/27 12:40:38 [INFO] Not using winrm communicator, skipping get password...
  161. 2017/07/27 12:40:38 packer: 2017/07/27 12:40:38 [INFO] Waiting for SSH, up to timeout: 5m0s
  162. 2017/07/27 12:40:38 ui: ==> amazon-ebs: Waiting for SSH to become available...
  163. ==> amazon-ebs: Waiting for SSH to become available...
  164. 2017/07/27 12:40:49 packer: 2017/07/27 12:40:49 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 34.250.114.60:22: getsockopt: connection refused
  165. 2017/07/27 12:40:54 packer: 2017/07/27 12:40:54 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 34.250.114.60:22: getsockopt: connection refused
  166. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 [INFO] Attempting SSH connection...
  167. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 reconnecting to TCP connection for SSH
  168. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 handshaking with SSH
  169. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 handshake complete!
  170. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 opening new ssh session
  171. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 [INFO] agent forwarding enabled
  172. 2017/07/27 12:40:59 ui: ==> amazon-ebs: Connected to SSH!
  173. ==> amazon-ebs: Connected to SSH!
  174. 2017/07/27 12:40:59 packer: 2017/07/27 12:40:59 Running the provision hook
  175. 2017/07/27 12:40:59 [INFO] (telemetry) Starting provisioner ansible
  176. 2017/07/27 12:40:59 ui: ==> amazon-ebs: Provisioning with Ansible...
  177. ==> amazon-ebs: Provisioning with Ansible...
  178. 2017/07/27 12:41:00 packer: 2017/07/27 12:41:00 SSH proxy: serving on 127.0.0.1:56021
  179. 2017/07/27 12:41:00 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-provisioner-ansible922062440 /Users/ashevchenko/development/infrastructure/base-ami-setup.yml --private-key /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/ansible-key526957549
  180. ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/packer-provisioner-ansible922062440 /Users/ashevchenko/development/infrastructure/base-ami-setup.yml --private-key /var/folders/w5/51xt8fks4tqdhpxrbsqyhcxjhmm7q9/T/ansible-key526957549
  181. 2017/07/27 12:41:02 ui: amazon-ebs:
  182. amazon-ebs:
  183. 2017/07/27 12:41:02 ui: amazon-ebs: PLAY [Install common components + settings] ************************************
  184. amazon-ebs: PLAY [Install common components + settings] ************************************
  185. 2017/07/27 12:41:02 ui: amazon-ebs:
  186. amazon-ebs:
  187. 2017/07/27 12:41:02 ui: amazon-ebs: TASK [Install packages] ********************************************************
  188. amazon-ebs: TASK [Install packages] ********************************************************
  189. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 SSH proxy: accepted connection
  190. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 authentication attempt from 127.0.0.1:56022 to 127.0.0.1:56021 as ashevchenko using none
  191. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 authentication attempt from 127.0.0.1:56022 to 127.0.0.1:56021 as ashevchenko using publickey
  192. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 authentication attempt from 127.0.0.1:56022 to 127.0.0.1:56021 as ashevchenko using publickey
  193. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 new exec request: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" && echo ansible-tmp-1501155663.32-163059443100981="` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" ) && sleep 0'
  194. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 opening new ssh session
  195. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 starting remote command: /bin/sh -c '( umask 77 && mkdir -p "` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" && echo ansible-tmp-1501155663.32-163059443100981="` echo $HOME/.ansible/tmp/ansible-tmp-1501155663.32-163059443100981 `" ) && sleep 0'
  196. 2017/07/27 12:41:03 packer: 2017/07/27 12:41:03 [INFO] RPC endpoint: Communicator ended with: 0
  197. 2017/07/27 12:41:03 [INFO] 113 bytes written for 'stdout'
  198. 2017/07/27 12:41:03 [INFO] 0 bytes written for 'stderr'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement