Skip to content

Instantly share code, notes, and snippets.

@jmmeacham
Created March 23, 2021 16:19
Show Gist options
  • Save jmmeacham/ad87e7b8c694bc88d040b0f434a1c8a3 to your computer and use it in GitHub Desktop.
Save jmmeacham/ad87e7b8c694bc88d040b0f434a1c8a3 to your computer and use it in GitHub Desktop.
```
root@9b436d85ab20:/builder# PACKER_LOG=1 packer build no-vars.json
```
```
2021/03/23 16:17:20 [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:20 [TRACE] discovering plugins in /usr/bin
2021/03/23 16:17:20 [TRACE] discovering plugins in /root/.packer.d/plugins
2021/03/23 16:17:20 [TRACE] discovering plugins in .
2021/03/23 16:17:20 [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:20 [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:20 [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:20 [TRACE] Starting internal plugin packer-builder-proxmox-clone
2021/03/23 16:17:20 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-builder-proxmox-clone"}
2021/03/23 16:17:20 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: args: []string{"packer-builder-proxmox-clone"}
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: Plugin address: unix /tmp/packer-plugin707402688
2021/03/23 16:17:20 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin707402688
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: Waiting for connection...
2021/03/23 16:17:20 packer-builder-proxmox-clone plugin: Serving a plugin connection...
2021/03/23 16:17:20 [TRACE] Starting internal plugin packer-provisioner-powershell
2021/03/23 16:17:20 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-powershell"}
2021/03/23 16:17:20 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:20 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin017273215
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:20 packer-provisioner-powershell plugin: args: []string{"packer-provisioner-powershell"}
2021/03/23 16:17:20 packer-provisioner-powershell plugin: Plugin address: unix /tmp/packer-plugin017273215
2021/03/23 16:17:20 packer-provisioner-powershell plugin: Waiting for connection...
2021/03/23 16:17:20 packer-provisioner-powershell plugin: Serving a plugin connection...
2021/03/23 16:17:20 [TRACE] Starting internal plugin packer-provisioner-powershell
2021/03/23 16:17:20 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-powershell"}
2021/03/23 16:17:20 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:20 packer-provisioner-powershell plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:20 packer-provisioner-powershell plugin: args: []string{"packer-provisioner-powershell"}
2021/03/23 16:17:20 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin760127409
2021/03/23 16:17:20 packer-provisioner-powershell plugin: Plugin address: unix /tmp/packer-plugin760127409
2021/03/23 16:17:20 packer-provisioner-powershell plugin: Waiting for connection...
2021/03/23 16:17:20 packer-provisioner-powershell plugin: Serving a plugin connection...
2021/03/23 16:17:20 [TRACE] Starting internal plugin packer-provisioner-powershell
2021/03/23 16:17:20 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-powershell"}
2021/03/23 16:17:20 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:21 packer-provisioner-powershell plugin: args: []string{"packer-provisioner-powershell"}
2021/03/23 16:17:21 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin441363579
2021/03/23 16:17:21 packer-provisioner-powershell plugin: Plugin address: unix /tmp/packer-plugin441363579
2021/03/23 16:17:21 packer-provisioner-powershell plugin: Waiting for connection...
2021/03/23 16:17:21 packer-provisioner-powershell plugin: Serving a plugin connection...
2021/03/23 16:17:21 [TRACE] Starting internal plugin packer-provisioner-windows-shell
2021/03/23 16:17:21 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-windows-shell"}
2021/03/23 16:17:21 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: args: []string{"packer-provisioner-windows-shell"}
2021/03/23 16:17:21 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin929325027
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: Plugin address: unix /tmp/packer-plugin929325027
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: Waiting for connection...
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: Serving a plugin connection...
2021/03/23 16:17:21 [TRACE] Starting internal plugin packer-provisioner-windows-shell
2021/03/23 16:17:21 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-windows-shell"}
2021/03/23 16:17:21 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: args: []string{"packer-provisioner-windows-shell"}
2021/03/23 16:17:21 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin623783303
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: Plugin address: unix /tmp/packer-plugin623783303
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: Waiting for connection...
2021/03/23 16:17:21 packer-provisioner-windows-shell plugin: Serving a plugin connection...
2021/03/23 16:17:21 [TRACE] Starting internal plugin packer-provisioner-powershell
2021/03/23 16:17:21 Starting plugin: /usr/bin/packer []string{"/usr/bin/packer", "plugin", "packer-provisioner-powershell"}
2021/03/23 16:17:21 Waiting for RPC address for: /usr/bin/packer
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] Packer version: 1.7.0 [go1.15.8 linux amd64]
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var not set; checking the default config file path
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] PACKER_CONFIG env var set; attempting to open config file: /root/.packerconfig
2021/03/23 16:17:21 packer-provisioner-powershell plugin: [INFO] Setting cache directory: /builder/packer_cache
2021/03/23 16:17:21 packer-provisioner-powershell plugin: args: []string{"packer-provisioner-powershell"}
2021/03/23 16:17:21 Received unix RPC address for /usr/bin/packer: addr is /tmp/packer-plugin708968016
2021/03/23 16:17:21 packer-provisioner-powershell plugin: Plugin address: unix /tmp/packer-plugin708968016
2021/03/23 16:17:21 packer-provisioner-powershell plugin: Waiting for connection...
2021/03/23 16:17:21 packer-provisioner-powershell plugin: Serving a plugin connection...
2021/03/23 16:17:21 Preparing build: proxmox-clone
2021/03/23 16:17:21 packer-builder-proxmox-clone plugin: CPU type not set, using default 'kvm64'
2021/03/23 16:17:21 packer-builder-proxmox-clone plugin: Disk 0 cache mode not set, using default 'none'
2021/03/23 16:17:21 packer-builder-proxmox-clone plugin: SCSI controller not set, using default 'lsi'
2021/03/23 16:17:21 Build debug mode: false
2021/03/23 16:17:21 Force build: false
2021/03/23 16:17:21 On error:
proxmox-clone: output will be in this color.
2021/03/23 16:17:21 Waiting on builds to complete...
2021/03/23 16:17:21 Starting build run: proxmox-clone
2021/03/23 16:17:21 Running builder: proxmox-clone
2021/03/23 16:17:21 [INFO] (telemetry) Starting builder proxmox-clone
==> proxmox-clone: Creating ephemeral key pair for SSH communicator...
==> proxmox-clone: Created ephemeral SSH key pair for communicator
==> proxmox-clone: Creating VM
2021/03/23 16:17:21 [INFO] (telemetry) ending proxmox-clone
==> Wait completed after 544 milliseconds 967 microseconds
==> proxmox-clone: Error creating VM: 403 Permission check failed
2021/03/23 16:17:21 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2021/03/23 16:17:21 machine readable: proxmox-clone,error []string{"Error creating VM: 403 Permission check failed"}
==> Builds finished but no artifacts were created.
2021/03/23 16:17:21 [INFO] (telemetry) Finalizing.
Build 'proxmox-clone' errored after 544 milliseconds 621 microseconds: Error creating VM: 403 Permission check failed
==> Wait completed after 544 milliseconds 967 microseconds
==> Some builds didn't complete successfully and had errors:
--> proxmox-clone: Error creating VM: 403 Permission check failed
==> Builds finished but no artifacts were created.
2021/03/23 16:17:22 waiting for all plugin processes to complete...
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
2021/03/23 16:17:22 /usr/bin/packer: plugin process exited
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment