hashicorp / packer

Packer is a tool for creating identical machine images for multiple platforms from a single source configuration.
http://www.packer.io
Other
15.13k stars 3.33k forks source link

Why is Proxmox Builder Stuck? (No response|debug_log after packer build) #8386

Closed apigban closed 5 years ago

apigban commented 5 years ago

Proxmox Version: 6.0-4 Connectivity Tests:

Build File: centos8-base (copy).json.txt

Invocation:

Expected Result:

Result (after waiting for 20 mins. minimum):

apigban commented 5 years ago

Here's system specs:

Packer Host: OS: Fedora31 5.3.11-300.fc31.x86_64 #1 SMP Tue Nov 12 19:08:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux SSD: 117GB Available RAM: 12GB Usable Python: 3.7.5

Proxmox: OS: proxmoxdxb 5.0.15-1-pve #1 SMP PVE 5.0.15-1 (Wed, 03 Jul 2019 10:51:57 +0200) x86_64 GNU/Linux HDD: 324GB Available RAM: 5GB Usable Python: 2.7.16

nywilken commented 5 years ago

@apigban sorry you're running into trouble here, and thank you for the sample build configuration. I am unable to reproduce this issue. I've run into issues in the past on Centos where the packer command I was running was not the packer tool but some other command (sorry I can't find info on it at the moment). When you run packer version what information do you get? Can you share the path where the Packer tool is installed which packer?

If you haven't already I would recommend downloading the latest version of Packer and try running your script against it

nywilken commented 5 years ago

@apigban here's a link to the other packer command I mentioned in my previous comment https://linux.die.net/man/1/packer. Running packer help or packer version should help clarify that you are using the correct packer tool.

> packer help
Usage: packer [--version] [--help] <command> [<args>]

Available commands are:
    build       build image(s) from template
    console     creates a console for testing variable interpolation
    fix         fixes templates from old versions of packer
    inspect     see components of a template
    validate    check that a template is valid
    version     Prints the Packer version
apigban commented 5 years ago

Thanks! I just used an alias, packer.io, and now it was working.

ghost commented 4 years ago

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.