Guest User

Untitled

a guest
May 4th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.67 KB | None | 0 0
  1. $ PACKER_LOG=1 packer-1.2 build -var-file=./vars/prod_xenial_build.json debug.json
  2. 2018/04/27 13:05:56 [INFO] Packer version: 1.2.2
  3. 2018/04/27 13:05:56 Packer Target OS/Arch: darwin amd64
  4. 2018/04/27 13:05:56 Built with Go Version: go1.10
  5. 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  6. 2018/04/27 13:05:56 Using internal plugin for azure-arm
  7. 2018/04/27 13:05:56 Using internal plugin for ncloud
  8. 2018/04/27 13:05:56 Using internal plugin for null
  9. 2018/04/27 13:05:56 Using internal plugin for virtualbox-ovf
  10. 2018/04/27 13:05:56 Using internal plugin for scaleway
  11. 2018/04/27 13:05:56 Using internal plugin for alicloud-ecs
  12. 2018/04/27 13:05:56 Using internal plugin for amazon-ebs
  13. 2018/04/27 13:05:56 Using internal plugin for amazon-ebssurrogate
  14. 2018/04/27 13:05:56 Using internal plugin for amazon-instance
  15. 2018/04/27 13:05:56 Using internal plugin for cloudstack
  16. 2018/04/27 13:05:56 Using internal plugin for digitalocean
  17. 2018/04/27 13:05:56 Using internal plugin for profitbricks
  18. 2018/04/27 13:05:56 Using internal plugin for file
  19. 2018/04/27 13:05:56 Using internal plugin for lxd
  20. 2018/04/27 13:05:56 Using internal plugin for triton
  21. 2018/04/27 13:05:56 Using internal plugin for amazon-ebsvolume
  22. 2018/04/27 13:05:56 Using internal plugin for hyperv-iso
  23. 2018/04/27 13:05:56 Using internal plugin for oracle-oci
  24. 2018/04/27 13:05:56 Using internal plugin for vmware-vmx
  25. 2018/04/27 13:05:56 Using internal plugin for amazon-chroot
  26. 2018/04/27 13:05:56 Using internal plugin for lxc
  27. 2018/04/27 13:05:56 Using internal plugin for openstack
  28. 2018/04/27 13:05:56 Using internal plugin for oracle-classic
  29. 2018/04/27 13:05:56 Using internal plugin for parallels-iso
  30. 2018/04/27 13:05:56 Using internal plugin for parallels-pvm
  31. 2018/04/27 13:05:56 Using internal plugin for qemu
  32. 2018/04/27 13:05:56 Using internal plugin for docker
  33. 2018/04/27 13:05:56 Using internal plugin for googlecompute
  34. 2018/04/27 13:05:56 Using internal plugin for hyperv-vmcx
  35. 2018/04/27 13:05:56 Using internal plugin for oneandone
  36. 2018/04/27 13:05:56 Using internal plugin for virtualbox-iso
  37. 2018/04/27 13:05:56 Using internal plugin for vmware-iso
  38. 2018/04/27 13:05:56 Using internal plugin for shell
  39. 2018/04/27 13:05:56 Using internal plugin for windows-shell
  40. 2018/04/27 13:05:56 Using internal plugin for chef-client
  41. 2018/04/27 13:05:56 Using internal plugin for chef-solo
  42. 2018/04/27 13:05:56 Using internal plugin for file
  43. 2018/04/27 13:05:56 Using internal plugin for puppet-server
  44. 2018/04/27 13:05:56 Using internal plugin for ansible-local
  45. 2018/04/27 13:05:56 Using internal plugin for converge
  46. 2018/04/27 13:05:56 Using internal plugin for windows-restart
  47. 2018/04/27 13:05:56 Using internal plugin for puppet-masterless
  48. 2018/04/27 13:05:56 Using internal plugin for salt-masterless
  49. 2018/04/27 13:05:56 Using internal plugin for ansible
  50. 2018/04/27 13:05:56 Using internal plugin for powershell
  51. 2018/04/27 13:05:56 Using internal plugin for shell-local
  52. 2018/04/27 13:05:56 Using internal plugin for alicloud-import
  53. 2018/04/27 13:05:56 Using internal plugin for googlecompute-export
  54. 2018/04/27 13:05:56 Using internal plugin for manifest
  55. 2018/04/27 13:05:56 Using internal plugin for compress
  56. 2018/04/27 13:05:56 Using internal plugin for docker-save
  57. 2018/04/27 13:05:56 Using internal plugin for docker-tag
  58. 2018/04/27 13:05:56 Using internal plugin for vagrant-cloud
  59. 2018/04/27 13:05:56 Using internal plugin for vsphere-template
  60. 2018/04/27 13:05:56 Using internal plugin for amazon-import
  61. 2018/04/27 13:05:56 Using internal plugin for artifice
  62. 2018/04/27 13:05:56 Using internal plugin for atlas
  63. 2018/04/27 13:05:56 Using internal plugin for docker-import
  64. 2018/04/27 13:05:56 Using internal plugin for docker-push
  65. 2018/04/27 13:05:56 Using internal plugin for checksum
  66. 2018/04/27 13:05:56 Using internal plugin for shell-local
  67. 2018/04/27 13:05:56 Using internal plugin for vagrant
  68. 2018/04/27 13:05:56 Using internal plugin for vsphere
  69. 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  70. 2018/04/27 13:05:56 Attempting to open config file: /Users/alexg/.packerconfig
  71. 2018/04/27 13:05:56 [WARN] Config file doesn't exist: /Users/alexg/.packerconfig
  72. 2018/04/27 13:05:56 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[amazon-instance:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance file:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file oracle-classic:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic googlecompute:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute virtualbox-ovf:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf alicloud-ecs:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs profitbricks:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks azure-arm:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm lxc:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc oneandone:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone triton:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton amazon-ebsvolume:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-chroot:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot docker:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker hyperv-vmcx:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx virtualbox-iso:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso null:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null amazon-ebssurrogate:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebssurrogate cloudstack:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack oracle-oci:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci openstack:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack amazon-ebs:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebs hyperv-iso:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso parallels-iso:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso scaleway:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway digitalocean:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean vmware-iso:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso ncloud:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud lxd:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd vmware-vmx:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx parallels-pvm:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm qemu:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu] PostProcessors:map[compress:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress googlecompute-export:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export manifest:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest artifice:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice atlas:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-atlas shell-local:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local alicloud-import:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-alicloud-import docker-save:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag docker-push:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push vagrant-cloud:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere-template:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template amazon-import:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-amazon-import docker-import:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import checksum:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum vagrant:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vsphere:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere] Provisioners:map[windows-shell:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell puppet-server:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server powershell:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell ansible:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible shell:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell ansible-local:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local windows-restart:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart salt-masterless:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless puppet-masterless:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless shell-local:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local chef-client:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo file:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file converge:/usr/local/bin/packer-1.2-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge]}
  73. 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  74. 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  75. 2018/04/27 13:05:56 Setting cache directory: /Users/alexg/workspace/medal/packer/packer_cache
  76. 2018/04/27 13:05:56 Loading builder: amazon-ebs
  77. 2018/04/27 13:05:56 Plugin could not be found. Checking same directory as executable.
  78. 2018/04/27 13:05:56 Current exe path: /usr/local/bin/packer-1.2
  79. 2018/04/27 13:05:56 Creating plugin client for path: /usr/local/bin/packer-1.2
  80. 2018/04/27 13:05:56 Starting plugin: /usr/local/bin/packer-1.2 []string{"/usr/local/bin/packer-1.2", "plugin", "packer-builder-amazon-ebs"}
  81. 2018/04/27 13:05:56 Waiting for RPC address for: /usr/local/bin/packer-1.2
  82. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 [INFO] Packer version: 1.2.2
  83. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Packer Target OS/Arch: darwin amd64
  84. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Built with Go Version: go1.10
  85. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  86. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Attempting to open config file: /Users/alexg/.packerconfig
  87. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 [WARN] Config file doesn't exist: /Users/alexg/.packerconfig
  88. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
  89. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  90. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Setting cache directory: /Users/alexg/workspace/medal/packer/packer_cache
  91. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 args: []string{"packer-builder-amazon-ebs"}
  92. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Detected home directory from env var: /Users/alexg
  93. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Plugin minimum port: 10000
  94. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Plugin maximum port: 25000
  95. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Plugin address: unix /var/folders/b9/fmsc1c555w92_cds53fwcsn40000gn/T/packer-plugin554575620
  96. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Waiting for connection...
  97. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Serving a plugin connection...
  98. 2018/04/27 13:05:56 ui: amazon-ebs output will be in this color.
  99. 2018/04/27 13:05:56 ui:
  100. 2018/04/27 13:05:56 Build debug mode: false
  101. 2018/04/27 13:05:56 Force build: false
  102. 2018/04/27 13:05:56 On error:
  103. 2018/04/27 13:05:56 Preparing build: amazon-ebs
  104. amazon-ebs output will be in this color.
  105.  
  106. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Config: {PackerConfig:{PackerBuildName:amazon-ebs PackerBuilderType:amazon-ebs PackerDebug:false PackerForce:false PackerOnError: PackerUserVars:map[env:prod encrypted_ami:true kms_key_id:4617665e-aaca-4516-b9b6-83434811c391 ami_description:Medal Ubuntu Linux Production AMI ami_name_prefix:medal-prod subnet_id:subnet-8ce585c4 ami_os_string:xenial-16.04]} AccessConfig:{AccessKey: CustomEndpointEc2: MFACode: ProfileName:prod RawRegion:us-west-2 SecretKey: SkipValidation:false SkipMetadataApiCheck:false Token: session:<nil>} AMIConfig:{AMIName:medal-prod_ubuntu-xenial-16.04-amd64-server_1524859556 AMIDescription:{{user `ami_description`}} 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:[{DeleteOnTermination:false DeviceName:/dev/sda1 Encrypted:true IOPS:0 NoDevice:false SnapshotId: VirtualName: VolumeType: VolumeSize:8 KmsKeyId:4617665e-aaca-4516-b9b6-83434811c391}]} LaunchBlockDevices:{LaunchMappings:[]}} RunConfig:{AssociatePublicIpAddress:false AvailabilityZone: EbsOptimized:false IamInstanceProfile: InstanceType:t2.micro RunTags:map[] SourceAmi: SourceAmiFilter:{Filters:map[0xc42051a9a0:0xc42051a9c0 0xc42051a920:0xc42051a940 0xc42051a960:0xc42051a980] Owners:[0xc42051aa40] MostRecent:true} SpotPrice: SpotPriceAutoProduct: DisableStopInstance:false SecurityGroupId: SecurityGroupIds:[] TemporarySGSourceCidr:0.0.0.0/0 SubnetId:subnet-8ce585c4 TemporaryKeyPairName:packer_5ae382a4-2dd5-c734-0077-34bb68ba05d1 UserData: UserDataFile: WindowsPasswordTimeout:20m0s VpcId: InstanceInitiatedShutdownBehavior:terminate Comm:{Type:ssh SSHHost: SSHPort:22 SSHUsername:ubuntu SSHPassword: SSHPrivateKey: SSHPty:false SSHTimeout:5m0s SSHAgentAuth:false SSHDisableAgentForwarding:false SSHHandshakeAttempts:10 SSHBastionHost: SSHBastionPort:0 SSHBastionAgentAuth:false SSHBastionUsername: SSHBastionPassword: SSHBastionPrivateKey: SSHFileTransferMethod:scp SSHProxyHost: SSHProxyPort:0 SSHProxyUsername: SSHProxyPassword: SSHKeepAliveInterval:5s SSHReadWriteTimeout:0s WinRMUser: WinRMPassword: WinRMHost: WinRMPort:0 WinRMTimeout:0s WinRMUseSSL:false WinRMInsecure:false WinRMUseNTLM:false WinRMTransportDecorator:<nil>} SSHKeyPairName: SSHInterface:} VolumeRunTags:map[] ctx:{Data:<nil> Funcs:map[clean_ami_name:0x1842090] UserVariables:map[ami_description:Medal Ubuntu Linux Production AMI ami_name_prefix:medal-prod subnet_id:subnet-8ce585c4 ami_os_string:xenial-16.04 env:prod encrypted_ami:true kms_key_id:4617665e-aaca-4516-b9b6-83434811c391] EnableEnv:false BuildName:amazon-ebs BuildType:amazon-ebs TemplatePath:/Users/alexg/workspace/medal/packer/debug.json}}
  107. 2018/04/27 13:05:56 Waiting on builds to complete...
  108. 2018/04/27 13:05:56 Starting build run: amazon-ebs
  109. 2018/04/27 13:05:56 Running builder: amazon-ebs
  110. 2018/04/27 13:05:56 [INFO] (telemetry) Starting builder amazon-ebs
  111. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 Found region us-west-2
  112. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 [INFO] AWS Auth provider used: "SharedConfigCredentials: /Users/alexg/.aws/credentials"
  113. 2018/04/27 13:05:56 packer-1.2: 2018/04/27 13:05:56 [INFO] Finding AZ and VpcId for the given subnet 'subnet-8ce585c4'
  114. 2018/04/27 13:05:57 packer-1.2: 2018/04/27 13:05:57 [INFO] AvailabilityZone found: 'us-west-2a'
  115. 2018/04/27 13:05:57 packer-1.2: 2018/04/27 13:05:57 [INFO] VpcId found: 'vpc-4e695128'
  116. 2018/04/27 13:05:57 ui: ==> amazon-ebs: Prevalidating AMI Name: medal-prod_ubuntu-xenial-16.04-amd64-server_1524859556
  117. ==> amazon-ebs: Prevalidating AMI Name: medal-prod_ubuntu-xenial-16.04-amd64-server_1524859556
  118. 2018/04/27 13:05:58 packer-1.2: 2018/04/27 13:05:58 Using AMI Filters {
  119. 2018/04/27 13:05:58 packer-1.2: Filters: [{
  120. 2018/04/27 13:05:58 packer-1.2: Name: "root-device-type",
  121. 2018/04/27 13:05:58 packer-1.2: Values: ["ebs"]
  122. 2018/04/27 13:05:58 packer-1.2: },{
  123. 2018/04/27 13:05:58 packer-1.2: Name: "virtualization-type",
  124. 2018/04/27 13:05:58 packer-1.2: Values: ["hvm"]
  125. 2018/04/27 13:05:58 packer-1.2: },{
  126. 2018/04/27 13:05:58 packer-1.2: Name: "name",
  127. 2018/04/27 13:05:58 packer-1.2: Values: ["ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-*"]
  128. 2018/04/27 13:05:58 packer-1.2: }],
  129. 2018/04/27 13:05:58 packer-1.2: Owners: ["099720109477"]
  130. 2018/04/27 13:05:58 packer-1.2: }
  131. 2018/04/27 13:06:01 ui: amazon-ebs: Found Image ID: ami-ca89eeb2
  132. amazon-ebs: Found Image ID: ami-ca89eeb2
  133. 2018/04/27 13:06:01 ui: ==> amazon-ebs: Creating temporary keypair: packer_5ae382a4-2dd5-c734-0077-34bb68ba05d1
  134. ==> amazon-ebs: Creating temporary keypair: packer_5ae382a4-2dd5-c734-0077-34bb68ba05d1
  135. 2018/04/27 13:06:01 ui: ==> amazon-ebs: Creating temporary security group for this instance: packer_5ae382a9-3aa3-ff4d-079e-f5452e543b74
  136. ==> amazon-ebs: Creating temporary security group for this instance: packer_5ae382a9-3aa3-ff4d-079e-f5452e543b74
  137. 2018/04/27 13:06:01 ui: ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
  138. ==> amazon-ebs: Authorizing access to port 22 from 0.0.0.0/0 in the temporary security group...
  139. 2018/04/27 13:06:01 packer-1.2: 2018/04/27 13:06:01 [DEBUG] Waiting for temporary security group: sg-9cf5a0e2
  140. 2018/04/27 13:06:01 packer-1.2: 2018/04/27 13:06:01 [DEBUG] Found security group sg-9cf5a0e2
  141. 2018/04/27 13:06:01 ui: ==> amazon-ebs: Launching a source AWS instance...
  142. ==> amazon-ebs: Launching a source AWS instance...
  143. 2018/04/27 13:06:01 ui: ==> amazon-ebs: Adding tags to source instance
  144. ==> amazon-ebs: Adding tags to source instance
  145. 2018/04/27 13:06:01 ui: amazon-ebs: Adding tag: "Name": "Packer Builder"
  146. amazon-ebs: Adding tag: "Name": "Packer Builder"
  147. 2018/04/27 13:06:02 ui: amazon-ebs: Instance ID: i-092638fef83e64b85
  148. amazon-ebs: Instance ID: i-092638fef83e64b85
  149. 2018/04/27 13:06:02 ui: ==> amazon-ebs: Waiting for instance (i-092638fef83e64b85) to become ready...
  150. ==> amazon-ebs: Waiting for instance (i-092638fef83e64b85) to become ready...
  151. 2018/04/27 13:06:33 packer-1.2: 2018/04/27 13:06:33 [INFO] Not using winrm communicator, skipping get password...
  152. 2018/04/27 13:06:33 packer-1.2: 2018/04/27 13:06:33 [INFO] Waiting for SSH, up to timeout: 5m0s
  153. 2018/04/27 13:06:33 ui: ==> amazon-ebs: Waiting for SSH to become available...
  154. ==> amazon-ebs: Waiting for SSH to become available...
  155. 2018/04/27 13:06:33 packer-1.2: 2018/04/27 13:06:33 [DEBUG] TCP connection to SSH ip/port failed: dial tcp 10.2.14.112:22: connect: connection refused
  156. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 [INFO] Attempting SSH connection...
  157. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 [DEBUG] reconnecting to TCP connection for SSH
  158. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 [DEBUG] handshaking with SSH
  159. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 [DEBUG] handshake complete!
  160. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 [DEBUG] Opening new ssh session
  161. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 [INFO] agent forwarding enabled
  162. 2018/04/27 13:06:38 ui: ==> amazon-ebs: Connected to SSH!
  163. ==> amazon-ebs: Connected to SSH!
  164. 2018/04/27 13:06:38 packer-1.2: 2018/04/27 13:06:38 Running the provision hook
  165. 2018/04/27 13:06:38 ui: ==> amazon-ebs: Stopping the source instance...
  166. ==> amazon-ebs: Stopping the source instance...
  167. 2018/04/27 13:06:38 ui: amazon-ebs: Stopping instance, attempt 1
  168. amazon-ebs: Stopping instance, attempt 1
  169. 2018/04/27 13:06:39 ui: ==> amazon-ebs: Waiting for the instance to stop...
  170. ==> amazon-ebs: Waiting for the instance to stop...
  171. ==> amazon-ebs: Creating the AMI: medal-prod_ubuntu-xenial-16.04-amd64-server_1524859556
  172. 2018/04/27 13:07:25 ui: ==> amazon-ebs: Creating the AMI: medal-prod_ubuntu-xenial-16.04-amd64-server_1524859556
  173. 2018/04/27 13:07:25 ui error: ==> amazon-ebs: Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized
  174. ==> amazon-ebs: status code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999
  175. ==> amazon-ebs: Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized
  176. 2018/04/27 13:07:25 ui: ==> amazon-ebs: Terminating the source AWS instance...
  177. ==> amazon-ebs: status code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999
  178. ==> amazon-ebs: Terminating the source AWS instance...
  179. 2018/04/27 13:07:25 packer-1.2: 2018/04/27 13:07:25 Waiting for state to become: terminated
  180. 2018/04/27 13:07:25 packer-1.2: 2018/04/27 13:07:25 Using 2s as polling delay (change with AWS_POLL_DELAY_SECONDS)
  181. 2018/04/27 13:07:25 packer-1.2: 2018/04/27 13:07:25 Allowing 300s to complete (change with AWS_TIMEOUT_SECONDS)
  182. 2018/04/27 13:07:32 ui: ==> amazon-ebs: Cleaning up any extra volumes...
  183. ==> amazon-ebs: Cleaning up any extra volumes...
  184. ==> amazon-ebs: No volumes to clean up, skipping
  185. 2018/04/27 13:07:32 ui: ==> amazon-ebs: No volumes to clean up, skipping
  186. 2018/04/27 13:07:32 ui: ==> amazon-ebs: Deleting temporary security group...
  187. ==> amazon-ebs: Deleting temporary security group...
  188. 2018/04/27 13:07:32 ui: ==> amazon-ebs: Deleting temporary keypair...
  189. ==> amazon-ebs: Deleting temporary keypair...
  190. 2018/04/27 13:07:32 [INFO] (telemetry) ending amazon-ebs
  191. 2018/04/27 13:07:32 ui error: Build 'amazon-ebs' errored: Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized
  192. status code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999
  193. 2018/04/27 13:07:32 Builds completed. Waiting on interrupt barrier...
  194. 2018/04/27 13:07:32 machine readable: error-count []string{"1"}
  195. 2018/04/27 13:07:32 ui error:
  196. ==> Some builds didn't complete successfully and had errors:
  197. 2018/04/27 13:07:32 machine readable: amazon-ebs,error []string{"Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized\n\tstatus code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999"}
  198. 2018/04/27 13:07:32 ui error: --> amazon-ebs: Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized
  199. status code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999
  200. 2018/04/27 13:07:32 ui:
  201. ==> Builds finished but no artifacts were created.
  202. 2018/04/27 13:07:32 [INFO] (telemetry) Finalizing.
  203. Build 'amazon-ebs' errored: Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized
  204. status code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999
  205.  
  206. ==> Some builds didn't complete successfully and had errors:
  207. --> amazon-ebs: Error creating AMI: UnknownParameter: The parameter KmsKeyId is not recognized
  208. status code: 400, request id: c362f898-1c7a-44d0-9f82-c9b0ac155999
  209.  
  210. ==> Builds finished but no artifacts were created.
  211. 2018/04/27 13:07:33 waiting for all plugin processes to complete...
  212. 2018/04/27 13:07:33 /usr/local/bin/packer-1.2: plugin process exited
Add Comment
Please, Sign In to add comment