View previous topic :: View next topic |
Author |
Message |
toralf Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/10034462014367c4dfe33c1.gif)
Joined: 01 Feb 2004 Posts: 3943 Location: Hamburg
|
Posted: Tue Mar 20, 2018 5:17 pm Post subject: KVM: lost cabaility to assign a network |
|
|
Within the virt-manager I get an Code: | Error starting domain: this function is not supported by the connection driver: Network device allocation not available
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 125, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 82, in newfn
ret = fn(self, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1505, in startup
self._backend.create()
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1069, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: this function is not supported by the connection driver: Network device allocation not available
| for nearly every network card I tried. It worked in the past (with older kernels, all gone in the mean while) so I do wonder how to fix that now. My kernel .config is in https://paste.pound-python.org/show/yIx1yjusaXkHkux1J2bE/ |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gordonp Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 May 2005 Posts: 102
|
Posted: Tue Mar 20, 2018 5:42 pm Post subject: VMs cannot start!! |
|
|
I just performed some server-updates, including:
libvirt from 4.0.0 to 4.1.0
qemu from 2.11.0 to 2.11.1-r1
and now I am in the same boat as @toralf Same error-message None of my VM's will start, including my LDAP-authentication, video-security-recorder, web-server, Access-Point/Network Management, etc!
Any suggestions? I'm all ears!
(please note 1: everything was working perfectly 10min ago, until updating)
(note 2: my kernel remains unchanged, between working / non-working: gentoo-sources 4.9.76-gentoo-r1) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
krinn Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/gallery/Blade Runner/movie_blade_runner_howl.gif)
Joined: 02 May 2003 Posts: 7470
|
Posted: Tue Mar 20, 2018 6:00 pm Post subject: Re: VMs cannot start!! |
|
|
gordonp wrote: | Any suggestions? I'm all ears! |
Well, it looks so easy that i'm a bit shy to say it.
Quote: | libvirt from 4.0.0 to 4.1.0
qemu from 2.11.0 to 2.11.1-r1 |
just revert back to previous version each package and see when it finally work again, once you have put blame on failing package, look for its changelog (because sometimes, even it sucks, "bugs" are features and wanted behaviour)
Next action depends on changelog content, if it's not expect, filebug against that package.
It may not be these packages, but you have point them, and actually, many errors are always in front of user eyes, just user don't see them ; so for me, you have point them for some reason, and yes, i think you might have just been right at pointing them! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gordonp Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 23 May 2005 Posts: 102
|
Posted: Tue Mar 20, 2018 6:11 pm Post subject: work-around (temporary fix) |
|
|
Rolling back to prior versions of qemu / libvirt worked for me; maybe it will also help @toralf and others:
First, the current/updated versions that weren't allowing VMs to start:
Code: | # emerge qemu libvirt
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-emulation/qemu-2.11.1-r1
[ebuild R ] app-emulation/libvirt-4.1.0 |
I rolled these back:
Code: | # emerge =app-emulation/qemu-2.11.0 =app-emulation/libvirt-4.0.0
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild UD ] app-emulation/qemu-2.11.0 [2.11.1-r1]
[ebuild UD ] app-emulation/libvirt-4.0.0 [4.1.0] |
and I also had backup-copies that allowed me to roll-back these config-files:
Code: | 1) /etc/conf.d/libvirt-guests (1)
2) /etc/libvirt/nwfilter/allow-arp.xml (1)
3) /etc/libvirt/nwfilter/allow-dhcp-server.xml (1)
4) /etc/libvirt/nwfilter/allow-dhcp.xml (1)
5) /etc/libvirt/nwfilter/allow-incoming-ipv4.xml (1)
6) /etc/libvirt/nwfilter/allow-ipv4.xml (1)
7) /etc/libvirt/nwfilter/clean-traffic.xml (1)
8) /etc/libvirt/nwfilter/no-arp-ip-spoofing.xml (1)
9) /etc/libvirt/nwfilter/no-arp-mac-spoofing.xml (1)
10) /etc/libvirt/nwfilter/no-arp-spoofing.xml (1)
11) /etc/libvirt/nwfilter/no-ip-multicast.xml (1)
12) /etc/libvirt/nwfilter/no-ip-spoofing.xml (1)
13) /etc/libvirt/nwfilter/no-mac-broadcast.xml (1)
14) /etc/libvirt/nwfilter/no-mac-spoofing.xml (1)
15) /etc/libvirt/nwfilter/no-other-l2-traffic.xml (1)
16) /etc/libvirt/nwfilter/no-other-rarp-traffic.xml (1)
17) /etc/libvirt/nwfilter/qemu-announce-self-rarp.xml (1)
18) /etc/libvirt/nwfilter/qemu-announce-self.xml (1) |
That sure is a sinking feeling when all my authentication and other critical services are pooched ![Sad :-(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
elbunda n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Mar 2018 Posts: 1
|
Posted: Tue Mar 20, 2018 6:28 pm Post subject: |
|
|
I had the same issue after installing updates an hour ago.
Recompiling libvirt with virt-network USE flag and restart libvirtd service fixed my issue and I was able to boot VMs again.
But virt-manager created some wierd virbr0 interface after that. So I had to add myself to radvd group and then I was able to remove it in virt-manager.
Now everything works again. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Maitreya Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 11 Jan 2006 Posts: 445
|
Posted: Tue Mar 20, 2018 10:10 pm Post subject: |
|
|
Having the same issue, but setting the "virt-network" use flag will pull in dnsmasq and friends.
I just want to add my virtual adapter to a bridge without all these "extras" so I hope a real fix is inbound. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Matje l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 29 Oct 2002 Posts: 619 Location: Hasselt, Belgium
|
Posted: Wed Mar 21, 2018 5:15 pm Post subject: |
|
|
This was fixed in libvirt-4.1.0-r1, I can confirm it works
Edit: forgot the bug link: https://bugs.gentoo.org/650872 _________________ Life is like a box of chocolates... Before you know it, it's empty... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
uberDoward n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 09 Jun 2011 Posts: 46
|
Posted: Fri Mar 23, 2018 1:36 am Post subject: |
|
|
Where are ya'll seeing the -r1 update? I'm not seeing it in my latest emerge --sync.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mondjef n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Jun 2011 Posts: 71 Location: Ottawa, ON...Canada
|
Posted: Fri Mar 30, 2018 9:38 pm Post subject: |
|
|
I can confirm that 4.1.0-r3 restores the functionality as I just got hit with this and had to force an upgrade to this version by adding it to /etc/portage/package.accept_keywords |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|