Unable to configure libxl's memory management parameters
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
New
|
Undecided
|
Unassigned |
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@ziomario-
Name ID Mem VCPUs State Time(s)
Domain-0 0 32065 16 r----- 435.8
but it does not with libvirt :
root@ziomario-
error: failed to connect to the hypervisor
error: Failed to connect socket to '/var/run/
this is what happens when I query for the status :
root@ziomario-
● libvirtd.service - Virtualization daemon
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since Sun 2020-10-25 12:11:43 CET; 41s ago
TriggeredBy: ● libvirtd.socket
● libvirtd-ro.socket
● libvirtd-
Docs: man:libvirtd(8)
https:/
Process: 4283 ExecStart=
Main PID: 4283 (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 32768)
Memory: 28.2M
CGroup: /system.
├─1577 /usr/sbin/dnsmasq --conf-
└─1578 /usr/sbin/dnsmasq --conf-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
ott 25 12:11:43 ziomario-
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 ?
affects: | ubiquity (Ubuntu) → libvirt (Ubuntu) |
I did :
sudo usermod -aG libvirt root
and
sudo usermod -aG libvirt root
but the error persists.
anyway,look below. I've thought that libvirtd was active,but it isn't :
root@ziomario- z390aoruspro: /etc/xen# ./xen-start.sh
Starting /usr/local/ sbin/oxenstored ...Setting domain 0 name, domid and JSON config... service.
Done setting up Dom0
Starting xenconsoled...
Starting QEMU as disk backend for dom0
* [done]
Starting xen-watchdog (via systemctl): xen-watchdog.
root@ziomario- z390aoruspro: /etc/xen# xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 32065 16 r----- 156.7
root@ziomario- z390aoruspro: /etc/xen# xl info
host : ziomario- z390aoruspro 77faf3ff: 2c100800: 00000121: 0000000f: 009c6fbf: 00000000: 00000100 freed_memory : 0 0xffff800000000 000 4f65ceaa1261896 c7c6ba90fc
release : 5.8.0-25-generic
version : #26-Ubuntu SMP Thu Oct 15 10:30:38 UTC 2020
machine : x86_64
nr_cpus : 16
max_cpu_id : 15
nr_nodes : 1
cores_per_socket : 8
threads_per_core : 2
cpu_mhz : 3600.506
hw_caps : bfebfbff:
virt_caps : pv hvm hvm_directio pv_directio hap shadow iommu_hap_pt_share
total_memory : 32625
free_memory : 133
sharing_
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 13
xen_extra : .1
xen_version : 4.13.1
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit2
xen_pagesize : 4096
platform_params : virt_start=
xen_changeset :
xen_commandline : placeholder
cc_compiler : gcc (Ubuntu 7.5.0-6ubuntu2) 7.5.0
cc_compile_by : ziomario
cc_compile_domain :
cc_compile_date : Fri Oct 2 16:52:58 CEST 2020
build_id : 663c0ea9a0c8e15
xend_config_format : 4
root@ziomario- z390aoruspro: /etc/xen# sudo systemctl status libvirtd.service
● libvirtd.service - Virtualization daemon system/ libvirtd. service; enabled; vendor preset: enabled) admin.socket /libvirt. org /usr/sbin/ libvirtd $libvirtd_opts (code=exited, status=0/SUCCESS) slice/libvirtd. service file=/var/ lib/libvirt/ dnsmasq/ default. conf --leasefile-ro --dhcp- script= /usr/lib/ libvirt/ libvirt_ leaseshelper file=/var/ lib/libvirt/ dnsmasq/ default. conf --leasefile-ro --dhcp- script= /usr/lib/ libvirt/ libvirt_ leaseshelper
Loaded: loaded (/lib/systemd/
Active: inactive (dead) since Sun 2020-10-25 14:00:23 CET; 19min ago
TriggeredBy: ● libvirtd-ro.socket
● libvirtd-
● libvirtd.socket
Docs: man:libvirtd(8)
https:/
Process: 1393 ExecStart=
Main PID: 1393 (code=exited, status=0/SUCCESS)
Tasks: 2 (limit: 32768)
Memory: 18.8M
CGroup: /system.
├─1522 /usr/sbin/dnsmasq --conf-
└─1523 /usr/sbin/dnsmasq --conf-
ott 25 14:00:23 ziomario- z390aoruspro libvirtd[1393]: Unable to configure libxl's memory management par...