libvirtError('virDomainGetAutostart() failed') #199
Replies: 8 comments
-
This Looks very Strange. It fails to get the Information wether if domain autostart setting is configured and the libvirt daemon resets the connection because the api call fails Please Check your libvirt logs and try to get this setting via virsh.. there is something wrong on libvirt side while it would be possible to submit Code to catch this error i would First like to know what causes it bcs ive Never Seen this issue Happening before |
Beta Was this translation helpful? Give feedback.
-
Checked libvirt logs and I do not see anything wrong. |
Beta Was this translation helpful? Give feedback.
-
The autostart setting is ususally stored in /etc/libvirt/qemu/autostart/ Afairc its just a file named like the vm Could be Cockpit machines does something wrong here, the api call shouldnt fail this way |
Beta Was this translation helpful? Give feedback.
-
I am checking on a different VM while tail -f logs. Will also check the autostart stuff. |
Beta Was this translation helpful? Give feedback.
-
Details of the Cockpit implementation |
Beta Was this translation helpful? Give feedback.
-
this is what it looks like if i use cockpit-machines to set the autostart setting (debian 12)
Its basically just a symlink to the vm configuration.
and the backup works w/o issues:
|
Beta Was this translation helpful? Give feedback.
-
I think there was a glitch. Weird! But thanks a lot for looking into this one in real time :) |
Beta Was this translation helpful? Give feedback.
-
hi, i think his issue was caused by the same situation as reported in issue #205 |
Beta Was this translation helpful? Give feedback.
-
Hello I am trying to use the script on a Debian 12.6.
All the VMs were created/managed using Cockpit.
I launched the backup with folliwing command:
$ sudo virtnbdbackup -d <domain_Name>-l auto -o /Backup/VM1
At the end of the process I got the following error:
If I check the directory, it seems that all backup files are there.
To mention that I am creating the backup on a NFS mounted directory.
Is the above an error I should care about? The Guest saved is Home Assistant and it should be also coming with qemu-guest embedded.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions