chef / bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms
Apache License 2.0
4.22k stars 1.12k forks source link

Kernel panic in bento/ubuntu-22.04 for libvirt #1558

Open AndrewKvalheim opened 3 months ago

AndrewKvalheim commented 3 months ago

Version

Environment

Scenario

Run an Ubuntu LTS release in Vagrant

Steps to Reproduce

$ vagrant init 'bento/ubuntu-22.04'
$ vagrant up

Expected Result

Provisioned Vagrant machine

Actual Result

Kernel panic at boot:

$ vagrant init 'bento/ubuntu-22.04'
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
$ vagrant up
Bringing machine 'default' up with 'libvirt' provider...
==> default: Checking if box 'bento/ubuntu-22.04' version '202309.08.0' is up to date...
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default:  -- Name:              bento_default
==> default:  -- Description:       Source: /home/user/example/Vagrantfile
==> default:  -- Domain type:       qemu
==> default:  -- Cpus:              1
==> default:  -- Feature:           acpi
==> default:  -- Feature:           apic
==> default:  -- Feature:           pae
==> default:  -- Clock offset:      utc
==> default:  -- Memory:            512M
==> default:  -- Base box:          bento/ubuntu-22.04
==> default:  -- Storage pool:      default
==> default:  -- Image(vda):        /var/lib/libvirt/images/bento_default.img, virtio, 64G
==> default:  -- Disk driver opts:  cache='default'
==> default:  -- Graphics Type:     vnc
==> default:  -- Video Type:        cirrus
==> default:  -- Video VRAM:        16384
==> default:  -- Video 3D accel:    false
==> default:  -- Keymap:            en-us
==> default:  -- TPM Backend:       passthrough
==> default:  -- INPUT:             type=mouse, bus=ps2
==> default: Creating shared folders metadata...
==> default: Starting domain.
==> default: Domain launching with graphics connection settings...
==> default:  -- Graphics Port:      5900
==> default:  -- Graphics IP:        127.0.0.1
==> default:  -- Graphics Password:  Not defined
==> default:  -- Graphics Websocket: 5700
==> default: Waiting for domain to get an IP address...

Kernel panic - not syncing: System is deadlocked on memory