Guest User

Untitled

a guest
Aug 22nd, 2018
244
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.61 KB | None | 0 0
  1. 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
  2. 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
  3. 2018/08/22 22:59:21 Built with Go Version: go1.10.3
  4. 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  5. 2018/08/22 22:59:21 Using internal plugin for oracle-oci
  6. 2018/08/22 22:59:21 Using internal plugin for virtualbox-ovf
  7. 2018/08/22 22:59:21 Using internal plugin for alicloud-ecs
  8. 2018/08/22 22:59:21 Using internal plugin for amazon-ebs
  9. 2018/08/22 22:59:21 Using internal plugin for cloudstack
  10. 2018/08/22 22:59:21 Using internal plugin for docker
  11. 2018/08/22 22:59:21 Using internal plugin for googlecompute
  12. 2018/08/22 22:59:21 Using internal plugin for hyperv-iso
  13. 2018/08/22 22:59:21 Using internal plugin for azure-arm
  14. 2018/08/22 22:59:21 Using internal plugin for file
  15. 2018/08/22 22:59:21 Using internal plugin for qemu
  16. 2018/08/22 22:59:21 Using internal plugin for digitalocean
  17. 2018/08/22 22:59:21 Using internal plugin for hyperv-vmcx
  18. 2018/08/22 22:59:21 Using internal plugin for null
  19. 2018/08/22 22:59:21 Using internal plugin for profitbricks
  20. 2018/08/22 22:59:21 Using internal plugin for triton
  21. 2018/08/22 22:59:21 Using internal plugin for vmware-vmx
  22. 2018/08/22 22:59:21 Using internal plugin for oracle-classic
  23. 2018/08/22 22:59:21 Using internal plugin for parallels-iso
  24. 2018/08/22 22:59:21 Using internal plugin for vmware-iso
  25. 2018/08/22 22:59:21 Using internal plugin for amazon-chroot
  26. 2018/08/22 22:59:21 Using internal plugin for ncloud
  27. 2018/08/22 22:59:21 Using internal plugin for virtualbox-iso
  28. 2018/08/22 22:59:21 Using internal plugin for amazon-ebsvolume
  29. 2018/08/22 22:59:21 Using internal plugin for amazon-ebssurrogate
  30. 2018/08/22 22:59:21 Using internal plugin for lxc
  31. 2018/08/22 22:59:21 Using internal plugin for lxd
  32. 2018/08/22 22:59:21 Using internal plugin for oneandone
  33. 2018/08/22 22:59:21 Using internal plugin for openstack
  34. 2018/08/22 22:59:21 Using internal plugin for parallels-pvm
  35. 2018/08/22 22:59:21 Using internal plugin for amazon-instance
  36. 2018/08/22 22:59:21 Using internal plugin for scaleway
  37. 2018/08/22 22:59:21 Using internal plugin for chef-client
  38. 2018/08/22 22:59:21 Using internal plugin for shell-local
  39. 2018/08/22 22:59:21 Using internal plugin for ansible
  40. 2018/08/22 22:59:21 Using internal plugin for chef-solo
  41. 2018/08/22 22:59:21 Using internal plugin for file
  42. 2018/08/22 22:59:21 Using internal plugin for powershell
  43. 2018/08/22 22:59:21 Using internal plugin for puppet-masterless
  44. 2018/08/22 22:59:21 Using internal plugin for shell
  45. 2018/08/22 22:59:21 Using internal plugin for converge
  46. 2018/08/22 22:59:21 Using internal plugin for puppet-server
  47. 2018/08/22 22:59:21 Using internal plugin for salt-masterless
  48. 2018/08/22 22:59:21 Using internal plugin for ansible-local
  49. 2018/08/22 22:59:21 Using internal plugin for windows-restart
  50. 2018/08/22 22:59:21 Using internal plugin for windows-shell
  51. 2018/08/22 22:59:21 Using internal plugin for checksum
  52. 2018/08/22 22:59:21 Using internal plugin for manifest
  53. 2018/08/22 22:59:21 Using internal plugin for shell-local
  54. 2018/08/22 22:59:21 Using internal plugin for alicloud-import
  55. 2018/08/22 22:59:21 Using internal plugin for atlas
  56. 2018/08/22 22:59:21 Using internal plugin for docker-push
  57. 2018/08/22 22:59:21 Using internal plugin for googlecompute-export
  58. 2018/08/22 22:59:21 Using internal plugin for googlecompute-import
  59. 2018/08/22 22:59:21 Using internal plugin for vagrant
  60. 2018/08/22 22:59:21 Using internal plugin for vagrant-cloud
  61. 2018/08/22 22:59:21 Using internal plugin for artifice
  62. 2018/08/22 22:59:21 Using internal plugin for compress
  63. 2018/08/22 22:59:21 Using internal plugin for docker-tag
  64. 2018/08/22 22:59:21 Using internal plugin for amazon-import
  65. 2018/08/22 22:59:21 Using internal plugin for docker-save
  66. 2018/08/22 22:59:21 Using internal plugin for vsphere-template
  67. 2018/08/22 22:59:21 Using internal plugin for docker-import
  68. 2018/08/22 22:59:21 Using internal plugin for vsphere
  69. 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  70. 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
  71. 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
  72. 2018/08/22 22:59:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[vmware-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso scaleway:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway openstack:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack parallels-pvm:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm file:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file profitbricks:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks azure-arm:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm amazon-ebssurrogate:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate lxc:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd triton:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton virtualbox-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso null:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null parallels-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso amazon-chroot:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot digitalocean:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean hyperv-vmcx:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx cloudstack:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack docker:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker hyperv-iso:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso vmware-vmx:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx oracle-classic:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic amazon-ebsvolume:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume oracle-oci:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci amazon-ebs:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs oneandone:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone googlecompute:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute qemu:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu ncloud:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud amazon-instance:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance virtualbox-ovf:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf alicloud-ecs:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs] PostProcessors:map[checksum:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum manifest:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local googlecompute-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import vsphere-template:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template atlas:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas vagrant:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant artifice:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice compress:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress amazon-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-push:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-tag:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag alicloud-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import googlecompute-export:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export vagrant-cloud:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud docker-save:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-import:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import vsphere:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[windows-restart:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart ansible:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible file:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file shell:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible-local:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local converge:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge windows-shell:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell powershell:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless salt-masterless:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless chef-client:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client shell-local:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-solo:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo puppet-server:/Users/a9tm/Downloads/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server]}
  73. 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  74. 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
  75. 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  76. 2018/08/22 22:59:21 Loading builder: amazon-ebs
  77. 2018/08/22 22:59:21 Plugin could not be found. Checking same directory as executable.
  78. 2018/08/22 22:59:21 Current exe path: /Users/a9tm/Downloads/packer
  79. 2018/08/22 22:59:21 Creating plugin client for path: /Users/a9tm/Downloads/packer
  80. 2018/08/22 22:59:21 Starting plugin: /Users/a9tm/Downloads/packer []string{"/Users/a9tm/Downloads/packer", "plugin", "packer-builder-amazon-ebs"}
  81. 2018/08/22 22:59:21 Waiting for RPC address for: /Users/a9tm/Downloads/packer
  82. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
  83. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
  84. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Built with Go Version: go1.10.3
  85. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  86. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
  87. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
  88. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  89. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  90. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  91. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
  92. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 args: []string{"packer-builder-amazon-ebs"}
  93. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin minimum port: 10000
  94. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin maximum port: 25000
  95. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin address: unix /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-plugin960618310
  96. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Waiting for connection...
  97. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Serving a plugin connection...
  98. 2018/08/22 22:59:21 Loading provisioner: ansible
  99. 2018/08/22 22:59:21 Plugin could not be found. Checking same directory as executable.
  100. 2018/08/22 22:59:21 Current exe path: /Users/a9tm/Downloads/packer
  101. 2018/08/22 22:59:21 Creating plugin client for path: /Users/a9tm/Downloads/packer
  102. 2018/08/22 22:59:21 Starting plugin: /Users/a9tm/Downloads/packer []string{"/Users/a9tm/Downloads/packer", "plugin", "packer-provisioner-ansible"}
  103. 2018/08/22 22:59:21 Waiting for RPC address for: /Users/a9tm/Downloads/packer
  104. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [INFO] Packer version: 1.2.5
  105. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer Target OS/Arch: darwin amd64
  106. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Built with Go Version: go1.10.3
  107. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  108. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Attempting to open config file: /Users/a9tm/.packerconfig
  109. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 [WARN] Config file doesn't exist: /Users/a9tm/.packerconfig
  110. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  111. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  112. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Setting cache directory: /Users/a9tm/LMS/new/provisioning/packer_cache
  113. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Detected home directory from env var: /Users/a9tm
  114. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 args: []string{"packer-provisioner-ansible"}
  115. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin minimum port: 10000
  116. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin maximum port: 25000
  117. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Plugin address: unix /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-plugin793380359
  118. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Waiting for connection...
  119. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Serving a plugin connection...
  120. 2018/08/22 22:59:21 ui: amazon-ebs output will be in this color.
  121. 2018/08/22 22:59:21 ui:
  122. 2018/08/22 22:59:21 Build debug mode: false
  123. 2018/08/22 22:59:21 Force build: false
  124. 2018/08/22 22:59:21 On error:
  125. 2018/08/22 22:59:21 Preparing build: amazon-ebs
  126. amazon-ebs output will be in this color.
  127.  
  128. 2018/08/22 22:59:21 packer: 2018/08/22 22:59:21 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[aws_ami_name:example/freebsd/main-2018-08-22-2259 aws_region:eu-central-1]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName: RawRegion:eu-central-1 SecretKey: SkipValidation:false SkipMetadataApiCheck:false Token: session:<nil>} AMIConfig:{AMIName:example/freebsd/main-2018-08-22-2259 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:false AvailabilityZone: DisableStopInstance:false EbsOptimized:false EnableT2Unlimited:false IamInstanceProfile: InstanceInitiatedShutdownBehavior:stop InstanceType:t3.micro RunTags:map[] SecurityGroupId: SecurityGroupIds:[] SourceAmi: SourceAmiFilter:{Filters:map[0xc4204d7ab0:0xc4204d7ad0 0xc4204d7a70:0xc4204d7a90] Owners:[0xc4204d7b50] MostRecent:true} SpotPrice: SpotPriceAutoProduct: SpotTags:map[] SubnetId: TemporaryKeyPairName:packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12 TemporarySGSourceCidr:0.0.0.0/0 UserData: UserDataFile: VpcId: WindowsPasswordTimeout:20m0s Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ec2-user SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:10m0s 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:0x184a860] UserVariables:map[aws_region:eu-central-1 aws_ami_name:example/freebsd/main-2018-08-22-2259] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/a9tm/LMS/new/provisioning/main.json}}
  129. 2018/08/22 22:59:22 packer: 2018/08/22 22:59:22 ansible-playbook version: 2.6.3
  130. 2018/08/22 22:59:22 Waiting on builds to complete...
  131. 2018/08/22 22:59:22 Starting build run: amazon-ebs
  132. 2018/08/22 22:59:22 Running builder: amazon-ebs
  133. 2018/08/22 22:59:22 [INFO] (telemetry) Starting builder amazon-ebs
  134. 2018/08/22 22:59:22 packer: 2018/08/22 22:59:22 Found region eu-central-1
  135. 2018/08/22 22:59:22 packer: 2018/08/22 22:59:22 [INFO] AWS Auth provider used: "SharedConfigCredentials: /Users/a9tm/.aws/credentials"
  136. 2018/08/22 22:59:22 ui: ==> amazon-ebs: Prevalidating AMI Name: example/freebsd/main-2018-08-22-2259
  137. ==> amazon-ebs: Prevalidating AMI Name: example/freebsd/main-2018-08-22-2259
  138. 2018/08/22 22:59:24 packer: 2018/08/22 22:59:24 Using AMI Filters {
  139. 2018/08/22 22:59:24 packer: Filters: [{
  140. 2018/08/22 22:59:24 packer: Name: "name",
  141. 2018/08/22 22:59:24 packer: Values: ["FreeBSD 11.2-STABLE*"]
  142. 2018/08/22 22:59:24 packer: },{
  143. 2018/08/22 22:59:24 packer: Name: "virtualization-type",
  144. 2018/08/22 22:59:24 packer: Values: ["hvm"]
  145. 2018/08/22 22:59:24 packer: }],
  146. 2018/08/22 22:59:24 packer: Owners: ["118940168514"]
  147. 2018/08/22 22:59:24 packer: }
  148. 2018/08/22 22:59:24 ui: amazon-ebs: Found Image ID: ami-001821321b34264bf
  149. amazon-ebs: Found Image ID: ami-001821321b34264bf
  150. 2018/08/22 22:59:24 ui: ==> amazon-ebs: Creating temporary keypair: packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12
  151. ==> amazon-ebs: Creating temporary keypair: packer_5b7d8859-cd24-6d3e-b6e0-8b635ec5aa12
  152. 2018/08/22 22:59:25 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5b7d885d-51c6-192c-ca9c-c3c70db788d5
  153. ==> amazon-ebs: Creating temporary security group for this instance: packer_5b7d885d-51c6-192c-ca9c-c3c70db788d5
  154. 2018/08/22 22:59:25 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
  155. ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
  156. 2018/08/22 22:59:26 packer: 2018/08/22 22:59:26 [DEBUG] Waiting for temporary security group: sg-0c8736db8ee8829bf
  157. 2018/08/22 22:59:26 packer: 2018/08/22 22:59:26 [DEBUG] Found security group sg-0c8736db8ee8829bf
  158. 2018/08/22 22:59:26 ui: ==> amazon-ebs: Launching a source AWS instance...
  159. ==> amazon-ebs: Launching a source AWS instance...
  160. 2018/08/22 22:59:26 ui: ==> amazon-ebs: Adding tags to source instance
  161. ==> amazon-ebs: Adding tags to source instance
  162. 2018/08/22 22:59:26 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
  163. amazon-ebs: Adding tag: "Name": "Packer Builder"
  164. 2018/08/22 22:59:27 ui: amazon-ebs: Instance ID: i-xxxxxxxxxxxxxxxxx
  165. amazon-ebs: Instance ID: i-xxxxxxxxxxxxxxxxx
  166. 2018/08/22 22:59:27 ui: ==> amazon-ebs: Waiting for instance (i-xxxxxxxxxxxxxxxxx) to become ready...
  167. ==> amazon-ebs: Waiting for instance (i-xxxxxxxxxxxxxxxxx) to become ready...
  168. 2018/08/22 22:59:45 packer: 2018/08/22 22:59:45 [INFO] Not using winrm communicator, skipping get password...
  169. 2018/08/22 22:59:45 packer: 2018/08/22 22:59:45 [INFO] Waiting for SSH, up to timeout: 10m0s
  170. 2018/08/22 22:59:45 ui: ==> amazon-ebs: Waiting for SSH to become available...
  171. ==> amazon-ebs: Waiting for SSH to become available...
  172. 2018/08/22 23:00:00 packer: 2018/08/22 23:00:00 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: i/o timeout
  173. 2018/08/22 23:00:07 packer: 2018/08/22 23:00:07 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  174. 2018/08/22 23:00:13 packer: 2018/08/22 23:00:13 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  175. 2018/08/22 23:00:18 packer: 2018/08/22 23:00:18 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  176. 2018/08/22 23:00:23 packer: 2018/08/22 23:00:23 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  177. 2018/08/22 23:00:29 packer: 2018/08/22 23:00:29 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  178. 2018/08/22 23:00:34 packer: 2018/08/22 23:00:34 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  179. 2018/08/22 23:00:39 packer: 2018/08/22 23:00:39 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  180. 2018/08/22 23:00:45 packer: 2018/08/22 23:00:45 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  181. 2018/08/22 23:00:50 packer: 2018/08/22 23:00:50 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  182. 2018/08/22 23:00:55 packer: 2018/08/22 23:00:55 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  183. 2018/08/22 23:01:01 packer: 2018/08/22 23:01:01 [DEBUG] TCP connection to SSH ip/port failed: dial tcp x.x.x.x:22: connect: connection refused
  184. 2018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [INFO] Attempting SSH connection...
  185. 2018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [DEBUG] reconnecting to TCP connection for SSH
  186. 2018/08/22 23:01:06 packer: 2018/08/22 23:01:06 [DEBUG] handshaking with SSH
  187. 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [DEBUG] handshake complete!
  188. 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [DEBUG] Opening new ssh session
  189. ==> amazon-ebs: Connected to SSH!
  190. 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 [INFO] agent forwarding enabled
  191. 2018/08/22 23:01:10 ui: ==> amazon-ebs: Connected to SSH!
  192. 2018/08/22 23:01:10 packer: 2018/08/22 23:01:10 Running the provision hook
  193. 2018/08/22 23:01:10 [INFO] (telemetry) Starting provisioner ansible
  194. ==> amazon-ebs: Provisioning with Ansible...
  195. 2018/08/22 23:01:10 ui: ==> amazon-ebs: Provisioning with Ansible...
  196. 2018/08/22 23:01:11 packer: 2018/08/22 23:01:11 SSH proxy: serving on 127.0.0.1:51780
  197. 2018/08/22 23:01:11 ui: ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-provisioner-ansible302064081 /Users/a9tm/LMS/new/provisioning/main.yml -e ansible_ssh_private_key_file=/var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/ansible-key005231034
  198. ==> amazon-ebs: Executing Ansible: ansible-playbook --extra-vars packer_build_name=amazon-ebs packer_builder_type=amazon-ebs -i /var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/packer-provisioner-ansible302064081 /Users/a9tm/LMS/new/provisioning/main.yml -e ansible_ssh_private_key_file=/var/folders/25/_brr6wdn235d6bg19cdpg9fw0000gn/T/ansible-key005231034
  199. 2018/08/22 23:01:12 ui: amazon-ebs:
  200. amazon-ebs:
  201. 2018/08/22 23:01:12 ui: amazon-ebs: PLAY [all] *********************************************************************
  202. amazon-ebs: PLAY [all] *********************************************************************
  203. 2018/08/22 23:01:12 ui: amazon-ebs:
  204. amazon-ebs:
  205. amazon-ebs: TASK [Gathering Facts] *********************************************************
  206. 2018/08/22 23:01:12 ui: amazon-ebs: TASK [Gathering Facts] *********************************************************
  207. 2018/08/22 23:01:12 packer: 2018/08/22 23:01:12 SSH proxy: accepted connection
  208. 2018/08/22 23:01:12 packer: 2018/08/22 23:01:12 authentication attempt from 127.0.0.1:51781 to 127.0.0.1:51780 as ec2-user using none
  209. 2018/08/22 23:01:12 packer: 2018/08/22 23:01:12 authentication attempt from 127.0.0.1:51781 to 127.0.0.1:51780 as ec2-user using publickey
  210. 2018/08/22 23:01:12 ui error: ==> amazon-ebs: failed to handshake
  211. ==> amazon-ebs: failed to handshake
  212. 2018/08/22 23:01:12 ui: amazon-ebs: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[127.0.0.1]:51780' (RSA) to the list of known hosts.\r\nec2-user@127.0.0.1: Permission denied (publickey).\r\n", "unreachable": true}
  213. amazon-ebs: fatal: [default]: UNREACHABLE! => {"changed": false, "msg": "Failed to connect to the host via ssh: Warning: Permanently added '[127.0.0.1]:51780' (RSA) to the list of known hosts.\r\nec2-user@127.0.0.1: Permission denied (publickey).\r\n", "unreachable": true}
  214. amazon-ebs: to retry, use: --limit @/Users/a9tm/LMS/new/provisioning/main.retry
  215. 2018/08/22 23:01:12 ui: amazon-ebs: to retry, use: --limit @/Users/a9tm/LMS/new/provisioning/main.retry
  216. 2018/08/22 23:01:12 ui: amazon-ebs:
  217. amazon-ebs:
  218. 2018/08/22 23:01:12 ui: amazon-ebs: PLAY RECAP *********************************************************************
  219. amazon-ebs: PLAY RECAP *********************************************************************
  220. 2018/08/22 23:01:12 ui: amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
  221. amazon-ebs: default : ok=0 changed=0 unreachable=1 failed=0
  222. amazon-ebs:
  223. 2018/08/22 23:01:12 ui: amazon-ebs:
  224. 2018/08/22 23:01:12 packer: 2018/08/22 23:01:12 shutting down the SSH proxy
  225. 2018/08/22 23:01:12 [INFO] (telemetry) ending ansible
  226. 2018/08/22 23:01:12 ui: ==> amazon-ebs: Terminating the source AWS instance...
  227. ==> amazon-ebs: Terminating the source AWS instance...
  228. 2018/08/22 23:01:14 packer: 2018/08/22 23:01:14 No AWS timeout and polling overrides have been set. Packer will defalt to waiter-specific delays and timeouts. If you would like to customize the length of time between retries and max number of retries you may do so by setting the environment variables AWS_POLL_DELAY_SECONDS and AWS_MAX_ATTEMPTS to your desired values.
  229. ==> amazon-ebs: Cleaning up any extra volumes...
  230. 2018/08/22 23:01:47 ui: ==> amazon-ebs: Cleaning up any extra volumes...
  231. 2018/08/22 23:01:48 ui: ==> amazon-ebs: No volumes to clean up, skipping
  232. ==> amazon-ebs: No volumes to clean up, skipping
  233. 2018/08/22 23:01:48 ui: ==> amazon-ebs: Deleting temporary security group...
  234. ==> amazon-ebs: Deleting temporary security group...
  235. 2018/08/22 23:01:48 ui: ==> amazon-ebs: Deleting temporary keypair...
  236. ==> amazon-ebs: Deleting temporary keypair...
  237. 2018/08/22 23:01:48 [INFO] (telemetry) ending amazon-ebs
  238. 2018/08/22 23:01:48 ui error: Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4
  239. 2018/08/22 23:01:48 Builds completed. Waiting on interrupt barrier...
  240. 2018/08/22 23:01:48 machine readable: error-count []string{"1"}
  241. 2018/08/22 23:01:48 ui error:
  242. ==> Some builds didn't complete successfully and had errors:
  243. 2018/08/22 23:01:48 machine readable: amazon-ebs,error []string{"Error executing Ansible: Non-zero exit status: exit status 4"}
  244. 2018/08/22 23:01:48 ui error: --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4
  245. 2018/08/22 23:01:48 ui:
  246. ==> Builds finished but no artifacts were created.
  247. 2018/08/22 23:01:48 [INFO] (telemetry) Finalizing.
  248. Build 'amazon-ebs' errored: Error executing Ansible: Non-zero exit status: exit status 4
  249.  
  250. ==> Some builds didn't complete successfully and had errors:
  251. --> amazon-ebs: Error executing Ansible: Non-zero exit status: exit status 4
  252.  
  253. ==> Builds finished but no artifacts were created.
  254. 2018/08/22 23:01:50 waiting for all plugin processes to complete...
  255. 2018/08/22 23:01:50 /Users/a9tm/Downloads/packer: plugin process exited
  256. 2018/08/22 23:01:50 /Users/a9tm/Downloads/packer: plugin process exited
Add Comment
Please, Sign In to add comment