Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libguestfs error #26

Open
drewmullen opened this issue Dec 18, 2024 · 1 comment
Open

libguestfs error #26

drewmullen opened this issue Dec 18, 2024 · 1 comment

Comments

@drewmullen
Copy link

drewmullen commented Dec 18, 2024

👋 thanks for this plugin

Getting an error as build prepares to export:

==> kubevirt-iso.linux: generify-ing with 'virt-sysprep' Virtual Machine for export packer-linux/base-ubuntu-2204...
==> kubevirt-iso.linux: error with 'libguestfs' job packer-linux/base-ubuntu-2204: timeout waiting for job to be completed
==> kubevirt-iso.linux: Provisioning step had errors: Running the cleanup provisioner, if present...
    kubevirt-iso.linux: Virtual Machine packer-linux/base-ubuntu-2204 has been deleted
Build 'kubevirt-iso.linux' errored after 5 minutes 6 seconds: error with 'libguestfs' job packer-linux/base-ubuntu-2204: timeout waiting for job to be completed

running in a fedora container with libguestfs-tools installed

$ dnf install libguestfs-tools
Package "virt-win-reg-1.53.5-1.fc41.noarch" is already installed

LMK if im missing something please

@chomatdam
Copy link
Collaborator

Hey there, thanks for the interest in the plugin 🙃 I'm not super active on this project anymore, but we could fix it together, and can provide guidance for a PR.

Once the provisioning is finished and the VM is stopped. virt-sysprep is running as a job to generalize the VM. The first step would be looking at the logs coming from the container running virt-sysprep with the libguestfs container image, if you run it again and can provide these logs, it can be a good starting point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants