Comment 14 for bug 1942390

Revision history for this message
Bartosz Woronicz (mastier1) wrote (last edit ):

I enabled debug: true in rackd and regiond and restarted snap, yet I don't see anything extra there

sudo tail -f /var/snap/maas/common/log/maas.log
...
2024-02-13T17:24:55.021942+00:00 ob88 maas.power: [error] microk8s-2-1: Power state could not be queried: Failed to login to virsh console.
2024-02-13T17:24:55.053085+00:00 ob88 maas.power: [error] microk8s-2-1: Failed to refresh power state: Failed to login to virsh console.

I grep all logs around pkttyagent bit I don't see anything

And I use 3.4.0
installed: 3.4.0-14321-g.1027c7664 (32469) 138MB -

It just happens after reboot sometimes

Libvirt is running. Only the last message is weird.

buntu@ob88:~/work/fce-orangebox88/openstack/yoga$ systemctl status libvirtd
● libvirtd.service - Virtualization daemon
     Loaded: loaded (/lib/systemd/system/libvirtd.service; enabled; vendor preset: enabled)
     Active: active (running) since Tue 2024-02-13 09:18:22 UTC; 8h ago
TriggeredBy: ● libvirtd-admin.socket
             ● libvirtd.socket
             ● libvirtd-ro.socket
       Docs: man:libvirtd(8)
             https://libvirt.org
   Main PID: 2147 (libvirtd)
      Tasks: 22 (limit: 32768)
     Memory: 48.1M
        CPU: 9.590s
     CGroup: /system.slice/libvirtd.service
             └─2147 /usr/sbin/libvirtd

lut 13 09:18:22 ob88 systemd[1]: Starting Virtualization daemon...
lut 13 09:18:22 ob88 systemd[1]: Started Virtualization daemon.
lut 13 09:18:33 ob88 libvirtd[2888]: 2024-02-13 09:18:33.728+0000: 2888: info : libvirt version: 8.0.0, package: 1ubuntu7.8 (Lena Voytek <email address hidden> Wed, 29 Nov 2023 14:52:52 -0700)
lut 13 09:18:33 ob88 libvirtd[2888]: 2024-02-13 09:18:33.728+0000: 2888: info : hostname: ob88
lut 13 09:18:33 ob88 libvirtd[2888]: 2024-02-13 09:18:33.728+0000: 2888: warning : virSecurityValidateTimestamp:206 : Invalid XATTR timestamp detected on /var/lib/libvirt/qemu/domain-5-juju-1/master-key.aes secdriver=dac

I can login with virsh locally

root@ob88:~# ls -la /var/snap/maas/32469/root/.ssh/id_rsa
-rw------- 1 root root 2602 lut 8 14:44 /var/snap/maas/32469/root/.ssh/id_rsa

root@ob88:~# virsh -c qemu+ssh://maas@172.27.88.1/system
Welcome to virsh, the virtualization interactive terminal.

Type: 'help' for help with commands
       'quit' to quit

virsh #
virsh # list
 Id Name State
-------------------------
 4 vault-1 running
 5 juju-1 running