← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1997216] Re: virt/libvirt/host.py: _test_connection is not reliable with modularized libvirtd services

 

[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]

** Changed in: nova
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1997216

Title:
  virt/libvirt/host.py: _test_connection is not reliable with
  modularized libvirtd services

Status in OpenStack Compute (nova):
  Expired

Bug description:
  Description
  ===========

  the virt/libvirt/host.py _test_connection function of openstack nova
  service is not reliable with modularized libvirtd services and cannot
  reestablish connection if some module of libvirt is restarted.

  The modularized libvirt uses multiple daemons Like
    ...
    virtnodedevd
    virtnetworkd
    virtsecretd
    ...

  in case one of them is restarted the nova-compute still thinks the
  connection is working. However using particular module will fail when
  used later.

  In the nova-compute service log we can see:

  internal error: client socket is closed: libvirt.libvirtError:
  internal error: client socket is closed

  
  Steps to reproduce
  ==================

  1/ use openstack with modularized libvirtd as on CentOS Stream 9

  2/ gracefully restart virtnodedevd.service

     $ systemctl restart virtnodedevd.service
     

  3/ check logs of openstack about connection issue (repeating one each
  30s)

     "internal error: client socket is closed: libvirt.libvirtError:
  internal error: client socket is closed"

  
  Expected result
  ===============

  "_test_connection" function figures out the needed libvirt's module
  socket was closed and it will try to "open new connection".

  
  Actual result
  =============

  Openstack Nova service is not able to use libvirt's service module if
  the module is restarted.

  
  Environment
  ===========

  CentOS Stream 9, Openstack Yoga

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1997216/+subscriptions



References