uvt-kvm: error: libvirt: Requested operation is not valid: network 'default' is not active
Bug #1990853 reported by
Andrea Righi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
New
|
Undecided
|
Unassigned | ||
libvirt (Ubuntu) |
Fix Released
|
Critical
|
Christian Ehrhardt | ||
Kinetic |
Fix Released
|
Critical
|
Christian Ehrhardt | ||
uvtool (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Kinetic |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In recent 5.19 kinetic kernels (coincidentally after libvirt 8.6.0-0ubuntu1) we started to see autotest failures in ubuntu_
uvt-kvm: error: libvirt: Requested operation is not valid: network 'default' is not active
When the problem happens `virsh net-list --all` shows the 'default' network as inactive.
I tried to search for this error and I could only find this (that seems really old):
https:/
It doesn't seem to be a kernel issue (but I'll investigate more). In the meantime anybody has any idea why this could happen? Thanks in advance!
Related branches
~paelzer/ubuntu/+source/libvirt:lp-1990853-autostart-ordering-KINETIC
Merged
into
ubuntu/+source/libvirt:ubuntu/kinetic-devel
at
revision 7e32688de11ebdc63cc6e6110e118f93a3d0672f
- git-ubuntu bot: Approve
- Miriam España Acebal (community): Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 46 lines (+14/-6)2 files modifieddebian/changelog (+7/-0)
debian/libvirt-daemon-system.postinst (+7/-6)
tags: | removed: server-todo |
To post a comment you must log in.
Thanks for reporting this bug. Could you please provide a link to the test code which is failing?
I tried to launch a VM using uvtool in Kinetic and I was able to reproduce the issue:
root@uvt-test:~# cat /etc/os-release | grep CODENAME CODENAME= kinetic CODENAME= kinetic Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= =-===== ======= -====== ======= ======= ======= ======= ======= ====== Unknown/ Install/ Remove/ Purge/Hold Not/Inst/ Conf-files/ Unpacked/ halF-conf/ Half-inst/ trig-aWait/ Trig-pend /Reinst- required (Status,Err: uppercase=bad) ======= ====-== ======= ======= =-===== ======= -====== ======= ======= ======= ======= ======= ======= ======> ms-libvirt sync release=jammy arch=amd64 .ssh/id_ rsa): ssh/id_ rsa.pub r+vhHiNR5Q8NsyG UF10dqTi9jNV1kD D/bPvKoWHTcVk root@uvt-test
VERSION_
UBUNTU_
root@uvt-test:~# dpkg -l uvtool
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii uvtool 0~git178-0ubuntu1 all Library and tools for using Ubuntu Cloud images
root@uvt-test:~# dpkg -l uvtool-libvirt
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii uvtool-libvirt 0~git178-0ubuntu1 all Library and tools for using Ubuntu Cloud Images with l>
root@uvt-test:~# uvt-simplestrea
root@uvt-test:~# ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/root/
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /root/.ssh/id_rsa
Your public key has been saved in /root/.
The key fingerprint is:
SHA256:
The key's randomart image is:
+---[RSA 3072]----+
| .o.*oooo=o|
| .+.*.o..+|
| ..+ + + E|
| . = + +o|
| . S * o.=|
| . . . + +.|
| . + . + o. |
| o = . = ..|
| o*. . o..|
+----[SHA256]-----+
root@uvt-test:~# uvt-kvm create test
uvt-kvm: error: libvirt: Requested operation is not valid: network 'default' is not active
I am adding a task for uvtool and marking it as Triaged.