Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- At startup, all is fine :
- $ sudo virsh net-list --all
- Nom État Démarrage automatique Persistant
- -------------------------------------------------------
- default actif oui oui
- $ virt-manager --debug
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (cli:204) Version 4.1.0 launched with command line: /usr/bin/virt-manager --debug
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (virtmanager:167) virt-manager version: 4.1.0
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (virtmanager:168) virtManager import: /usr/share/virt-manager/virtManager
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (virtmanager:205) PyGObject version: 3.42.2
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (virtmanager:209) GTK version: 3.24.37
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (systray:84) Imported AppIndicator3=<IntrospectionModule 'AyatanaAppIndicator3' from '/usr/lib/x86_64-linux-gnu/girepository-1.0/AyatanaAppIndicator3-0.1.typelib'>
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (systray:90) Using AppIndicator3 for systray
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (systray:476) Showing systray: False
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (inspection:206) python guestfs is not installed
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (engine:113) Loading stored URIs:
- qemu:///system
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (engine:461) processing cli command uri= show_window=manager domain=
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (engine:464) No cli action requested, launching default window
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (manager:185) Showing manager
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (engine:316) window counter incremented to 1
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (engine:211) Initial gtkapplication activated
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (connection:482) conn=qemu:///system changed to state=Connexion
- [ven., 14 juil. 2023 18:06:56 virt-manager 4946] DEBUG (connection:903) Scheduling background open thread for qemu:///system
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:128) libvirt URI versions library=9.5.0 driver=9.5.0 hypervisor=8.0.2
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:109) Fetched capabilities for qemu:///system: <capabilities>
- ...
- </capabilities>
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:739) Using domain events
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:778) Using network events
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:797) Using storage pool events
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:822) Using node device events
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) network=default status=Actif added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:691) storage pool refresh event: pool=pool
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) domain=win10 status=Éteinte added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:691) storage pool refresh event: pool=default
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:691) storage pool refresh event: pool=images-ISO
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) domain=win8.1 status=Éteinte added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) domain=debian11 status=Éteinte added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) pool=pool status=Actif added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) domain=debian12 status=Éteinte added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) pool=default status=Actif added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:1072) pool=images-ISO status=Actif added
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (storage:137) Found default pool name=default target=/var/lib/libvirt/images
- [ven., 14 juil. 2023 18:06:57 virt-manager 4946] DEBUG (connection:482) conn=qemu:///system changed to state=Actif
- Closing virt-manager :
- ^C[ven., 14 juil. 2023 18:07:04 virt-manager 4946] DEBUG (virtmanager:261) Received KeyboardInterrupt. Exiting application.
- [ven., 14 juil. 2023 18:07:04 virt-manager 4946] DEBUG (connection:838) conn.close() uri=qemu:///system
- [ven., 14 juil. 2023 18:07:04 virt-manager 4946] DEBUG (connection:482) conn=qemu:///system changed to state=Déconnecté
- [ven., 14 juil. 2023 18:07:04 virt-manager 4946] DEBUG (manager:196) Closing manager
- [ven., 14 juil. 2023 18:07:04 virt-manager 4946] DEBUG (engine:323) window counter decremented to 0
- [ven., 14 juil. 2023 18:07:04 virt-manager 4946] DEBUG (engine:369) Exiting app normally.
- System is up and running... 5 minutes later :
- $ sudo virsh net-list --all
- ^C
- $
- $ sudo journalctl -b 0 |grep libvirt
- juil. 14 18:05:14 Ryzen7-5700G kernel: audit: type=1400 audit(1689350714.153:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirtd" pid=874 comm="apparmor_parser"
- juil. 14 18:05:14 Ryzen7-5700G kernel: audit: type=1400 audit(1689350714.153:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="libvirtd//qemu_bridge_helper" pid=874 comm="apparmor_parser"
- juil. 14 18:05:14 Ryzen7-5700G systemd[1]: Listening on libvirtd.socket - Libvirt local socket.
- juil. 14 18:05:14 Ryzen7-5700G systemd[1]: Listening on libvirtd-admin.socket - Libvirt admin socket.
- juil. 14 18:05:14 Ryzen7-5700G systemd[1]: Listening on libvirtd-ro.socket - Libvirt local read-only socket.
- juil. 14 18:05:15 Ryzen7-5700G systemd[1]: Starting libvirt-guests.service - Suspend/Resume Running libvirt Guests...
- juil. 14 18:05:15 Ryzen7-5700G systemd[1]: Finished libvirt-guests.service - Suspend/Resume Running libvirt Guests.
- juil. 14 18:05:21 Ryzen7-5700G systemd[1]: Starting libvirtd.service - Virtualization daemon...
- juil. 14 18:05:21 Ryzen7-5700G systemd[1]: Started libvirtd.service - Virtualization daemon.
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 names
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq-dhcp[1654]: read /var/lib/libvirt/dnsmasq/default.hostsfile
- $ sudo systemctl status libvirtd
- ● libvirtd.service - Virtualization daemon
- Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; preset: enabled)
- Active: active (running) since Fri 2023-07-14 18:05:21 CEST; 7min ago
- TriggeredBy: ● libvirtd-ro.socket
- ● libvirtd-admin.socket
- ● libvirtd.socket
- Docs: man:libvirtd(8)
- https://libvirt.org
- Process: 1237 ExecStart=/usr/sbin/libvirtd $LIBVIRTD_ARGS (code=exited, status=0/SUCCESS)
- Main PID: 1237 (code=exited, status=0/SUCCESS)
- Tasks: 2 (limit: 32768)
- Memory: 23.3M
- CPU: 340ms
- CGroup: /system.slice/libvirtd.service
- ├─1654 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/>
- └─1655 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/>
- juil. 14 18:05:21 Ryzen7-5700G systemd[1]: Started libvirtd.service - Virtualization daemon.
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: started, version 2.89 cachesize 150
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: compile time options: IPv6 GNU-getopt DBus no-UBus i18n IDN2 DHCP DHCPv6 no-Lua >
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq-dhcp[1654]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq-dhcp[1654]: DHCP, sockets bound exclusively to interface virbr0
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: reading /etc/resolv.conf
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: using nameserver 192.168.1.18#53
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: read /etc/hosts - 7 names
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq[1654]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 names
- juil. 14 18:05:21 Ryzen7-5700G dnsmasq-dhcp[1654]: read /var/lib/libvirt/dnsmasq/default.hostsfile
- I have to restart libvirtd service :
- $ sudo systemctl restart libvirtd
- $ sudo systemctl status libvirtd
- ● libvirtd.service - Virtualization daemon
- Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; preset: enabled)
- Active: active (running) since Fri 2023-07-14 18:13:59 CEST; 2s ago
- TriggeredBy: ● libvirtd-ro.socket
- ● libvirtd-admin.socket
- ● libvirtd.socket
- Docs: man:libvirtd(8)
- https://libvirt.org
- Main PID: 5223 (libvirtd)
- Tasks: 21 (limit: 32768)
- Memory: 40.1M
- CPU: 246ms
- CGroup: /system.slice/libvirtd.service
- ├─1654 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/>
- ├─1655 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/>
- └─5223 /usr/sbin/libvirtd --timeout 120
- juil. 14 18:13:59 Ryzen7-5700G systemd[1]: Starting libvirtd.service - Virtualization daemon...
- juil. 14 18:13:59 Ryzen7-5700G systemd[1]: Started libvirtd.service - Virtualization daemon.
- juil. 14 18:13:59 Ryzen7-5700G dnsmasq[1654]: read /etc/hosts - 7 names
- juil. 14 18:13:59 Ryzen7-5700G dnsmasq[1654]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 names
- juil. 14 18:13:59 Ryzen7-5700G dnsmasq-dhcp[1654]: read /var/lib/libvirt/dnsmasq/default.hostsfile
- juil. 14 18:13:59 Ryzen7-5700G libvirtd[5223]: libvirt version: 9.5.0, package: 9.5.0-1 (Debian)
- juil. 14 18:13:59 Ryzen7-5700G libvirtd[5223]: hostname: Ryzen7-5700G
- juil. 14 18:13:59 Ryzen7-5700G libvirtd[5223]: erreur interne : Impossible de trouver l'heure de début pour le pid 5112
- Virtual network is back and running, as well as virt-manger and VMs :
- $ sudo virsh net-list --all
- Nom État Démarrage automatique Persistant
- -------------------------------------------------------
- default actif oui oui
- 5 minutes, later, issue is back. Nothing new in logs, or dmesg, or libvirtd service.
- $ virt-host-validate
- QEMU : Vérification pour la virtualisation du matériel : PASS
- QEMU : Vérification if device /dev/kvm exists : PASS
- QEMU : Vérification if device /dev/kvm is accessible : PASS
- QEMU : Vérification if device /dev/vhost-net exists : PASS
- QEMU : Vérification if device /dev/net/tun exists : PASS
- QEMU : Vérification for cgroup 'cpu' controller support : PASS
- QEMU : Vérification for cgroup 'cpuacct' controller support : PASS
- QEMU : Vérification for cgroup 'cpuset' controller support : PASS
- QEMU : Vérification for cgroup 'memory' controller support : PASS
- QEMU : Vérification for cgroup 'devices' controller support : WARN (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)
- QEMU : Vérification for cgroup 'blkio' controller support : PASS
- QEMU : Vérification pour l'affectation des périphériques support de l'IOMMU : PASS
- QEMU : Vérification si IOMMU est activé par le noyau : PASS
- QEMU : Vérification pour une prise en charge sécurisée des invités : WARN (Unknown if this platform has Secure Guest support)
- LXC : Vérification pour Linux >= 2.6.26 : PASS
- LXC : Vérification for namespace ipc : PASS
- LXC : Vérification for namespace mnt : PASS
- LXC : Vérification for namespace pid : PASS
- LXC : Vérification for namespace uts : PASS
- LXC : Vérification for namespace net : PASS
- LXC : Vérification for namespace user : PASS
- LXC : Vérification for cgroup 'cpu' controller support : PASS
- LXC : Vérification for cgroup 'cpuacct' controller support : PASS
- LXC : Vérification for cgroup 'cpuset' controller support : PASS
- LXC : Vérification for cgroup 'memory' controller support : PASS
- LXC : Vérification for cgroup 'devices' controller support : ÉCHEC (Enable 'devices' in kernel Kconfig file or mount/enable cgroup controller in your system)
- LXC : Vérification for cgroup 'freezer' controller support : ÉCHEC (Enable 'freezer' in kernel Kconfig file or mount/enable cgroup controller in your system)
- LXC : Vérification for cgroup 'blkio' controller support : PASS
- LXC : Vérification if device /sys/fs/fuse/connections exists : PASS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement