Also the error doesn't indicate that libvirt is doing anything wrong here.
It runs nl_recv [1] in virNetlinkEventCallback which eventually will do recvmsg 
[2] and gets reported that it didn't fit - so it correctly relay that up the 
stack.

Now that is a somewhat known issue [3], but it should be fixed in libnl instead 
of libvirt.
Then around that time one of that kind fixed in libnl [4].
There also was a related issue with some sockets opened with special flags 
behaving wrong by using other sizes, but that was fixed as well.

All those fixes are known and present in Ubuntu Bionic and later (even quite 
some earlier).
There are now two possible cases for this IMHO:
1. you found a new reproducible case to trigger this, then we should outline it 
and forward to the libnl development to fix it - please report if you have a 
clear case or just found that in the libvirt log a few times.
2. This was just an effect of a low memory or overload (too much messages queue 
up) situation that can't really be avoided - and in this case it would be fine 
for libnl to trigger the error and for libvirt to report it in the log to make 
the admin aware.

For both keeping the bug as "incomplete" for now is correct.

[1]: 
https://www.infradead.org/~tgr/libnl/doc/api/group__send__recv.html#ga48ab5192dfa62d6b71760d43a4306d13
[2]: http://manpages.ubuntu.com/manpages/xenial/man2/recv.2.html
[3]: https://www.redhat.com/archives/libvir-list/2014-June/msg00834.html
[4]: https://www.redhat.com/archives/libvir-list/2014-June/msg00823.html

** Also affects: libnl3 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: libnl3 (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libnl3 in Ubuntu.
https://bugs.launchpad.net/bugs/1794997

Title:
  virNetlinkEventCallback:700 : nl_recv returned with error: No buffer
  space available

Status in libnl3 package in Ubuntu:
  Incomplete
Status in libvirt package in Ubuntu:
  Incomplete

Bug description:
  We are observing the following error while creating VMs

  Sep 27 14:25:47 xpl-dvt-41 libvirtd[4927]: 2018-09-27
  21:25:47.387+0000: 4927: error : virNetlinkEventCallback:700 : nl_recv
  returned with error: No buffer space available

  This message is observed with latest Bionic libvirt packages.

  lab@xpl-dvt-35:~$ dpkg -l | grep libvirt
  ii  gir1.2-libvirt-glib-1.0:amd64         1.0.0-1                             
    amd64        GObject introspection files for the libvirt-glib library
  ii  libsys-virt-perl                      4.0.0-1                             
    amd64        Perl module providing an extension for the libvirt library
  ii  libvirt-bin                           4.0.0-1ubuntu8.5                    
    amd64        programs for the libvirt library
  ii  libvirt-clients                       4.0.0-1ubuntu8.5                    
    amd64        Programs for the libvirt library
  ii  libvirt-daemon                        4.0.0-1ubuntu8.5                    
    amd64        Virtualization daemon
  ii  libvirt-daemon-system                 4.0.0-1ubuntu8.5                    
    amd64        Libvirt daemon configuration files
  ii  libvirt-glib-1.0-0:amd64              1.0.0-1                             
    amd64        libvirt GLib and GObject mapping library
  ii  libvirt0:amd64                        4.0.0-1ubuntu8.5                    
    amd64        library for interfacing with different virtualization systems
  ii  python-libvirt                        4.0.0-1                             
    amd64        libvirt Python bindings

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnl3/+bug/1794997/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to