[Bug 1901398] Re: Unable to configure libxl's memory management parameters

Marietto 1901398 at bugs.launchpad.net
Sun Oct 25 22:28:33 UTC 2020


** Package changed: ubiquity (Ubuntu) => libvirt (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1901398

Title:
  Unable to configure libxl's memory management parameters

Status in libvirt package in Ubuntu:
  New

Bug description:
  Hello.

  Yesterday I've upgraded ubuntu 20.04 to 20.10 and I have soon realized
  that libvirt stopped working with xen. Xen itself works ok for me,as u
  can see :

  root at ziomario-z390aoruspro:/etc/xen# xl list
  Name                                        ID   Mem VCPUs State Time(s)
  Domain-0                                     0 32065    16     r-----     435.8

  but it does not with libvirt :

  root at ziomario-z390aoruspro:/etc/xen# virsh pool-list --all
  error: failed to connect to the hypervisor
  error: Failed to connect socket to '/var/run/libvirt/libvirt-sock': Connection denied

  this is what happens when I query for the status :

  root at ziomario-z390aoruspro:/etc/xen# sudo systemctl status libvirtd.service
  ● libvirtd.service - Virtualization daemon
       Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
       Active: inactive (dead) since Sun 2020-10-25 12:11:43 CET; 41s ago
  TriggeredBy: ● libvirtd.socket
               ● libvirtd-ro.socket
               ● libvirtd-admin.socket
         Docs: man:libvirtd(8)
               https://libvirt.org
      Process: 4283 ExecStart=/usr/sbin/libvirtd $libvirtd_opts (code=exited, status=0/SUCCESS)
     Main PID: 4283 (code=exited, status=0/SUCCESS)
        Tasks: 2 (limit: 32768)
       Memory: 28.2M
       CGroup: /system.slice/libvirtd.service
               ├─1577 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
               └─1578 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper

  ott 25 12:11:43 ziomario-z390aoruspro dnsmasq[1577]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
  ott 25 12:11:43 ziomario-z390aoruspro dnsmasq-dhcp[1577]: read /var/lib/libvirt/dnsmasq/default.hostsfile
  ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: libvirt version: 6.6.0, package: 1ubuntu3 (Christian Ehrhardt <christian.ehrhardt at canonical.com> Thu, 08 Oct 2020 07:3>
  ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: hostname: ziomario-z390aoruspro
  ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: Unable to configure libxl's memory management parameters
  ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: Initialization of Xen state driver failed: no error
  ott 25 12:11:43 ziomario-z390aoruspro libvirtd[4283]: Driver state initialization failed
  ott 25 12:11:43 ziomario-z390aoruspro systemd[1]: libvirtd.service: Succeeded.
  ott 25 12:11:43 ziomario-z390aoruspro systemd[1]: libvirtd.service: Unit process 1577 (dnsmasq) remains running after unit stopped.
  ott 25 12:11:43 ziomario-z390aoruspro systemd[1]: libvirtd.service: Unit process 1578 (dnsmasq) remains running after unit stopped.

  
  if xen works without libvirt AND it does not work with Libvirt,it is a bug of libvirt. I dind't see this behavior with ubuntu 20.04 ; so it is a bug of ubuntu 20.10. do u want to give a look ?

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



More information about the foundations-bugs mailing list