Skip to content

bento/ubuntu-26.04 libvirt fails to boot #1684

@matuskosut

Description

@matuskosut

Version

bento/ubuntu-26.04                 (libvirt, 202606.01.0, (amd64))

Environment

Ubuntu 24.04 / vagrant 2.4.9-1 / vagrant-libvirt 0.12.2

Scenario

The default box simply created by vagrant init seems to fail to boot. The same t

Steps to Reproduce

Create the most simple init box and then try to start it

vagrant init bento/ubuntu-26.04
vagrant up --provider libvirt

Expected Result

expecting the VM to boot up

Actual Result

Bringing machine 'default' up with 'libvirt' provider...
[fog][WARNING] Unrecognized arguments: libvirt_ip_command
==> default: Box 'bento/ubuntu-26.04' could not be found. Attempting to find and install...
    default: Box Provider: libvirt
    default: Box Version: >= 0
==> default: Loading metadata for box 'bento/ubuntu-26.04'
    default: URL: https://vagrantcloud.com/api/v2/vagrant/bento/ubuntu-26.04
==> default: Adding box 'bento/ubuntu-26.04' (v202606.01.0) for provider: libvirt (amd64)
    default: Downloading: https://vagrantcloud.com/bento/boxes/ubuntu-26.04/versions/202606.01.0/providers/libvirt/amd64/vagrant.box
==> default: Successfully added box 'bento/ubuntu-26.04' (v202606.01.0) for 'libvirt (amd64)'!
==> default: Creating image (snapshot of base box volume).
==> default: Creating domain with the following settings...
==> default:  -- Name:              ubuntu_default
==> default:  -- Description:       Source: /home/ubuntu/tests/ubuntu/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-26.04
==> default:  -- Storage pool:      default
==> default:  -- Image(vda):        /var/lib/libvirt/images/ubuntu_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:      5911
==> default:  -- Graphics IP:        127.0.0.1
==> default:  -- Graphics Password:  Not defined
==> default:  -- Graphics Websocket: 5711
==> default: Waiting for domain to get an IP address...
/home/ubuntu/.vagrant.d/gems/3.3.8/gems/fog-core-2.6.0/lib/fog/core/wait_for.rb:9:in `block in wait_for': The specified wait_for timeout (2 seconds) was exceeded (Fog::Errors::TimeoutError)
        from <internal:kernel>:187:in `loop'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/fog-core-2.6.0/lib/fog/core/wait_for.rb:6:in `wait_for'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/fog-core-2.6.0/lib/fog/core/model.rb:103:in `wait_for'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/driver.rb:303:in `get_ipaddress_from_domain'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/driver.rb:93:in `get_ipaddress'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/wait_till_up.rb:45:in `block (2 levels) in call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/util/retryable.rb:20:in `retryable'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/wait_till_up.rb:40:in `block in call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/util/timer.rb:11:in `time'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/wait_till_up.rb:39:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/start_domain.rb:630:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/set_boot_order.rb:22:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/share_folders.rb:22:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/prepare_nfs_settings.rb:21:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/synced_folders.rb:90:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/delayed.rb:22:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/synced_folder_cleanup.rb:31:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/plugins/synced_folders/nfs/action_cleanup.rb:28:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/prepare_nfs_valid_ids.rb:14:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builder.rb:183:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `block in run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/util/busy.rb:22:in `busy'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/call.rb:56:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builder.rb:183:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `block in run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/util/busy.rb:22:in `busy'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/call.rb:56:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_network_interfaces.rb:169:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_networks.rb:98:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_domain.rb:466:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/resolve_disk_settings.rb:143:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/create_domain_volume.rb:98:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/handle_box_image.rb:129:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/handle_box.rb:58:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/handle_storage_pool.rb:63:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/set_name_of_domain.rb:34:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/provision.rb:83:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /home/ubuntu/.vagrant.d/gems/3.3.8/gems/vagrant-libvirt-0.12.2/lib/vagrant-libvirt/action/cleanup_on_failure.rb:21:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:117:in `block in finalize_action'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builder.rb:183:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `block in run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/util/busy.rb:22:in `busy'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/call.rb:56:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/box_check_outdated.rb:98:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builtin/config_validate.rb:28:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/warden.rb:38:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/builder.rb:183:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `block in run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/util/busy.rb:22:in `busy'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/action/runner.rb:104:in `run'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:244:in `action_raw'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:213:in `block in action'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/environment.rb:647:in `lock'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:199:in `call'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/machine.rb:199:in `action'
        from /opt/vagrant/embedded/gems/gems/vagrant-2.4.9/lib/vagrant/batch_action.rb:88:in `block (2 levels) in run'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: UntriagedAn issue that has yet to be triaged.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions