[Bug 1885430] Please test proposed package
Brian Murray
1885430 at bugs.launchpad.net
Tue Mar 30 18:29:29 UTC 2021
Hello Pedro, or anyone else affected,
Accepted ceilometer into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/ceilometer/1:14.0.0-0ubuntu0.20.04.3
in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1885430
Title:
[Bionic/Stein] Ceilometer-agent fails to collect metrics after restart
Status in OpenStack ceilometer-agent charm:
Confirmed
Status in Ubuntu Cloud Archive:
Fix Committed
Status in Ubuntu Cloud Archive stein series:
Fix Committed
Status in Ubuntu Cloud Archive train series:
Fix Committed
Status in Ubuntu Cloud Archive ussuri series:
Fix Committed
Status in Ubuntu Cloud Archive victoria series:
Fix Committed
Status in ceilometer package in Ubuntu:
Fix Released
Status in ceilometer source package in Focal:
Fix Committed
Status in ceilometer source package in Groovy:
Fix Committed
Status in ceilometer source package in Hirsute:
Fix Released
Bug description:
Bionic/Stein - stable 20.05 charms
Juju 2.7.6
I am aware of: https://bugs.launchpad.net/charm-ceilometer-agent/+bug/1850846
Decided to open a new bug since there was no activity on the previous one and it expired.
After rebooting my cloud (rack-by-rack), I got into a situation where
I could not collect memory.usage from VMs anymore.
Looking into: openstack metric resource --type instance <ID>
I could not see memory.usage there.
Access to ceilometer-agent and I could see the services were on active/running status, but following log was present:
Jun 27 22:34:09 sgdemr0114bp033 ceilometer-agent-compute[2244]: Deprecated: Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
Jun 27 22:34:09 sgdemr0114bp033 ceilometer-agent-compute[2244]: libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
Jun 27 22:34:09 sgdemr0114bp033 ceilometer-agent-compute[2244]: message repeated 33 times: [ libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': No such file or directory]
stat on that /var/run file shows me:
stat /var/run/libvirt/libvirt-sock-ro
File: /var/run/libvirt/libvirt-sock-ro
Size: 0 Blocks: 0 IO Block: 4096 socket
Device: 17h/23d Inode: 1289 Links: 1
Access: (0777/srwxrwxrwx) Uid: ( 0/ root) Gid: ( 118/ libvirt)
Access: 2020-06-28 14:28:47.292838669 +0000
Modify: 2020-06-27 22:34:11.010520529 +0000
Change: 2020-06-27 22:34:11.010520529 +0000
Birth: -
So, I guess there is a race-condition here, where libvirt is opening the socket after ceilometer-agent-compute tried to reach out for it; which gives up and stop working.
Restarting it restores memory.usage back to normal.
However, I still cannot see all the metrics as shown in:
https://bugzilla.redhat.com/show_bug.cgi?id=1437927
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceilometer-agent/+bug/1885430/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list