Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save chriswayg/c24b4577d99842ebe658d1576736c825 to your computer and use it in GitHub Desktop.
Save chriswayg/c24b4577d99842ebe658d1576736c825 to your computer and use it in GitHub Desktop.
Packer crash when cancelling Proxmox builder
2019/08/27 21:02:34 [INFO] Packer version: 1.4.3
2019/08/27 21:02:34 Packer Target OS/Arch: linux amd64
2019/08/27 21:02:34 Built with Go Version: go1.12.8
2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 Using internal plugin for hcloud
2019/08/27 21:02:34 Using internal plugin for osc-bsu
2019/08/27 21:02:34 Using internal plugin for tencentcloud-cvm
2019/08/27 21:02:34 Using internal plugin for virtualbox-iso
2019/08/27 21:02:34 Using internal plugin for amazon-chroot
2019/08/27 21:02:34 Using internal plugin for azure-arm
2019/08/27 21:02:34 Using internal plugin for hyperone
2019/08/27 21:02:34 Using internal plugin for jdcloud
2019/08/27 21:02:34 Using internal plugin for oracle-oci
2019/08/27 21:02:34 Using internal plugin for osc-bsusurrogate
2019/08/27 21:02:34 Using internal plugin for ucloud-uhost
2019/08/27 21:02:34 Using internal plugin for amazon-ebs
2019/08/27 21:02:34 Using internal plugin for amazon-ebssurrogate
2019/08/27 21:02:34 Using internal plugin for amazon-ebsvolume
2019/08/27 21:02:34 Using internal plugin for amazon-instance
2019/08/27 21:02:34 Using internal plugin for lxc
2019/08/27 21:02:34 Using internal plugin for openstack
2019/08/27 21:02:34 Using internal plugin for parallels-iso
2019/08/27 21:02:34 Using internal plugin for scaleway
2019/08/27 21:02:34 Using internal plugin for alicloud-ecs
2019/08/27 21:02:34 Using internal plugin for file
2019/08/27 21:02:34 Using internal plugin for googlecompute
2019/08/27 21:02:34 Using internal plugin for hyperv-vmcx
2019/08/27 21:02:34 Using internal plugin for linode
2019/08/27 21:02:34 Using internal plugin for ncloud
2019/08/27 21:02:34 Using internal plugin for oneandone
2019/08/27 21:02:34 Using internal plugin for oracle-classic
2019/08/27 21:02:34 Using internal plugin for osc-bsuvolume
2019/08/27 21:02:34 Using internal plugin for profitbricks
2019/08/27 21:02:34 Using internal plugin for virtualbox-ovf
2019/08/27 21:02:34 Using internal plugin for digitalocean
2019/08/27 21:02:34 Using internal plugin for docker
2019/08/27 21:02:34 Using internal plugin for hyperv-iso
2019/08/27 21:02:34 Using internal plugin for qemu
2019/08/27 21:02:34 Using internal plugin for vagrant
2019/08/27 21:02:34 Using internal plugin for cloudstack
2019/08/27 21:02:34 Using internal plugin for vmware-iso
2019/08/27 21:02:34 Using internal plugin for vmware-vmx
2019/08/27 21:02:34 Using internal plugin for yandex
2019/08/27 21:02:34 Using internal plugin for lxd
2019/08/27 21:02:34 Using internal plugin for null
2019/08/27 21:02:34 Using internal plugin for proxmox
2019/08/27 21:02:34 Using internal plugin for osc-chroot
2019/08/27 21:02:34 Using internal plugin for parallels-pvm
2019/08/27 21:02:34 Using internal plugin for triton
2019/08/27 21:02:34 Using internal plugin for virtualbox-vm
2019/08/27 21:02:34 Using internal plugin for converge
2019/08/27 21:02:34 Using internal plugin for powershell
2019/08/27 21:02:34 Using internal plugin for shell
2019/08/27 21:02:34 Using internal plugin for windows-shell
2019/08/27 21:02:34 Using internal plugin for ansible-local
2019/08/27 21:02:34 Using internal plugin for chef-solo
2019/08/27 21:02:34 Using internal plugin for windows-restart
2019/08/27 21:02:34 Using internal plugin for chef-client
2019/08/27 21:02:34 Using internal plugin for file
2019/08/27 21:02:34 Using internal plugin for puppet-masterless
2019/08/27 21:02:34 Using internal plugin for ansible
2019/08/27 21:02:34 Using internal plugin for breakpoint
2019/08/27 21:02:34 Using internal plugin for inspec
2019/08/27 21:02:34 Using internal plugin for puppet-server
2019/08/27 21:02:34 Using internal plugin for salt-masterless
2019/08/27 21:02:34 Using internal plugin for shell-local
2019/08/27 21:02:34 Using internal plugin for sleep
2019/08/27 21:02:34 Using internal plugin for exoscale-import
2019/08/27 21:02:34 Using internal plugin for googlecompute-import
2019/08/27 21:02:34 Using internal plugin for vagrant-cloud
2019/08/27 21:02:34 Using internal plugin for vsphere
2019/08/27 21:02:34 Using internal plugin for artifice
2019/08/27 21:02:34 Using internal plugin for docker-import
2019/08/27 21:02:34 Using internal plugin for docker-push
2019/08/27 21:02:34 Using internal plugin for docker-save
2019/08/27 21:02:34 Using internal plugin for vagrant
2019/08/27 21:02:34 Using internal plugin for vsphere-template
2019/08/27 21:02:34 Using internal plugin for alicloud-import
2019/08/27 21:02:34 Using internal plugin for amazon-import
2019/08/27 21:02:34 Using internal plugin for digitalocean-import
2019/08/27 21:02:34 Using internal plugin for googlecompute-export
2019/08/27 21:02:34 Using internal plugin for shell-local
2019/08/27 21:02:34 Using internal plugin for checksum
2019/08/27 21:02:34 Using internal plugin for compress
2019/08/27 21:02:34 Using internal plugin for docker-tag
2019/08/27 21:02:34 Using internal plugin for manifest
2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 Attempting to open config file: /root/.packerconfig
2019/08/27 21:02:34 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 21:02:34 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/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 Loading builder: proxmox
2019/08/27 21:02:34 Plugin could not be found. Checking same directory as executable.
2019/08/27 21:02:34 Current exe path: /usr/local/bin/packer
2019/08/27 21:02:34 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 21:02:34 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-proxmox"}
2019/08/27 21:02:34 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 [INFO] Packer version: 1.4.3
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Packer Target OS/Arch: linux amd64
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Built with Go Version: go1.12.8
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Attempting to open config file: /root/.packerconfig
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 args: []string{"packer-builder-proxmox"}
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin minimum port: 10000
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin maximum port: 25000
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin address: unix /tmp/packer-plugin002460314
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Waiting for connection...
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Serving a plugin connection...
2019/08/27 21:02:34 Loading provisioner: shell
2019/08/27 21:02:34 Plugin could not be found. Checking same directory as executable.
2019/08/27 21:02:34 Current exe path: /usr/local/bin/packer
2019/08/27 21:02:34 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 21:02:34 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2019/08/27 21:02:34 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 [INFO] Packer version: 1.4.3
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Packer Target OS/Arch: linux amd64
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Built with Go Version: go1.12.8
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Attempting to open config file: /root/.packerconfig
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 args: []string{"packer-provisioner-shell"}
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin minimum port: 10000
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin maximum port: 25000
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin address: unix /tmp/packer-plugin957196214
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Waiting for connection...
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Serving a plugin connection...
2019/08/27 21:02:34 Loading post-processor: shell-local
2019/08/27 21:02:34 Plugin could not be found. Checking same directory as executable.
2019/08/27 21:02:34 Current exe path: /usr/local/bin/packer
2019/08/27 21:02:34 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 21:02:34 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-post-processor-shell-local"}
2019/08/27 21:02:34 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 [INFO] Packer version: 1.4.3
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Packer Target OS/Arch: linux amd64
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Built with Go Version: go1.12.8
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Attempting to open config file: /root/.packerconfig
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 args: []string{"packer-post-processor-shell-local"}
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin minimum port: 10000
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin maximum port: 25000
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Detected home directory from env var: /root
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Plugin address: unix /tmp/packer-plugin137778077
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Waiting for connection...
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Serving a plugin connection...
2019/08/27 21:02:34 ui: proxmox output will be in this color.
2019/08/27 21:02:34 ui:
2019/08/27 21:02:34 Build debug mode: false
2019/08/27 21:02:34 Force build: false
2019/08/27 21:02:34 On error: ask
2019/08/27 21:02:34 Preparing build: proxmox
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Number of sockets 0 is too small, using default: 1
2019/08/27 21:02:34 packer: 2019/08/27 21:02:34 Disk 0 cache mode not set, using default 'none'
2019/08/27 21:02:34 Waiting on builds to complete...
2019/08/27 21:02:34 Starting build run: proxmox
2019/08/27 21:02:34 Running builder: proxmox
2019/08/27 21:02:34 [INFO] (telemetry) Starting builder proxmox
2019/08/27 21:02:34 ui: ==> proxmox: Creating VM
2019/08/27 21:02:34 ui: ==> proxmox: Starting VM
2019/08/27 21:02:36 packer: 2019/08/27 21:02:36 Found available port: 8853 on IP: 0.0.0.0
2019/08/27 21:02:36 ui: ==> proxmox: Starting HTTP server on port 8853
2019/08/27 21:02:36 ui: ==> proxmox: Waiting 10s for boot
2019/08/27 21:02:42 packer: 2019/08/27 21:02:42 Received interrupt signal (count: 1). Ignoring.
2019/08/27 21:02:42 packer: 2019/08/27 21:02:42 Received interrupt signal (count: 1). Ignoring.
2019/08/27 21:02:42 ui error: Cancelling build after receiving interrupt
2019/08/27 21:02:42 Cancelling builder after context cancellation context canceled
2019/08/27 21:02:42 packer: 2019/08/27 21:02:42 Received interrupt signal (count: 1). Ignoring.
2019/08/27 21:02:42 ui: ==> proxmox: Step "stepTypeBootCommand" failed
2019/08/27 21:02:42 ui: ask: ==> proxmox: [c] Clean up and exit, [a] abort without cleanup, or [r] retry step (build may fail even if retry succeeds)?
2019/08/27 21:02:54 ui: ==> proxmox: Stopping VM
2019/08/27 21:02:56 ui: ==> proxmox: Deleting VM
2019/08/27 21:02:56 packer: panic: interface conversion: interface {} is nil, not int
2019/08/27 21:02:56 packer:
2019/08/27 21:02:56 packer: goroutine 82 [running]:
2019/08/27 21:02:56 packer: github.com/hashicorp/packer/builder/proxmox.(*Builder).Run(0xc0003ee480, 0x3fadba0, 0xc000644080, 0x3fc97a0, 0xc00063e040, 0x3f46f40, 0xc00064a010, 0x40b9b9, 0xc000610090, 0x30, ...)
2019/08/27 21:02:56 packer: /Users/mmarsh/Projects/packer/builder/proxmox/builder.go:94 +0xdb9
2019/08/27 21:02:56 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc0004603f0, 0x1, 0xc00060e020, 0x0, 0x0)
2019/08/27 21:02:56 packer: /Users/mmarsh/Projects/packer/packer/rpc/builder.go:109 +0x231
2019/08/27 21:02:56 packer: reflect.Value.call(0xc0000a06c0, 0xc00000e0d0, 0x13, 0x3998dd5, 0x4, 0xc000122f18, 0x3, 0x3, 0xc00060a000, 0x3, ...)
2019/08/27 21:02:56 packer: /usr/local/go/src/reflect/value.go:447 +0x461
2019/08/27 21:02:56 packer: reflect.Value.Call(0xc0000a06c0, 0xc00000e0d0, 0x13, 0xc0005d4718, 0x3, 0x3, 0xc0001aea20, 0xc0005d4730, 0x404e35)
2019/08/27 21:02:56 packer: /usr/local/go/src/reflect/value.go:308 +0xa4
2019/08/27 21:02:56 packer: net/rpc.(*service).call(0xc0002ca680, 0xc000148050, 0xc000392078, 0xc000392080, 0xc000160100, 0xc000168140, 0x2ecd180, 0xc00060e01c, 0x18a, 0x2e1fce0, ...)
2019/08/27 21:02:56 packer: /usr/local/go/src/net/rpc/server.go:384 +0x14e
2019/08/27 21:02:56 packer: created by net/rpc.(*Server).ServeCodec
2019/08/27 21:02:56 packer: /usr/local/go/src/net/rpc/server.go:481 +0x42b
2019/08/27 21:02:56 /usr/local/bin/packer: plugin process exited
2019/08/27 21:02:56 [INFO] (telemetry) ending proxmox
2019/08/27 21:02:56 ui error: Build 'proxmox' errored: unexpected EOF
2019/08/27 21:02:56 ui: Cleanly cancelled builds after being interrupted.
2019/08/27 21:02:56 [INFO] (telemetry) Finalizing.
2019/08/27 21:02:56 waiting for all plugin processes to complete...
2019/08/27 21:02:56 /usr/local/bin/packer: plugin process exited
2019/08/27 21:02:56 /usr/local/bin/packer: plugin process exited
2019/08/27 23:21:08 [INFO] Packer version: 1.4.3
2019/08/27 23:21:08 Packer Target OS/Arch: linux amd64
2019/08/27 23:21:08 Built with Go Version: go1.12.8
2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 Using internal plugin for amazon-chroot
2019/08/27 23:21:08 Using internal plugin for lxc
2019/08/27 23:21:08 Using internal plugin for osc-chroot
2019/08/27 23:21:08 Using internal plugin for hyperv-vmcx
2019/08/27 23:21:08 Using internal plugin for virtualbox-vm
2019/08/27 23:21:08 Using internal plugin for openstack
2019/08/27 23:21:08 Using internal plugin for qemu
2019/08/27 23:21:08 Using internal plugin for scaleway
2019/08/27 23:21:08 Using internal plugin for vmware-iso
2019/08/27 23:21:08 Using internal plugin for lxd
2019/08/27 23:21:08 Using internal plugin for osc-bsu
2019/08/27 23:21:08 Using internal plugin for triton
2019/08/27 23:21:08 Using internal plugin for ucloud-uhost
2019/08/27 23:21:08 Using internal plugin for amazon-ebsvolume
2019/08/27 23:21:08 Using internal plugin for amazon-instance
2019/08/27 23:21:08 Using internal plugin for googlecompute
2019/08/27 23:21:08 Using internal plugin for hyperone
2019/08/27 23:21:08 Using internal plugin for jdcloud
2019/08/27 23:21:08 Using internal plugin for ncloud
2019/08/27 23:21:08 Using internal plugin for null
2019/08/27 23:21:08 Using internal plugin for tencentcloud-cvm
2019/08/27 23:21:08 Using internal plugin for docker
2019/08/27 23:21:08 Using internal plugin for file
2019/08/27 23:21:08 Using internal plugin for hcloud
2019/08/27 23:21:08 Using internal plugin for hyperv-iso
2019/08/27 23:21:08 Using internal plugin for virtualbox-iso
2019/08/27 23:21:08 Using internal plugin for vmware-vmx
2019/08/27 23:21:08 Using internal plugin for osc-bsuvolume
2019/08/27 23:21:08 Using internal plugin for azure-arm
2019/08/27 23:21:08 Using internal plugin for cloudstack
2019/08/27 23:21:08 Using internal plugin for oracle-classic
2019/08/27 23:21:08 Using internal plugin for osc-bsusurrogate
2019/08/27 23:21:08 Using internal plugin for amazon-ebs
2019/08/27 23:21:08 Using internal plugin for digitalocean
2019/08/27 23:21:08 Using internal plugin for profitbricks
2019/08/27 23:21:08 Using internal plugin for proxmox
2019/08/27 23:21:08 Using internal plugin for oracle-oci
2019/08/27 23:21:08 Using internal plugin for parallels-iso
2019/08/27 23:21:08 Using internal plugin for parallels-pvm
2019/08/27 23:21:08 Using internal plugin for vagrant
2019/08/27 23:21:08 Using internal plugin for alicloud-ecs
2019/08/27 23:21:08 Using internal plugin for amazon-ebssurrogate
2019/08/27 23:21:08 Using internal plugin for linode
2019/08/27 23:21:08 Using internal plugin for oneandone
2019/08/27 23:21:08 Using internal plugin for virtualbox-ovf
2019/08/27 23:21:08 Using internal plugin for yandex
2019/08/27 23:21:08 Using internal plugin for ansible
2019/08/27 23:21:08 Using internal plugin for chef-client
2019/08/27 23:21:08 Using internal plugin for chef-solo
2019/08/27 23:21:08 Using internal plugin for converge
2019/08/27 23:21:08 Using internal plugin for inspec
2019/08/27 23:21:08 Using internal plugin for salt-masterless
2019/08/27 23:21:08 Using internal plugin for ansible-local
2019/08/27 23:21:08 Using internal plugin for breakpoint
2019/08/27 23:21:08 Using internal plugin for shell
2019/08/27 23:21:08 Using internal plugin for sleep
2019/08/27 23:21:08 Using internal plugin for puppet-masterless
2019/08/27 23:21:08 Using internal plugin for puppet-server
2019/08/27 23:21:08 Using internal plugin for shell-local
2019/08/27 23:21:08 Using internal plugin for windows-restart
2019/08/27 23:21:08 Using internal plugin for file
2019/08/27 23:21:08 Using internal plugin for powershell
2019/08/27 23:21:08 Using internal plugin for windows-shell
2019/08/27 23:21:08 Using internal plugin for alicloud-import
2019/08/27 23:21:08 Using internal plugin for docker-tag
2019/08/27 23:21:08 Using internal plugin for exoscale-import
2019/08/27 23:21:08 Using internal plugin for shell-local
2019/08/27 23:21:08 Using internal plugin for amazon-import
2019/08/27 23:21:08 Using internal plugin for artifice
2019/08/27 23:21:08 Using internal plugin for compress
2019/08/27 23:21:08 Using internal plugin for docker-save
2019/08/27 23:21:08 Using internal plugin for manifest
2019/08/27 23:21:08 Using internal plugin for docker-import
2019/08/27 23:21:08 Using internal plugin for googlecompute-import
2019/08/27 23:21:08 Using internal plugin for vagrant-cloud
2019/08/27 23:21:08 Using internal plugin for vsphere
2019/08/27 23:21:08 Using internal plugin for vsphere-template
2019/08/27 23:21:08 Using internal plugin for checksum
2019/08/27 23:21:08 Using internal plugin for digitalocean-import
2019/08/27 23:21:08 Using internal plugin for docker-push
2019/08/27 23:21:08 Using internal plugin for googlecompute-export
2019/08/27 23:21:08 Using internal plugin for vagrant
2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 Attempting to open config file: /root/.packerconfig
2019/08/27 23:21:08 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 23:21:08 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/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 Loading builder: proxmox
2019/08/27 23:21:08 Plugin could not be found. Checking same directory as executable.
2019/08/27 23:21:08 Current exe path: /usr/local/bin/packer
2019/08/27 23:21:08 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 23:21:08 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-proxmox"}
2019/08/27 23:21:08 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 [INFO] Packer version: 1.4.3
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Packer Target OS/Arch: linux amd64
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Built with Go Version: go1.12.8
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Attempting to open config file: /root/.packerconfig
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 args: []string{"packer-builder-proxmox"}
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin minimum port: 10000
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin maximum port: 25000
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin address: unix /tmp/packer-plugin720091130
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Waiting for connection...
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Serving a plugin connection...
2019/08/27 23:21:08 Loading provisioner: shell
2019/08/27 23:21:08 Plugin could not be found. Checking same directory as executable.
2019/08/27 23:21:08 Current exe path: /usr/local/bin/packer
2019/08/27 23:21:08 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 23:21:08 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2019/08/27 23:21:08 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 [INFO] Packer version: 1.4.3
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Packer Target OS/Arch: linux amd64
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Built with Go Version: go1.12.8
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Attempting to open config file: /root/.packerconfig
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 args: []string{"packer-provisioner-shell"}
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin minimum port: 10000
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin maximum port: 25000
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin address: unix /tmp/packer-plugin022902656
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Waiting for connection...
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Serving a plugin connection...
2019/08/27 23:21:08 Loading post-processor: shell-local
2019/08/27 23:21:08 Plugin could not be found. Checking same directory as executable.
2019/08/27 23:21:08 Current exe path: /usr/local/bin/packer
2019/08/27 23:21:08 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 23:21:08 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-post-processor-shell-local"}
2019/08/27 23:21:08 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 [INFO] Packer version: 1.4.3
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Packer Target OS/Arch: linux amd64
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Built with Go Version: go1.12.8
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Attempting to open config file: /root/.packerconfig
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Setting cache directory: /root/packer-projects/debian-10.0.0-x86_64-proxmox/packer_cache
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 args: []string{"packer-post-processor-shell-local"}
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Detected home directory from env var: /root
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin minimum port: 10000
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin maximum port: 25000
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Plugin address: unix /tmp/packer-plugin163012059
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Waiting for connection...
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Serving a plugin connection...
2019/08/27 23:21:08 ui: proxmox output will be in this color.
2019/08/27 23:21:08 ui:
2019/08/27 23:21:08 Build debug mode: false
2019/08/27 23:21:08 Force build: false
2019/08/27 23:21:08 On error:
2019/08/27 23:21:08 Preparing build: proxmox
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Number of sockets 0 is too small, using default: 1
2019/08/27 23:21:08 packer: 2019/08/27 23:21:08 Disk 0 cache mode not set, using default 'none'
2019/08/27 23:21:08 Waiting on builds to complete...
2019/08/27 23:21:08 Starting build run: proxmox
2019/08/27 23:21:08 Running builder: proxmox
2019/08/27 23:21:08 [INFO] (telemetry) Starting builder proxmox
2019/08/27 23:21:08 ui: ==> proxmox: Creating VM
2019/08/27 23:21:09 ui: ==> proxmox: Starting VM
2019/08/27 23:21:11 packer: 2019/08/27 23:21:11 Found available port: 8161 on IP: 0.0.0.0
2019/08/27 23:21:11 ui: ==> proxmox: Starting HTTP server on port 8161
2019/08/27 23:21:11 ui: ==> proxmox: Waiting 10s for boot
2019/08/27 23:21:14 ui error: Cancelling build after receiving interrupt
2019/08/27 23:21:14 packer: 2019/08/27 23:21:14 Received interrupt signal (count: 1). Ignoring.
2019/08/27 23:21:14 Cancelling builder after context cancellation context canceled
2019/08/27 23:21:14 packer: 2019/08/27 23:21:14 Received interrupt signal (count: 1). Ignoring.
2019/08/27 23:21:14 packer: 2019/08/27 23:21:14 Received interrupt signal (count: 1). Ignoring.
2019/08/27 23:21:14 ui: ==> proxmox: Stopping VM
2019/08/27 23:21:16 ui: ==> proxmox: Deleting VM
2019/08/27 23:21:16 packer: panic: interface conversion: interface {} is nil, not int
2019/08/27 23:21:16 packer:
2019/08/27 23:21:16 packer: goroutine 70 [running]:
2019/08/27 23:21:16 packer: github.com/hashicorp/packer/builder/proxmox.(*Builder).Run(0xc0004b8900, 0x3fadba0, 0xc000629dc0, 0x3fc97a0, 0xc0004db500, 0x3f46f40, 0xc00047af10, 0x40b9b9, 0xc000610090, 0x30, ...)
2019/08/27 23:21:16 packer: /Users/mmarsh/Projects/packer/builder/proxmox/builder.go:94 +0xdb9
2019/08/27 23:21:16 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc000389e60, 0x1, 0xc00060e020, 0x0, 0x0)
2019/08/27 23:21:16 packer: /Users/mmarsh/Projects/packer/packer/rpc/builder.go:109 +0x231
2019/08/27 23:21:16 packer: reflect.Value.call(0xc0005831a0, 0xc000586230, 0x13, 0x3998dd5, 0x4, 0xc0000d5f18, 0x3, 0x3, 0xc000396240, 0x3, ...)
2019/08/27 23:21:16 packer: /usr/local/go/src/reflect/value.go:447 +0x461
2019/08/27 23:21:16 packer: reflect.Value.Call(0xc0005831a0, 0xc000586230, 0x13, 0xc0005f1f18, 0x3, 0x3, 0xc00005bf20, 0xc0005f1f30, 0x404e35)
2019/08/27 23:21:16 packer: /usr/local/go/src/reflect/value.go:308 +0xa4
2019/08/27 23:21:16 packer: net/rpc.(*service).call(0xc00005c580, 0xc0005948c0, 0xc00039dfe8, 0xc00039dff0, 0xc0003a2480, 0xc00000c100, 0x2ecd180, 0xc00060e01c, 0x18a, 0x2e1fce0, ...)
2019/08/27 23:21:16 packer: /usr/local/go/src/net/rpc/server.go:384 +0x14e
2019/08/27 23:21:16 packer: created by net/rpc.(*Server).ServeCodec
2019/08/27 23:21:16 packer: /usr/local/go/src/net/rpc/server.go:481 +0x42b
2019/08/27 23:21:16 [INFO] (telemetry) ending proxmox
2019/08/27 23:21:16 ui error: Build 'proxmox' errored: unexpected EOF
2019/08/27 23:21:16 /usr/local/bin/packer: plugin process exited
2019/08/27 23:21:16 ui: Cleanly cancelled builds after being interrupted.
2019/08/27 23:21:16 [INFO] (telemetry) Finalizing.
2019/08/27 23:21:16 waiting for all plugin processes to complete...
2019/08/27 23:21:16 /usr/local/bin/packer: plugin process exited
2019/08/27 23:21:16 /usr/local/bin/packer: plugin process exited
  • debian-10.0.0-x86_64-proxmox.json
{
    "description": "Build Debian 10.0 (buster) x86_64 Proxmox template",
    "variables": {
        "prox_vm_id": "33000",
        "prox_vm_name": "deb10-packer",
        "prox_vm_description": "Debian 10.0 x86_64 Proxmox template built with packer",
        "vm_hostname": "debian10",
        "prox_username": "root@pam",
        "prox_password": "{{user `prox_pass`}}",
        "ssh_password": "{{user `ssh_pass`}}"
    },
    "sensitive-variables": ["prox_password", "prox_pass", "ssh_password","ssh_pass"],
    "provisioners": [
        {
            "type": "shell",
            "execute_command": "echo 'debian' | sudo -S sh '{{.Path}}'",
            "scripts": [
                "scripts/00base.sh",
                "scripts/01networking.sh",
                "scripts/02sshd.sh",
                "scripts/04sudoers.sh",
                "scripts/05customize.sh",
                "scripts/06cloud.sh",
                "scripts/90cleanup.sh",
                "scripts/99minimize.sh"
            ]
        }
    ],
    "builders": [
        {
            "type": "proxmox",
            "proxmox_url": "https://proxmox.lightinasia.site:8006/api2/json",
            "insecure_skip_tls_verify": true,
            "username": "{{user `prox_username`}}",
            "password": "{{user `prox_password`}}",
            "vm_id":  "{{user `prox_vm_id`}}",
            "vm_name": "{{user `prox_vm_name`}}",
            "template_description":"{{user `prox_vm_description`}}",
            "memory": "1024",
            "cores": "2",
            "os": "l26",
            "http_directory": "http",

            "node": "proxmox",
            "network_adapters": [
              {
                "model": "virtio",
                "bridge": "vmbr1"
              }
            ],
            "disks": [
              {
                "type": "scsi",
                "disk_size": "8G",
                "storage_pool": "local",
                "storage_pool_type": "directory",
                "format": "qcow2"
              }
            ],

            "iso_file": "local:iso/debian-10.0.0-amd64-netinst.iso",

            "ssh_username": "debian",
            "ssh_password": "{{user `ssh_password`}}",
            "ssh_port": 22,
            "ssh_timeout": "15m",
            "boot_wait": "10s",
            "boot_command": [
                "<esc><wait>",
                "install<wait>",
                " preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed.cfg<wait>",
                " debian-installer=en_US<wait>",
                " auto locale=en_US.UTF-8<wait>",
                " kbd-chooser/method=us<wait>",
                " keyboard-configuration/xkb-keymap=us<wait>",
                " netcfg/get_hostname={{user `vm_hostname`}}<wait>",
                " netcfg/get_domain=unassigned.domain<wait>",
                " fb=false<wait>",
                " debconf/frontend=noninteractive<wait>",
                " console-setup/ask_detect=false<wait>",
                " console-setup/charmap47=UTF-8",
                " console-keymaps-at/keymap=us<wait>",
                "<enter><wait>"
            ]
        }
    ],
    "post-processors": [
      {
        "type": "shell-local",
        "inline_shebang": "/bin/bash -e",
        "inline": ["qm set {{user `prox_vm_id`}} --scsihw virtio-scsi-pci --serial0 socket --vga serial0"]
      }
  ]
}
  • crash.5.log
9/08/27 12:00:03 [INFO] Packer version: 1.4.3
2019/08/27 12:00:03 Packer Target OS/Arch: linux amd64
2019/08/27 12:00:03 Built with Go Version: go1.12.8
2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 Using internal plugin for parallels-pvm
2019/08/27 12:00:03 Using internal plugin for triton
2019/08/27 12:00:03 Using internal plugin for virtualbox-ovf
2019/08/27 12:00:03 Using internal plugin for amazon-ebsvolume
2019/08/27 12:00:03 Using internal plugin for lxc
2019/08/27 12:00:03 Using internal plugin for lxd
2019/08/27 12:00:03 Using internal plugin for ncloud
2019/08/27 12:00:03 Using internal plugin for amazon-ebs
2019/08/27 12:00:03 Using internal plugin for hyperv-vmcx
2019/08/27 12:00:03 Using internal plugin for oracle-classic
2019/08/27 12:00:03 Using internal plugin for alicloud-ecs
2019/08/27 12:00:03 Using internal plugin for cloudstack
2019/08/27 12:00:03 Using internal plugin for digitalocean
2019/08/27 12:00:03 Using internal plugin for osc-bsusurrogate
2019/08/27 12:00:03 Using internal plugin for virtualbox-iso
2019/08/27 12:00:03 Using internal plugin for vmware-iso
2019/08/27 12:00:03 Using internal plugin for amazon-ebssurrogate
2019/08/27 12:00:03 Using internal plugin for osc-bsu
2019/08/27 12:00:03 Using internal plugin for osc-chroot
2019/08/27 12:00:03 Using internal plugin for parallels-iso
2019/08/27 12:00:03 Using internal plugin for hcloud
2019/08/27 12:00:03 Using internal plugin for linode
2019/08/27 12:00:03 Using internal plugin for null
2019/08/27 12:00:03 Using internal plugin for scaleway
2019/08/27 12:00:03 Using internal plugin for amazon-chroot
2019/08/27 12:00:03 Using internal plugin for amazon-instance
2019/08/27 12:00:03 Using internal plugin for azure-arm
2019/08/27 12:00:03 Using internal plugin for docker
2019/08/27 12:00:03 Using internal plugin for proxmox
2019/08/27 12:00:03 Using internal plugin for qemu
2019/08/27 12:00:03 Using internal plugin for vagrant
2019/08/27 12:00:03 Using internal plugin for vmware-vmx
2019/08/27 12:00:03 Using internal plugin for googlecompute
2019/08/27 12:00:03 Using internal plugin for oneandone
2019/08/27 12:00:03 Using internal plugin for osc-bsuvolume
2019/08/27 12:00:03 Using internal plugin for profitbricks
2019/08/27 12:00:03 Using internal plugin for yandex
2019/08/27 12:00:03 Using internal plugin for file
2019/08/27 12:00:03 Using internal plugin for hyperone
2019/08/27 12:00:03 Using internal plugin for hyperv-iso
2019/08/27 12:00:03 Using internal plugin for tencentcloud-cvm
2019/08/27 12:00:03 Using internal plugin for virtualbox-vm
2019/08/27 12:00:03 Using internal plugin for jdcloud
2019/08/27 12:00:03 Using internal plugin for openstack
2019/08/27 12:00:03 Using internal plugin for oracle-oci
2019/08/27 12:00:03 Using internal plugin for ucloud-uhost
2019/08/27 12:00:03 Using internal plugin for ansible-local
2019/08/27 12:00:03 Using internal plugin for chef-solo
2019/08/27 12:00:03 Using internal plugin for inspec
2019/08/27 12:00:03 Using internal plugin for powershell
2019/08/27 12:00:03 Using internal plugin for shell
2019/08/27 12:00:03 Using internal plugin for chef-client
2019/08/27 12:00:03 Using internal plugin for file
2019/08/27 12:00:03 Using internal plugin for shell-local
2019/08/27 12:00:03 Using internal plugin for ansible
2019/08/27 12:00:03 Using internal plugin for breakpoint
2019/08/27 12:00:03 Using internal plugin for puppet-masterless
2019/08/27 12:00:03 Using internal plugin for puppet-server
2019/08/27 12:00:03 Using internal plugin for windows-restart
2019/08/27 12:00:03 Using internal plugin for windows-shell
2019/08/27 12:00:03 Using internal plugin for converge
2019/08/27 12:00:03 Using internal plugin for salt-masterless
2019/08/27 12:00:03 Using internal plugin for sleep
2019/08/27 12:00:03 Using internal plugin for manifest
2019/08/27 12:00:03 Using internal plugin for alicloud-import
2019/08/27 12:00:03 Using internal plugin for artifice
2019/08/27 12:00:03 Using internal plugin for checksum
2019/08/27 12:00:03 Using internal plugin for compress
2019/08/27 12:00:03 Using internal plugin for docker-push
2019/08/27 12:00:03 Using internal plugin for digitalocean-import
2019/08/27 12:00:03 Using internal plugin for docker-import
2019/08/27 12:00:03 Using internal plugin for docker-tag
2019/08/27 12:00:03 Using internal plugin for googlecompute-export
2019/08/27 12:00:03 Using internal plugin for vagrant-cloud
2019/08/27 12:00:03 Using internal plugin for amazon-import
2019/08/27 12:00:03 Using internal plugin for shell-local
2019/08/27 12:00:03 Using internal plugin for vsphere
2019/08/27 12:00:03 Using internal plugin for docker-save
2019/08/27 12:00:03 Using internal plugin for exoscale-import
2019/08/27 12:00:03 Using internal plugin for googlecompute-import
2019/08/27 12:00:03 Using internal plugin for vagrant
2019/08/27 12:00:03 Using internal plugin for vsphere-template
2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 Attempting to open config file: /root/.packerconfig
2019/08/27 12:00:03 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 12:00:03 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/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 Setting cache directory: /root/packer-projects/debian10.0-proxmox/packer_cache
2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 Loading builder: proxmox
2019/08/27 12:00:03 Plugin could not be found. Checking same directory as executable.
2019/08/27 12:00:03 Current exe path: /usr/local/bin/packer
2019/08/27 12:00:03 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 12:00:03 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-builder-proxmox"}
2019/08/27 12:00:03 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 [INFO] Packer version: 1.4.3
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Packer Target OS/Arch: linux amd64
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Built with Go Version: go1.12.8
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Attempting to open config file: /root/.packerconfig
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Setting cache directory: /root/packer-projects/debian10.0-proxmox/packer_cache
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 args: []string{"packer-builder-proxmox"}
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Plugin minimum port: 10000
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Plugin maximum port: 25000
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Plugin address: unix /tmp/packer-plugin200508016
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Waiting for connection...
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Serving a plugin connection...
2019/08/27 12:00:03 Loading provisioner: shell
2019/08/27 12:00:03 Plugin could not be found. Checking same directory as executable.
2019/08/27 12:00:03 Current exe path: /usr/local/bin/packer
2019/08/27 12:00:03 Creating plugin client for path: /usr/local/bin/packer
2019/08/27 12:00:03 Starting plugin: /usr/local/bin/packer []string{"/usr/local/bin/packer", "plugin", "packer-provisioner-shell"}
2019/08/27 12:00:03 Waiting for RPC address for: /usr/local/bin/packer
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 [INFO] Packer version: 1.4.3
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Packer Target OS/Arch: linux amd64
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Built with Go Version: go1.12.8
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Attempting to open config file: /root/.packerconfig
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 [WARN] Config file doesn't exist: /root/.packerconfig
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Packer config: &{DisableCheckpoint:false DisableCheckpointSignature:false PluginMinPort:10000 PluginMaxPort:25000 Builders:map[] PostProcessors:map[] Provisioners:map[]}
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Setting cache directory: /root/packer-projects/debian10.0-proxmox/packer_cache
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Detected home directory from env var: /root
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 args: []string{"packer-provisioner-shell"}
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Plugin minimum port: 10000
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Plugin maximum port: 25000
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Plugin address: unix /tmp/packer-plugin867202678
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Waiting for connection...
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Serving a plugin connection...
2019/08/27 12:00:03 ui: �[1;32mproxmox output will be in this color.�[0m
2019/08/27 12:00:03 ui: 
2019/08/27 12:00:03 Build debug mode: false
2019/08/27 12:00:03 Force build: false
2019/08/27 12:00:03 On error: 
2019/08/27 12:00:03 Preparing build: proxmox
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Number of sockets 0 is too small, using default: 1
2019/08/27 12:00:03 packer: 2019/08/27 12:00:03 Disk 0 cache mode not set, using default 'none'
2019/08/27 12:00:03 Waiting on builds to complete...
2019/08/27 12:00:03 Starting build run: proxmox
2019/08/27 12:00:03 Running builder: proxmox
2019/08/27 12:00:03 [INFO] (telemetry) Starting builder proxmox
2019/08/27 12:00:03 ui: �[1;32m==> proxmox: Creating VM�[0m
2019/08/27 12:00:04 ui: �[1;32m==> proxmox: Starting VM�[0m
2019/08/27 12:00:06 packer: 2019/08/27 12:00:06 Found available port: 8056 on IP: 0.0.0.0
2019/08/27 12:00:06 ui: �[1;32m==> proxmox: Starting HTTP server on port 8056�[0m
2019/08/27 12:00:06 ui: �[1;32m==> proxmox: Waiting 10s for boot�[0m
2019/08/27 12:00:16 ui: �[1;32m==> proxmox: Typing the boot command�[0m
2019/08/27 12:00:16 packer: 2019/08/27 12:00:16 [INFO] Waiting 1s
2019/08/27 12:00:18 packer: 2019/08/27 12:00:18 [INFO] Waiting 1s
2019/08/27 12:00:25 packer: 2019/08/27 12:00:25 [INFO] Waiting 1s
2019/08/27 12:00:28 packer: 2019/08/27 12:00:28 [INFO] Waiting 1s
2019/08/27 12:00:32 packer: 2019/08/27 12:00:32 [INFO] Waiting 1s
2019/08/27 12:00:35 packer: 2019/08/27 12:00:35 [INFO] Waiting 1s
2019/08/27 12:00:41 packer: 2019/08/27 12:00:41 [INFO] Waiting 1s
2019/08/27 12:00:45 packer: 2019/08/27 12:00:45 [INFO] Waiting 1s
2019/08/27 12:00:50 packer: 2019/08/27 12:00:50 [INFO] Waiting 1s
2019/08/27 12:00:52 packer: 2019/08/27 12:00:52 [INFO] Waiting 1s
2019/08/27 12:00:57 packer: 2019/08/27 12:00:57 [INFO] Waiting 1s
2019/08/27 12:01:02 packer: 2019/08/27 12:01:02 [INFO] Waiting 1s
2019/08/27 12:01:09 packer: 2019/08/27 12:01:09 [INFO] Waiting 1s
2019/08/27 12:01:10 packer: 2019/08/27 12:01:10 [INFO] Waiting 1s
2019/08/27 12:01:14 packer: 2019/08/27 12:01:14 [DEBUG] Unable to get address during connection step: 500 QEMU guest agent is not running
2019/08/27 12:01:14 packer: 2019/08/27 12:01:14 [INFO] Waiting for SSH, up to timeout: 15m0s
2019/08/27 12:01:14 ui: �[1;32m==> proxmox: Waiting for SSH to become available...�[0m
2019/08/27 12:01:17 packer: 2019/08/27 12:01:17 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:01:25 packer: 2019/08/27 12:01:25 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:01:34 packer: 2019/08/27 12:01:34 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:01:42 packer: 2019/08/27 12:01:42 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:01:50 packer: 2019/08/27 12:01:50 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:01:58 packer: 2019/08/27 12:01:58 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:06 packer: 2019/08/27 12:02:06 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:14 packer: 2019/08/27 12:02:14 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:22 packer: 2019/08/27 12:02:22 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:30 packer: 2019/08/27 12:02:30 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:38 packer: 2019/08/27 12:02:38 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:46 packer: 2019/08/27 12:02:46 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:02:54 packer: 2019/08/27 12:02:54 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:02 packer: 2019/08/27 12:03:02 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:10 packer: 2019/08/27 12:03:10 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:18 packer: 2019/08/27 12:03:18 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:26 packer: 2019/08/27 12:03:26 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:34 packer: 2019/08/27 12:03:34 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:42 packer: 2019/08/27 12:03:42 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:50 packer: 2019/08/27 12:03:50 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:03:58 packer: 2019/08/27 12:03:58 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:06 packer: 2019/08/27 12:04:06 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:14 packer: 2019/08/27 12:04:14 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:22 packer: 2019/08/27 12:04:22 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:30 packer: 2019/08/27 12:04:30 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:38 packer: 2019/08/27 12:04:38 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:46 packer: 2019/08/27 12:04:46 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:04:54 packer: 2019/08/27 12:04:54 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:02 packer: 2019/08/27 12:05:02 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:10 packer: 2019/08/27 12:05:10 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:18 packer: 2019/08/27 12:05:18 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:26 packer: 2019/08/27 12:05:26 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:34 packer: 2019/08/27 12:05:34 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:42 packer: 2019/08/27 12:05:42 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:50 packer: 2019/08/27 12:05:50 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:05:58 packer: 2019/08/27 12:05:58 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:06 packer: 2019/08/27 12:06:06 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:14 packer: 2019/08/27 12:06:14 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:22 packer: 2019/08/27 12:06:22 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:30 packer: 2019/08/27 12:06:30 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:38 packer: 2019/08/27 12:06:38 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:46 packer: 2019/08/27 12:06:46 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:06:54 packer: 2019/08/27 12:06:54 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:02 packer: 2019/08/27 12:07:02 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:10 packer: 2019/08/27 12:07:10 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:18 packer: 2019/08/27 12:07:18 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:26 packer: 2019/08/27 12:07:26 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:34 packer: 2019/08/27 12:07:34 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:42 packer: 2019/08/27 12:07:42 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:50 packer: 2019/08/27 12:07:50 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:57 ui error: Cancelling build after receiving interrupt
2019/08/27 12:07:57 packer: 2019/08/27 12:07:57 Received interrupt signal (count: 1). Ignoring.
2019/08/27 12:07:57 Cancelling builder after context cancellation context canceled
2019/08/27 12:07:57 packer: 2019/08/27 12:07:57 Received interrupt signal (count: 1). Ignoring.
2019/08/27 12:07:57 packer: 2019/08/27 12:07:57 [WARN] Interrupt detected, quitting waiting for SSH.
2019/08/27 12:07:57 ui: �[1;32m==> proxmox: Stopping VM�[0m
2019/08/27 12:07:57 packer: 2019/08/27 12:07:57 [DEBUG] Error getting SSH address: 500 QEMU guest agent is not running
2019/08/27 12:07:57 packer: 2019/08/27 12:07:57 [DEBUG] SSH wait cancelled. Exiting loop.
2019/08/27 12:07:59 ui: �[1;32m==> proxmox: Deleting VM�[0m
2019/08/27 12:08:01 packer: panic: interface conversion: interface {} is nil, not int
2019/08/27 12:08:01 packer: 
2019/08/27 12:08:01 packer: goroutine 160 [running]:
2019/08/27 12:08:01 packer: github.com/hashicorp/packer/builder/proxmox.(*Builder).Run(0xc000385b00, 0x3fadba0, 0xc0005da040, 0x3fc97a0, 0xc0005d6040, 0x3f46f40, 0xc0005fe010, 0x40b9b9, 0xc0005f8b70, 0x30, ...)
2019/08/27 12:08:01 packer: 	/Users/mmarsh/Projects/packer/builder/proxmox/builder.go:94 +0xdb9
2019/08/27 12:08:01 packer: github.com/hashicorp/packer/packer/rpc.(*BuilderServer).Run(0xc0004722d0, 0x1, 0xc00058d2d0, 0x0, 0x0)
2019/08/27 12:08:01 packer: 	/Users/mmarsh/Projects/packer/packer/rpc/builder.go:109 +0x231
2019/08/27 12:08:01 packer: reflect.Value.call(0xc000594360, 0xc0003a6220, 0x13, 0x3998dd5, 0x4, 0xc0000d8f18, 0x3, 0x3, 0xc00005c200, 0x0, ...)
2019/08/27 12:08:01 packer: 	/usr/local/go/src/reflect/value.go:447 +0x461
2019/08/27 12:08:01 packer: reflect.Value.Call(0xc000594360, 0xc0003a6220, 0x13, 0xc00051ff18, 0x3, 0x3, 0x0, 0x0, 0x0)
2019/08/27 12:08:01 packer: 	/usr/local/go/src/reflect/value.go:308 +0xa4
2019/08/27 12:08:01 packer: net/rpc.(*service).call(0xc0003a40c0, 0xc0000e40a0, 0xc0000500c8, 0xc0000500d0, 0xc00016c100, 0xc00000c1e0, 0x2ecd180, 0xc00058d2ac, 0x18a, 0x2e1fce0, ...)
2019/08/27 12:08:01 packer: 	/usr/local/go/src/net/rpc/server.go:384 +0x14e
2019/08/27 12:08:01 packer: created by net/rpc.(*Server).ServeCodec
2019/08/27 12:08:01 packer: 	/usr/local/go/src/net/rpc/server.go:481 +0x42b
2019/08/27 12:08:01 [INFO] (telemetry) ending proxmox
2019/08/27 12:08:01 ui error: �[1;31mBuild 'proxmox' errored: unexpected EOF�[0m
2019/08/27 12:08:01 ui: Cleanly cancelled builds after being interrupted.
2019/08/27 12:08:01 /usr/local/bin/packer: plugin process exited
2019/08/27 12:08:01 [INFO] (telemetry) Finalizing.
2019/08/27 12:08:01 waiting for all plugin processes to complete...
2019/08/27 12:08:01 /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