Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.80 KB | None | 0 0
  1. starting packer build with iam instance profile name: ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W
  2. 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  3. 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  4. 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  5. 2017/01/16 13:15:06 Detected home directory from env var: /root
  6. 2017/01/16 13:15:06 Using internal plugin for virtualbox-iso
  7. 2017/01/16 13:15:06 Using internal plugin for virtualbox-ovf
  8. 2017/01/16 13:15:06 Using internal plugin for vmware-iso
  9. 2017/01/16 13:15:06 Using internal plugin for azure-arm
  10. 2017/01/16 13:15:06 Using internal plugin for digitalocean
  11. 2017/01/16 13:15:06 Using internal plugin for docker
  12. 2017/01/16 13:15:06 Using internal plugin for profitbricks
  13. 2017/01/16 13:15:06 Using internal plugin for qemu
  14. 2017/01/16 13:15:06 Using internal plugin for amazon-instance
  15. 2017/01/16 13:15:06 Using internal plugin for cloudstack
  16. 2017/01/16 13:15:06 Using internal plugin for openstack
  17. 2017/01/16 13:15:06 Using internal plugin for parallels-iso
  18. 2017/01/16 13:15:06 Using internal plugin for vmware-vmx
  19. 2017/01/16 13:15:06 Using internal plugin for amazon-ebs
  20. 2017/01/16 13:15:06 Using internal plugin for amazon-ebsvolume
  21. 2017/01/16 13:15:06 Using internal plugin for file
  22. 2017/01/16 13:15:06 Using internal plugin for parallels-pvm
  23. 2017/01/16 13:15:06 Using internal plugin for amazon-chroot
  24. 2017/01/16 13:15:06 Using internal plugin for googlecompute
  25. 2017/01/16 13:15:06 Using internal plugin for null
  26. 2017/01/16 13:15:06 Using internal plugin for chef-solo
  27. 2017/01/16 13:15:06 Using internal plugin for powershell
  28. 2017/01/16 13:15:06 Using internal plugin for puppet-masterless
  29. 2017/01/16 13:15:06 Using internal plugin for puppet-server
  30. 2017/01/16 13:15:06 Using internal plugin for shell-local
  31. 2017/01/16 13:15:06 Using internal plugin for windows-restart
  32. 2017/01/16 13:15:06 Using internal plugin for ansible
  33. 2017/01/16 13:15:06 Using internal plugin for chef-client
  34. 2017/01/16 13:15:06 Using internal plugin for salt-masterless
  35. 2017/01/16 13:15:06 Using internal plugin for shell
  36. 2017/01/16 13:15:06 Using internal plugin for windows-shell
  37. 2017/01/16 13:15:06 Using internal plugin for ansible-local
  38. 2017/01/16 13:15:06 Using internal plugin for file
  39. 2017/01/16 13:15:06 Using internal plugin for vsphere
  40. 2017/01/16 13:15:06 Using internal plugin for artifice
  41. 2017/01/16 13:15:06 Using internal plugin for vagrant
  42. 2017/01/16 13:15:06 Using internal plugin for checksum
  43. 2017/01/16 13:15:06 Using internal plugin for docker-import
  44. 2017/01/16 13:15:06 Using internal plugin for docker-save
  45. 2017/01/16 13:15:06 Using internal plugin for docker-tag
  46. 2017/01/16 13:15:06 Using internal plugin for shell-local
  47. 2017/01/16 13:15:06 Using internal plugin for amazon-import
  48. 2017/01/16 13:15:06 Using internal plugin for atlas
  49. 2017/01/16 13:15:06 Using internal plugin for vagrant-cloud
  50. 2017/01/16 13:15:06 Using internal plugin for compress
  51. 2017/01/16 13:15:06 Using internal plugin for manifest
  52. 2017/01/16 13:15:06 Using internal plugin for docker-push
  53. 2017/01/16 13:15:06 Using internal plugin for googlecompute-export
  54. 2017/01/16 13:15:06 Detected home directory from env var: /root
  55. 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  56. 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  57. 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[virtualbox-iso:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso azure-arm:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm docker:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker parallels-pvm:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm null:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null virtualbox-ovf:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf vmware-iso:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso amazon-ebsvolume:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume googlecompute:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute digitalocean:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean cloudstack:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack openstack:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-iso:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso vmware-vmx:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx amazon-ebs:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs profitbricks:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks qemu:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu amazon-instance:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance file:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file amazon-chroot:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot] PostProcessors:map[docker-push:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push googlecompute-export:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export artifice:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice vagrant:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant checksum:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vagrant-cloud:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-import:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-save:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save manifest:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest docker-tag:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag shell-local:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local amazon-import:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import atlas:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vsphere:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere compress:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress] Provisioners:map[puppet-masterless:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell-local:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local windows-restart:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart shell:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell windows-shell:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell ansible-local:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local file:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file powershell:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-server:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server ansible:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible chef-client:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client salt-masterless:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-solo:/usr/local/packer-0.12.0/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo]}
  58. 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  59. 2017/01/16 13:15:06 Loading builder: amazon-ebs
  60. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  61. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  62. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  63. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-builder-amazon-ebs"}
  64. 2017/01/16 13:15:06 Detected home directory from env var: /root
  65. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  66. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  67. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  68. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  69. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  70. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  71. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  72. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  73. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  74. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-builder-amazon-ebs"}
  75. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  76. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  77. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  78. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin607002787
  79. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  80. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  81. 2017/01/16 13:15:06 Loading provisioner: shell
  82. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  83. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  84. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  85. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-shell"}
  86. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  87. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  88. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  89. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  90. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  91. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  92. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  93. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  94. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  95. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-shell"}
  96. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  97. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  98. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  99. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin687539733
  100. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  101. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  102. 2017/01/16 13:15:06 Loading provisioner: file
  103. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  104. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  105. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  106. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
  107. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  108. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  109. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  110. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  111. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  112. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  113. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  114. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  115. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  116. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
  117. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  118. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  119. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  120. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin492790496
  121. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  122. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  123. 2017/01/16 13:15:06 Loading provisioner: file
  124. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  125. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  126. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  127. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
  128. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  129. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  130. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  131. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  132. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  133. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  134. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  135. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  136. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  137. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
  138. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  139. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  140. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  141. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin197148249
  142. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  143. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  144. 2017/01/16 13:15:06 Loading provisioner: file
  145. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  146. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  147. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  148. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
  149. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  150. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  151. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  152. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  153. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  154. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  155. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  156. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  157. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  158. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
  159. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  160. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  161. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  162. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin663084207
  163. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  164. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  165. 2017/01/16 13:15:06 Loading provisioner: file
  166. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  167. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  168. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  169. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
  170. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  171. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  172. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  173. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  174. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  175. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  176. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  177. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  178. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  179. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
  180. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  181. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  182. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  183. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin229260145
  184. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  185. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  186. 2017/01/16 13:15:06 Loading provisioner: file
  187. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  188. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  189. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  190. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-file"}
  191. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  192. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  193. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  194. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  195. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  196. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  197. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  198. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  199. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  200. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-file"}
  201. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  202. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  203. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  204. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin552701736
  205. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  206. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  207. 2017/01/16 13:15:06 Loading provisioner: chef-client
  208. 2017/01/16 13:15:06 Plugin could not be found. Checking same directory as executable.
  209. 2017/01/16 13:15:06 Current exe path: /usr/local/packer-0.12.0/packer
  210. 2017/01/16 13:15:06 Creating plugin client for path: /usr/local/packer-0.12.0/packer
  211. 2017/01/16 13:15:06 Starting plugin: /usr/local/packer-0.12.0/packer []string{"/usr/local/packer-0.12.0/packer", "plugin", "packer-provisioner-chef-client"}
  212. 2017/01/16 13:15:06 Waiting for RPC address for: /usr/local/packer-0.12.0/packer
  213. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [INFO] Packer version: 0.12.0
  214. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer Target OS/Arch: linux amd64
  215. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Built with Go Version: go1.7.3
  216. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  217. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Attempting to open config file: /root/.packerconfig
  218. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 [WARN] Config file doesn't exist: /root/.packerconfig
  219. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  220. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Setting cache directory: /root/workspace/app_aws_installation/packer_cache
  221. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 args: []string{"packer-provisioner-chef-client"}
  222. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin minimum port: 10000
  223. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin maximum port: 25000
  224. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Plugin address: unix /tmp/packer-plugin059830552
  225. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Waiting for connection...
  226. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Detected home directory from env var: /root
  227. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Serving a plugin connection...
  228. 2017/01/16 13:15:06 Build debug mode: false
  229. 2017/01/16 13:15:06 Force build: false
  230. 2017/01/16 13:15:06 On error:
  231. 2017/01/16 13:15:06 Preparing build: my_app_aws
  232. 1484572506,,ui,say,my_app_aws output will be in this color.
  233. 1484572506,,ui,say,
  234. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Config: {PackerConfig:{PackerBuildName:my_app_aws PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_access_key_id: ssh_password: environment:aws ssh_port: ssh_username: aws_region:eu-west-1 ssh_host: x509_cert_path: account_id: chef_dir:/tmp/packer-chef-client chef_run_list: installation_name:ubuntu iam_instance_profile_name:ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W aws_secret_key: user_home:/root image_name:]} AccessConfig:{AccessKey: SecretKey: RawRegion:eu-west-1 SkipValidation:false Token: ProfileName:} AMIConfig:{AMIName:my-app-aws 1484572506 AMIDescription: AMIVirtType: AMIUsers:[] AMIGroups:[] AMIProductCodes:[] AMIRegions:[] AMISkipRegionValidation:false AMITags:map[] AMIEnhancedNetworking:false AMIForceDeregister:false AMIEncryptBootVolume:false} BlockDevices:{AMIBlockDevices:{AMIMappings:[]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile:ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W InstanceType:t2.small RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4203b53a0:0xc4203b53c0 0xc4203b5320:0xc4203b5340 0xc4203b5360:0xc4203b5380] Owners:[0xc4203b5440] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] SubnetId: TemporaryKeyPairName:packer_587cc75a-dcf2-4026-b691-1e5e2464068b UserData: UserDataFile: WindowsPasswordTimeout:10m0s VpcId: InstanceInitiatedShutdownBehavior:stop Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgent:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHPrivateIp:false} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x8ecf90] UserVariables:map[environment:aws aws_secret_key: chef_dir:/tmp/packer-chef-client image_name: x509_cert_path: iam_instance_profile_name:ubuntu-packer-packerBuilderIamInstanceProfile-1EEJ4BZ3CR90W aws_region:eu-west-1 ssh_host: chef_run_list: aws_access_key_id: ssh_port: user_home:/root ssh_username: installation_name:ubuntu ssh_password: account_id:] EnableEnv:false BuildName:my_app_aws BuildType:amazon-ebs TemplatePath:/root/workspace/app_aws_installation/my-app.json}}
  235. 2017/01/16 13:15:06 Waiting on builds to complete...
  236. 2017/01/16 13:15:06 Starting build run: my_app_aws
  237. 2017/01/16 13:15:06 Running builder: amazon-ebs
  238. 1484572506,,ui,say,==> my_app_aws: Prevalidating AMI Name...
  239. 2017/01/16 13:15:06 packer: 2017/01/16 13:15:06 Using AMI Filters {
  240. 2017/01/16 13:15:06 packer: Filters: [{
  241. 2017/01/16 13:15:06 packer: Name: "virtualization-type",
  242. 2017/01/16 13:15:06 packer: Values: ["hvm"]
  243. 2017/01/16 13:15:06 packer: },{
  244. 2017/01/16 13:15:06 packer: Name: "name",
  245. 2017/01/16 13:15:06 packer: Values: ["*ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server*"]
  246. 2017/01/16 13:15:06 packer: },{
  247. 2017/01/16 13:15:06 packer: Name: "root-device-type",
  248. 2017/01/16 13:15:06 packer: Values: ["ebs"]
  249. 2017/01/16 13:15:06 packer: }]
  250. 2017/01/16 13:15:06 packer: }
  251. 1484572507,,ui,message, my_app_aws: Found Image ID: ami-d8f4deab
  252. 1484572507,,ui,say,==> my_app_aws: Creating temporary keypair: packer_587cc75a-dcf2-4026-b691-1e5e2464068b
  253. 2017/01/16 13:15:07 packer: 2017/01/16 13:15:07 Temporary group name: packer 587cc75b-ebc1-9937-3f91-0bf051ba6421
  254. 1484572507,,ui,say,==> my_app_aws: Creating temporary security group for this instance...
  255. 1484572507,,ui,say,==> my_app_aws: Authorizing access to port 22 the temporary security group...
  256. 2017/01/16 13:15:07 packer: 2017/01/16 13:15:07 [DEBUG] Waiting for tempSecurityGroup: sg-6f4a0109
  257. 2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 [DEBUG] Found security group sg-6f4a0109
  258. 1484572508,,ui,say,==> my_app_aws: Launching a source AWS instance...
  259. 1484572508,,ui,message, my_app_aws: Instance ID: i-0613d002f74da8994
  260. 2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 Waiting for state to become: running
  261. 2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
  262. 2017/01/16 13:15:08 packer: 2017/01/16 13:15:08 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  263. 1484572508,,ui,say,==> my_app_aws: Waiting for instance (i-0613d002f74da8994) to become ready...
  264. 2017/01/16 13:15:29 packer: 2017/01/16 13:15:29 [INFO] Not using winrm communicator, skipping get password...
  265. 2017/01/16 13:15:29 packer: 2017/01/16 13:15:29 [INFO] Waiting for SSH, up to timeout: 5m0s
  266. 1484572529,,ui,say,==> my_app_aws: Waiting for SSH to become available...
  267. 2017/01/16 13:15:44 packer: 2017/01/16 13:15:44 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.194.248.129:22: i/o timeout
  268. 2017/01/16 13:16:04 packer: 2017/01/16 13:16:04 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 54.194.248.129:22: i/o timeout
  269. 2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 [INFO] Attempting SSH connection...
  270. 2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 reconnecting to TCP connection for SSH
  271. 2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 handshaking with SSH
  272. 2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 handshake complete!
  273. 2017/01/16 13:16:09 packer: 2017/01/16 13:16:09 opening new ssh session
  274. 2017/01/16 13:16:10 packer: 2017/01/16 13:16:10 [INFO] agent forwarding enabled
  275. 2017/01/16 13:16:10 packer: 2017/01/16 13:16:10 Running the provision hook
  276. 1484572570,,ui,say,==> my_app_aws: Connected to SSH!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement