Skip to content

Instantly share code, notes, and snippets.

@t5unamie
Last active August 29, 2019 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t5unamie/4ee90d28aec7bb730071708aa51070cd to your computer and use it in GitHub Desktop.
Save t5unamie/4ee90d28aec7bb730071708aa51070cd to your computer and use it in GitHub Desktop.
example error
PACKER_LOG=1 packer build windows2016.json
2019/08/29 11:13:20 [INFO] Packer version: 1.4.3
2019/08/29 11:13:20 Packer Target OS/Arch: darwin amd64
2019/08/29 11:13:20 Built with Go Version: go1.12.9
2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXX
2019/08/29 11:13:20 Using internal plugin for amazon-ebssurrogate
2019/08/29 11:13:20 Using internal plugin for lxc
2019/08/29 11:13:20 Using internal plugin for ncloud
2019/08/29 11:13:20 Using internal plugin for null
2019/08/29 11:13:20 Using internal plugin for oracle-oci
2019/08/29 11:13:20 Using internal plugin for osc-bsu
2019/08/29 11:13:20 Using internal plugin for osc-bsusurrogate
2019/08/29 11:13:20 Using internal plugin for yandex
2019/08/29 11:13:20 Using internal plugin for amazon-chroot
2019/08/29 11:13:20 Using internal plugin for amazon-ebs
2019/08/29 11:13:20 Using internal plugin for cloudstack
2019/08/29 11:13:20 Using internal plugin for hyperone
2019/08/29 11:13:20 Using internal plugin for hyperv-iso
2019/08/29 11:13:20 Using internal plugin for hyperv-vmcx
2019/08/29 11:13:20 Using internal plugin for osc-chroot
2019/08/29 11:13:20 Using internal plugin for qemu
2019/08/29 11:13:20 Using internal plugin for virtualbox-ovf
2019/08/29 11:13:20 Using internal plugin for virtualbox-vm
2019/08/29 11:13:20 Using internal plugin for amazon-instance
2019/08/29 11:13:20 Using internal plugin for azure-arm
2019/08/29 11:13:20 Using internal plugin for googlecompute
2019/08/29 11:13:20 Using internal plugin for alicloud-ecs
2019/08/29 11:13:20 Using internal plugin for digitalocean
2019/08/29 11:13:20 Using internal plugin for linode
2019/08/29 11:13:20 Using internal plugin for parallels-pvm
2019/08/29 11:13:20 Using internal plugin for profitbricks
2019/08/29 11:13:20 Using internal plugin for vmware-iso
2019/08/29 11:13:20 Using internal plugin for file
2019/08/29 11:13:20 Using internal plugin for hcloud
2019/08/29 11:13:20 Using internal plugin for amazon-ebsvolume
2019/08/29 11:13:20 Using internal plugin for docker
2019/08/29 11:13:20 Using internal plugin for openstack
2019/08/29 11:13:20 Using internal plugin for oracle-classic
2019/08/29 11:13:20 Using internal plugin for proxmox
2019/08/29 11:13:20 Using internal plugin for scaleway
2019/08/29 11:13:20 Using internal plugin for tencentcloud-cvm
2019/08/29 11:13:20 Using internal plugin for triton
2019/08/29 11:13:20 Using internal plugin for ucloud-uhost
2019/08/29 11:13:20 Using internal plugin for vagrant
2019/08/29 11:13:20 Using internal plugin for jdcloud
2019/08/29 11:13:20 Using internal plugin for lxd
2019/08/29 11:13:20 Using internal plugin for oneandone
2019/08/29 11:13:20 Using internal plugin for parallels-iso
2019/08/29 11:13:20 Using internal plugin for virtualbox-iso
2019/08/29 11:13:20 Using internal plugin for osc-bsuvolume
2019/08/29 11:13:20 Using internal plugin for vmware-vmx
2019/08/29 11:13:20 Using internal plugin for windows-shell
2019/08/29 11:13:20 Using internal plugin for chef-solo
2019/08/29 11:13:20 Using internal plugin for converge
2019/08/29 11:13:20 Using internal plugin for inspec
2019/08/29 11:13:20 Using internal plugin for powershell
2019/08/29 11:13:20 Using internal plugin for chef-client
2019/08/29 11:13:20 Using internal plugin for file
2019/08/29 11:13:20 Using internal plugin for puppet-masterless
2019/08/29 11:13:20 Using internal plugin for puppet-server
2019/08/29 11:13:20 Using internal plugin for shell
2019/08/29 11:13:20 Using internal plugin for sleep
2019/08/29 11:13:20 Using internal plugin for ansible
2019/08/29 11:13:20 Using internal plugin for breakpoint
2019/08/29 11:13:20 Using internal plugin for salt-masterless
2019/08/29 11:13:20 Using internal plugin for shell-local
2019/08/29 11:13:20 Using internal plugin for windows-restart
2019/08/29 11:13:20 Using internal plugin for ansible-local
2019/08/29 11:13:20 Using internal plugin for manifest
2019/08/29 11:13:20 Using internal plugin for shell-local
2019/08/29 11:13:20 Using internal plugin for vagrant-cloud
2019/08/29 11:13:20 Using internal plugin for digitalocean-import
2019/08/29 11:13:20 Using internal plugin for docker-import
2019/08/29 11:13:20 Using internal plugin for docker-tag
2019/08/29 11:13:20 Using internal plugin for amazon-import
2019/08/29 11:13:20 Using internal plugin for artifice
2019/08/29 11:13:20 Using internal plugin for checksum
2019/08/29 11:13:20 Using internal plugin for vagrant
2019/08/29 11:13:20 Using internal plugin for vsphere-template
2019/08/29 11:13:20 Using internal plugin for alicloud-import
2019/08/29 11:13:20 Using internal plugin for compress
2019/08/29 11:13:20 Using internal plugin for docker-save
2019/08/29 11:13:20 Using internal plugin for googlecompute-import
2019/08/29 11:13:20 Using internal plugin for vsphere
2019/08/29 11:13:20 Using internal plugin for docker-push
2019/08/29 11:13:20 Using internal plugin for exoscale-import
2019/08/29 11:13:20 Using internal plugin for googlecompute-export
2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 Attempting to open config file: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 [WARN] Config file doesn't exist: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[alicloud-ecs:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-alicloud-ecs amazon-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-chroot 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 amazon-ebsvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-ebsvolume amazon-instance:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-amazon-instance azure-arm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-azure-arm cloudstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-cloudstack digitalocean:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-digitalocean docker:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-docker file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-file googlecompute:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-googlecompute hcloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hcloud hyperone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperone hyperv-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-iso hyperv-vmcx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-hyperv-vmcx jdcloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-jdcloud linode:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-linode lxc:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxc lxd:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-lxd ncloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ncloud null:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-null oneandone:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oneandone openstack:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-openstack oracle-classic:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-classic oracle-oci:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-oracle-oci osc-bsu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-bsu osc-bsusurrogate:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-bsusurrogate osc-bsuvolume:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-bsuvolume osc-chroot:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-osc-chroot parallels-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-iso parallels-pvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-parallels-pvm profitbricks:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-profitbricks proxmox:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-proxmox qemu:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-qemu scaleway:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-scaleway tencentcloud-cvm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-tencentcloud-cvm triton:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-triton ucloud-uhost:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-ucloud-uhost vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vagrant virtualbox-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-iso virtualbox-ovf:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-ovf virtualbox-vm:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-virtualbox-vm vmware-iso:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-iso vmware-vmx:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-vmware-vmx yandex:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-builder-yandex] PostProcessors:map[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 artifice:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-artifice checksum:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-checksum compress:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-compress digitalocean-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-digitalocean-import docker-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-import docker-push:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-push docker-save:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-save docker-tag:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-docker-tag exoscale-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-exoscale-import googlecompute-export:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-export googlecompute-import:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-googlecompute-import manifest:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-manifest shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-shell-local vagrant:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant vagrant-cloud:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vagrant-cloud vsphere:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere vsphere-template:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-post-processor-vsphere-template] Provisioners:map[ansible:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible ansible-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-ansible-local breakpoint:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-breakpoint chef-client:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-client chef-solo:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-chef-solo converge:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-converge file:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-file inspec:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-inspec powershell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-powershell puppet-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-masterless puppet-server:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-puppet-server salt-masterless:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-salt-masterless shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell shell-local:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-shell-local sleep:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-sleep windows-restart:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-restart windows-shell:/usr/local/bin/packer-PACKERSPACE-plugin-PACKERSPACE-packer-provisioner-windows-shell]}
2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 Setting cache directory: /Users/XXXXXXXXXXXXX/Desktop/code/tmp-packer-repo/mssql_2017/packer_cache
2019/08/29 11:13:20 Loading builder: amazon-ebs
2019/08/29 11:13:20 Plugin could not be found. Checking same directory as executable.
2019/08/29 11:13:20 Current exe path: /usr/local/bin/packer
2019/08/29 11:13:20 Creating plugin client for path: /usr/local/bin/packer
2019/08/29 11:13:20 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-amazon-ebs"}
2019/08/29 11:13:20 Waiting for RPC address for: /usr/local/bin/packer
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] Packer version: 1.4.3
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer Target OS/Arch: darwin amd64
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Built with Go Version: go1.12.9
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Attempting to open config file: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [WARN] Config file doesn't exist: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Setting cache directory: /Users/XXXXXXXXXXXXX/Desktop/code/tmp-packer-repo/mssql_2017/packer_cache
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 args: []string{"packer-builder-amazon-ebs"}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin minimum port: 10000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin maximum port: 25000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin address: unix /var/folders/lw/90c4851x1tqg_1q7xl4mn_mw0000gn/T/packer-plugin514252355
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Waiting for connection...
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Serving a plugin connection...
2019/08/29 11:13:20 Loading provisioner: file
2019/08/29 11:13:20 Plugin could not be found. Checking same directory as executable.
2019/08/29 11:13:20 Current exe path: /usr/local/bin/packer
2019/08/29 11:13:20 Creating plugin client for path: /usr/local/bin/packer
2019/08/29 11:13:20 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-file"}
2019/08/29 11:13:20 Waiting for RPC address for: /usr/local/bin/packer
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] Packer version: 1.4.3
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer Target OS/Arch: darwin amd64
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Built with Go Version: go1.12.9
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Attempting to open config file: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [WARN] Config file doesn't exist: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Setting cache directory: /Users/XXXXXXXXXXXXX/Desktop/code/tmp-packer-repo/mssql_2017/packer_cache
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 args: []string{"packer-provisioner-file"}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin minimum port: 10000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin maximum port: 25000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin address: unix /var/folders/lw/90c4851x1tqg_1q7xl4mn_mw0000gn/T/packer-plugin339482695
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Waiting for connection...
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Serving a plugin connection...
2019/08/29 11:13:20 Loading provisioner: powershell
2019/08/29 11:13:20 Plugin could not be found. Checking same directory as executable.
2019/08/29 11:13:20 Current exe path: /usr/local/bin/packer
2019/08/29 11:13:20 Creating plugin client for path: /usr/local/bin/packer
2019/08/29 11:13:20 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-powershell"}
2019/08/29 11:13:20 Waiting for RPC address for: /usr/local/bin/packer
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] Packer version: 1.4.3
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer Target OS/Arch: darwin amd64
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Built with Go Version: go1.12.9
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Attempting to open config file: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [WARN] Config file doesn't exist: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Setting cache directory: /Users/XXXXXXXXXXXXX/Desktop/code/tmp-packer-repo/mssql_2017/packer_cache
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 args: []string{"packer-provisioner-powershell"}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin minimum port: 10000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin maximum port: 25000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin address: unix /var/folders/lw/90c4851x1tqg_1q7xl4mn_mw0000gn/T/packer-plugin171216627
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Waiting for connection...
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Serving a plugin connection...
2019/08/29 11:13:20 Loading provisioner: windows-restart
2019/08/29 11:13:20 Plugin could not be found. Checking same directory as executable.
2019/08/29 11:13:20 Current exe path: /usr/local/bin/packer
2019/08/29 11:13:20 Creating plugin client for path: /usr/local/bin/packer
2019/08/29 11:13:20 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-windows-restart"}
2019/08/29 11:13:20 Waiting for RPC address for: /usr/local/bin/packer
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] Packer version: 1.4.3
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer Target OS/Arch: darwin amd64
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Built with Go Version: go1.12.9
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Attempting to open config file: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [WARN] Config file doesn't exist: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Setting cache directory: /Users/XXXXXXXXXXXXX/Desktop/code/tmp-packer-repo/mssql_2017/packer_cache
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 args: []string{"packer-provisioner-windows-restart"}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin minimum port: 10000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin maximum port: 25000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin address: unix /var/folders/lw/90c4851x1tqg_1q7xl4mn_mw0000gn/T/packer-plugin077700399
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Waiting for connection...
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Serving a plugin connection...
2019/08/29 11:13:20 Loading provisioner: powershell
2019/08/29 11:13:20 Plugin could not be found. Checking same directory as executable.
2019/08/29 11:13:20 Current exe path: /usr/local/bin/packer
2019/08/29 11:13:20 Creating plugin client for path: /usr/local/bin/packer
2019/08/29 11:13:20 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-powershell"}
2019/08/29 11:13:20 Waiting for RPC address for: /usr/local/bin/packer
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] Packer version: 1.4.3
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer Target OS/Arch: darwin amd64
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Built with Go Version: go1.12.9
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Attempting to open config file: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [WARN] Config file doesn't exist: /Users/XXXXXXXXXXXXX/.packerconfig
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Setting cache directory: /Users/XXXXXXXXXXXXX/Desktop/code/tmp-packer-repo/mssql_2017/packer_cache
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Detected home directory from env var: /Users/XXXXXXXXXXXXX
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 args: []string{"packer-provisioner-powershell"}
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin minimum port: 10000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin maximum port: 25000
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Plugin address: unix /var/folders/lw/90c4851x1tqg_1q7xl4mn_mw0000gn/T/packer-plugin223206595
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Waiting for connection...
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Serving a plugin connection...
amazon-ebs output will be in this color.
2019/08/29 11:13:20 Build debug mode: false
2019/08/29 11:13:20 Force build: false
2019/08/29 11:13:20 On error:
2019/08/29 11:13:20 Preparing build: amazon-ebs
2019/08/29 11:13:20 Waiting on builds to complete...
2019/08/29 11:13:20 Starting build run: amazon-ebs
2019/08/29 11:13:20 Running builder: amazon-ebs
2019/08/29 11:13:20 [INFO] (telemetry) Starting builder amazon-ebs
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 Found region eu-west-1
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] AWS Auth provider used: "SharedConfigCredentials: /Users/XXXXXXXXXXXXX/.aws/credentials"
2019/08/29 11:13:20 packer: 2019/08/29 11:13:20 [INFO] (aws): No AWS timeout and polling overrides have been set. Packer will default 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.
==> amazon-ebs: Prevalidating AMI Name: windows2016Server-1567073600
2019/08/29 11:13:21 packer: 2019/08/29 11:13:21 Using AMI Filters {
2019/08/29 11:13:21 packer: Filters: [{
2019/08/29 11:13:21 packer: Name: "name",
2019/08/29 11:13:21 packer: Values: ["Windows_Server-2016-English-Full-Base-*"]
2019/08/29 11:13:21 packer: },{
2019/08/29 11:13:21 packer: Name: "root-device-type",
2019/08/29 11:13:21 packer: Values: ["ebs"]
2019/08/29 11:13:21 packer: },{
2019/08/29 11:13:21 packer: Name: "virtualization-type",
2019/08/29 11:13:21 packer: Values: ["hvm"]
2019/08/29 11:13:21 packer: }],
2019/08/29 11:13:21 packer: Owners: ["amazon"]
2019/08/29 11:13:21 packer: }
amazon-ebs: Found Image ID: ami-06074ca6cd286bf04
2019/08/29 11:13:22 packer: 2019/08/29 11:13:22 [INFO] Finding AZ and VpcId for the given subnet 'subnet-00ac762dedd71d3d7'
2019/08/29 11:13:22 packer: 2019/08/29 11:13:22 [INFO] AvailabilityZone found: 'eu-west-1b'
==> amazon-ebs: Creating temporary keypair: packer_5d67a540-999e-69eb-8a26-7e93bc01e814
==> amazon-ebs: Creating temporary security group for this instance: packer_5d67a543-0792-c580-89fd-9f467a4fa156
2019/08/29 11:13:23 packer: 2019/08/29 11:13:23 [DEBUG] Waiting for temporary security group: sg-04f0e4382e05856cc
2019/08/29 11:13:23 packer: 2019/08/29 11:13:23 [DEBUG] Found security group sg-04f0e4382e05856cc
==> amazon-ebs: Authorizing access to port 5986 from [0.0.0.0/0] in the temporary security groups...
2019/08/29 11:13:23 packer: 2019/08/29 11:13:23 [DEBUG] base64 encoding user data...
==> amazon-ebs: Launching a source AWS instance...
==> amazon-ebs: Adding tags to source instance
amazon-ebs: Adding tag: "Owner": "planit"
amazon-ebs: Adding tag: "Name": "Packer Builder"
amazon-ebs: Instance ID: i-03eb0d1b60c70841c
==> amazon-ebs: Waiting for instance (i-03eb0d1b60c70841c) to become ready...
==> amazon-ebs: Waiting for auto-generated password for instance...
amazon-ebs: but it usually takes around 5. Please wait.
amazon-ebs: It is normal for this process to take up to 15 minutes,
amazon-ebs: but it usually takes around 5. Please wait.
2019/08/29 11:13:46 packer: 2019/08/29 11:13:46 [DEBUG] Password is blank, will retry...
2019/08/29 11:13:51 packer: 2019/08/29 11:13:51 [DEBUG] Password is blank, will retry...
==> amazon-ebs: status code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1
==> amazon-ebs: Error waiting for password: Error retrieving auto-generated instance password: RequestLimitExceeded: Request limit exceeded.
==> amazon-ebs: status code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1
==> amazon-ebs: Terminating the source AWS instance...
==> amazon-ebs: Cleaning up any extra volumes...
==> amazon-ebs: No volumes to clean up, skipping
==> amazon-ebs: Deleting temporary security group...
==> amazon-ebs: Deleting temporary keypair...
2019/08/29 11:14:56 [INFO] (telemetry) ending amazon-ebs
status code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1
Build 'amazon-ebs' errored: Error retrieving auto-generated instance password: RequestLimitExceeded: Request limit exceeded.
2019/08/29 11:14:56 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2019/08/29 11:14:56 machine readable: amazon-ebs,error []string{"Error retrieving auto-generated instance password: RequestLimitExceeded: Request limit exceeded.\n\tstatus code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1"}
status code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1
status code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1
==> Builds finished but no artifacts were created.
==> Some builds didn't complete successfully and had errors:
2019/08/29 11:14:56 [INFO] (telemetry) Finalizing.
--> amazon-ebs: Error retrieving auto-generated instance password: RequestLimitExceeded: Request limit exceeded.
status code: 503, request id: 3e05ebbf-2a87-4c20-9282-f6abb407afa1
==> Builds finished but no artifacts were created.
2019/08/29 11:14:56 waiting for all plugin processes to complete...
2019/08/29 11:14:56 /usr/local/bin/packer: plugin process exited
2019/08/29 11:14:56 /usr/local/bin/packer: plugin process exited
2019/08/29 11:14:56 /usr/local/bin/packer: plugin process exited
2019/08/29 11:14:56 /usr/local/bin/packer: plugin process exited
2019/08/29 11:14:56 /usr/local/bin/packer: plugin process exited
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment