Skip to content

Instantly share code, notes, and snippets.

@ArKam

ArKam/packer.log Secret

Created April 14, 2021 12:06
Show Gist options
  • Save ArKam/71d075c6faa08415cf39c85970d2e5ad to your computer and use it in GitHub Desktop.
Save ArKam/71d075c6faa08415cf39c85970d2e5ad to your computer and use it in GitHub Desktop.
2021/04/14 11:50:55 [INFO] Packer version: 1.5.6 [go1.14.2 linux amd64]
2021/04/14 11:50:55 Checking 'PACKER_CONFIG' for a config file path
2021/04/14 11:50:55 'PACKER_CONFIG' not set; checking the default config file path
2021/04/14 11:50:55 Attempting to open config file: /home/jenkins/.packerconfig
2021/04/14 11:50:55 [WARN] Config file doesn't exist: /home/jenkins/.packerconfig
2021/04/14 11:50:55 Setting cache directory: /home/jenkins/workspace/packer-factory/packer_cache
Running in background, not using a TTY
2021/04/14 11:50:55 Creating plugin client for path: /home/jenkins/workspace/packer-factory/packer
2021/04/14 11:50:55 Starting plugin: /home/jenkins/workspace/packer-factory/packer []string{"/home/jenkins/workspace/packer-factory/packer", "plugin", "packer-builder-openstack"}
2021/04/14 11:50:55 Waiting for RPC address for: /home/jenkins/workspace/packer-factory/packer
2021/04/14 11:50:55 packer-builder-openstack plugin: [INFO] Packer version: 1.5.6 [go1.14.2 linux amd64]
2021/04/14 11:50:55 packer-builder-openstack plugin: Checking 'PACKER_CONFIG' for a config file path
2021/04/14 11:50:55 packer-builder-openstack plugin: 'PACKER_CONFIG' not set; checking the default config file path
2021/04/14 11:50:55 packer-builder-openstack plugin: Attempting to open config file: /home/jenkins/.packerconfig
2021/04/14 11:50:55 packer-builder-openstack plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig
2021/04/14 11:50:55 packer-builder-openstack plugin: Setting cache directory: /home/jenkins/workspace/packer-factory/packer_cache
2021/04/14 11:50:55 packer-builder-openstack plugin: args: []string{"packer-builder-openstack"}
2021/04/14 11:50:55 packer-builder-openstack plugin: Plugin address: unix /tmp/packer-plugin181499101
2021/04/14 11:50:55 packer-builder-openstack plugin: Waiting for connection...
2021/04/14 11:50:55 Received unix RPC address for /home/jenkins/workspace/packer-factory/packer: addr is /tmp/packer-plugin181499101
2021/04/14 11:50:55 packer-builder-openstack plugin: Serving a plugin connection...
2021/04/14 11:50:55 Creating plugin client for path: /home/jenkins/workspace/packer-factory/packer
2021/04/14 11:50:55 Starting plugin: /home/jenkins/workspace/packer-factory/packer []string{"/home/jenkins/workspace/packer-factory/packer", "plugin", "packer-provisioner-powershell"}
2021/04/14 11:50:55 Waiting for RPC address for: /home/jenkins/workspace/packer-factory/packer
2021/04/14 11:50:55 packer-provisioner-powershell plugin: [INFO] Packer version: 1.5.6 [go1.14.2 linux amd64]
2021/04/14 11:50:55 packer-provisioner-powershell plugin: Checking 'PACKER_CONFIG' for a config file path
2021/04/14 11:50:55 packer-provisioner-powershell plugin: 'PACKER_CONFIG' not set; checking the default config file path
2021/04/14 11:50:55 packer-provisioner-powershell plugin: Attempting to open config file: /home/jenkins/.packerconfig
2021/04/14 11:50:55 packer-provisioner-powershell plugin: [WARN] Config file doesn't exist: /home/jenkins/.packerconfig
2021/04/14 11:50:55 packer-provisioner-powershell plugin: Setting cache directory: /home/jenkins/workspace/packer-factory/packer_cache
2021/04/14 11:50:55 packer-provisioner-powershell plugin: args: []string{"packer-provisioner-powershell"}
2021/04/14 11:50:55 packer-provisioner-powershell plugin: Plugin address: unix /tmp/packer-plugin143883813
2021/04/14 11:50:55 packer-provisioner-powershell plugin: Waiting for connection...
2021/04/14 11:50:55 Received unix RPC address for /home/jenkins/workspace/packer-factory/packer: addr is /tmp/packer-plugin143883813
2021/04/14 11:50:55 packer-provisioner-powershell plugin: Serving a plugin connection...
2021/04/14 11:50:55 Build debug mode: false
2021/04/14 11:50:55 Force build: false
2021/04/14 11:50:55 On error:
2021/04/14 11:50:55 Preparing build: openstack
openstack: output will be in this color.
2021/04/14 11:50:55 Waiting on builds to complete...
2021/04/14 11:50:55 Starting build run: openstack
2021/04/14 11:50:55 Running builder: openstack
2021/04/14 11:50:55 [INFO] (telemetry) Starting builder openstack
==> openstack: Loading flavor: 036973e0-c98b-4268-ac54-1660d5757960
2021/04/14 11:50:55 packer-builder-openstack plugin: [INFO] Loading flavor by ID: 036973e0-c98b-4268-ac54-1660d5757960
openstack: Verified flavor. ID: 036973e0-c98b-4268-ac54-1660d5757960
==> openstack: Creating temporary keypair: packer_6076baff-470e-32ab-021e-b5cb2d8e0b8b ...
==> openstack: Created temporary keypair: packer_6076baff-470e-32ab-021e-b5cb2d8e0b8b
==> openstack: Creating volume...
==> openstack: Waiting for volume packer_6076baff-2724-cfbf-2881-2b9585d36c5e (volume id: 92511832-4701-488a-ba4a-fa7cf92b7efc) to become available...
2021/04/14 11:50:56 packer-builder-openstack plugin: Waiting for volume creation status: creating
2021/04/14 11:50:58 [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=f3327a6f-8f73-2ed7-0cfa-e63141801f08&version=1.5.6": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021/04/14 11:50:58 packer-builder-openstack plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=f3327a6f-8f73-2ed7-0cfa-e63141801f08&version=1.5.6": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021/04/14 11:50:58 packer-provisioner-powershell plugin: [ERR] Checkpoint error: Get "https://checkpoint-api.hashicorp.com/v1/check/packer?arch=amd64&os=linux&signature=f3327a6f-8f73-2ed7-0cfa-e63141801f08&version=1.5.6": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
2021/04/14 11:50:58 packer-builder-openstack plugin: Waiting for volume creation status: creating
2021/04/14 11:51:00 packer-builder-openstack plugin: Waiting for volume creation status: creating
2021/04/14 11:51:02 packer-builder-openstack plugin: Waiting for volume creation status: creating
[... elapsed for readability ...]
2021/04/14 11:52:31 packer-builder-openstack plugin: Waiting for volume creation status: creating
2021/04/14 11:52:33 packer-builder-openstack plugin: Waiting for volume creation status: creating
2021/04/14 11:52:35 packer-builder-openstack plugin: Waiting for volume creation status: downloading
2021/04/14 11:52:37 packer-builder-openstack plugin: Waiting for volume creation status: downloading
2021/04/14 11:52:39 packer-builder-openstack plugin: Waiting for volume creation status: downloading
[... elapsed for readability ...]
2021/04/14 11:53:34 packer-builder-openstack plugin: Waiting for volume creation status: downloading
2021/04/14 11:53:37 packer-builder-openstack plugin: Waiting for volume creation status: downloading
openstack: Volume ID: 92511832-4701-488a-ba4a-fa7cf92b7efc
==> openstack: Launching server...
==> openstack: Launching server...
==> openstack: Error launching source server: Bad request with: [POST https://sub.domain.tld:8774/v2.1/servers], error message: {"badRequest": {"message": "Multiattach volumes are only supported starting with compute API version 2.60.", "code": 400}}
==> openstack: Terminating the source server: ...
==> openstack: Error terminating server, may still be around: Resource not found
==> openstack: Deleting volume: 92511832-4701-488a-ba4a-fa7cf92b7efc ...
==> openstack: Deleting temporary keypair: packer_6076baff-470e-32ab-021e-b5cb2d8e0b8b ...
2021/04/14 11:53:40 [INFO] (telemetry) ending openstack
2021/04/14 11:53:40 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2021/04/14 11:53:40 machine readable: openstack,error []string{"Error launching source server: Bad request with: [POST https://sub.domain.tld:8774/v2.1/servers], error message: {\"badRequest\": {\"message\": \"Multiattach volumes are only supported starting with compute API version 2.60.\", \"code\": 400}}"}
==> Builds finished but no artifacts were created.
2021/04/14 11:53:40 [INFO] (telemetry) Finalizing.
Build 'openstack' errored: Error launching source server: Bad request with: [POST https://sub.domain.tld:8774/v2.1/servers], error message: {"badRequest": {"message": "Multiattach volumes are only supported starting with compute API version 2.60.", "code": 400}}
==> Some builds didn't complete successfully and had errors:
--> openstack: Error launching source server: Bad request with: [POST https://sub.domain.tld:8774/v2.1/servers], error message: {"badRequest": {"message": "Multiattach volumes are only supported starting with compute API version 2.60.", "code": 400}}
==> Builds finished but no artifacts were created.
2021/04/14 11:53:42 [WARN] (telemetry) Error finalizing report. This is safe to ignore. Post "https://checkpoint-api.hashicorp.com/v1/telemetry/packer": context deadline exceeded
2021/04/14 11:53:42 waiting for all plugin processes to complete...
2021/04/14 11:53:42 /home/jenkins/workspace/packer-factory/packer: plugin process exited
2021/04/14 11:53:42 /home/jenkins/workspace/packer-factory/packer: plugin process exited
script returned exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment