Public bug reported:
The libvirtd service being started during boot doesn't mean it is still running
during shutdown.
libvirt-guests.sh waits around for 10 seconds trying to communicate with it,
re-trying once per second.
The desire is that it either doesn't run at all or it checks if libvirtd is
even running before wasting the 10 seconds.
As a use case example:
I often disable extraneous services so as to get my test server to be very
"idle", much more idle than a typical user, particularly with a desktop type
GUI, can achieve. I can easily re-boot 50 times in a day, and get hit by this
10 seconds every time.
Example:
Dec 01 13:52:13 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 10
Dec 01 13:52:14 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 9
Dec 01 13:52:15 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 8
Dec 01 13:52:16 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 7
Dec 01 13:52:17 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 6
Dec 01 13:52:18 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 5
Dec 01 13:52:19 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 4
Dec 01 13:52:20 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 3
Dec 01 13:52:21 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 2
Dec 01 13:52:22 goom-i5 libvirt-guests.sh[3717]: Unable to connect to libvirt
currently. Retrying .. 1Can't connect to default. Skipping.
This occurs on my old 16.04 test server and a newly created 20.04 test
server.
** Affects: libvirt (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854653
Title:
during shutdown libvirt-guests.sh shouldn't run if libvirtd isn't
running
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1854653/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs