FatmanUK / dreamtrack23

Minimal home automation platform.
0 stars 0 forks source link

[BUG] Virsh not controlling dev domains any more? #53

Open FatmanUK opened 10 months ago

FatmanUK commented 10 months ago

Wtf?

FatmanUK commented 10 months ago

Ansible virt module seems to be bringing them up in some strange connection I'm not aware of.

FatmanUK commented 10 months ago

Autostarted VMs (on the dev host) aren't controllable with virsh. Fix: disable autostart. Check the prod VMs.

FatmanUK commented 10 months ago
❯ sudo lsof | grep home\.\*qcow2$ | cut -d\  -f3 | uniq
4036
4141
4165
4193
4233
4276

❯ ps -few | head -1 && ps -few | egrep -e " (4036|4141|4165|4193|4233|4276)"
UID        PID  PPID  C STIME TTY          TIME CMD
ansible   4036     1  1 09:19 ?        00:00:28 /usr/bin/qemu-system-x86_64 ...
ansible   4141     1  1 09:19 ?        00:00:30 /usr/bin/qemu-system-x86_64 ...
ansible   4165     1  1 09:19 ?        00:00:29 /usr/bin/qemu-system-x86_64 ...
ansible   4193     1  1 09:19 ?        00:00:29 /usr/bin/qemu-system-x86_64 ...
ansible   4233     1  0 09:19 ?        00:00:29 /usr/bin/qemu-system-x86_64 ...
ansible   4276     1  0 09:19 ?        00:00:29 /usr/bin/qemu-system-x86_64 ...
FatmanUK commented 10 months ago

Deferring as not sure if it's fixed? Wait for it to show up again.