Bug 2103964 - [RHOSP 18.0] Ceilometer can't read /run/libvirt resulting in no 'cpu' metrics
Summary: [RHOSP 18.0] Ceilometer can't read /run/libvirt resulting in no 'cpu' metrics
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: Upstream M3
: 18.0
Assignee: Leif Madsen
QA Contact: Leonid Natapov
Joanne O'Flynn
URL:
Whiteboard:
Depends On:
Blocks: 2103969 2103970 2103971
TreeView+ depends on / blocked
 
Reported: 2022-07-05 12:30 UTC by Leif Madsen
Modified: 2022-07-05 23:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2103969 (view as bug list)
Environment:
Last Closed: 2022-07-05 23:37:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 848656 0 None NEW Allow ceilometer compute agent to access /run/libvirt 2022-07-05 12:45:59 UTC
Red Hat Issue Tracker OSP-16240 0 None None None 2022-07-05 12:35:30 UTC

Description Leif Madsen 2022-07-05 12:30:06 UTC
Description of problem: The ceilometer-agent-compute-container is mounted with `ro` permissions on the `/var/run/libvirt` directory. This results in an inability to read the contents of files required for the `cpu` telemetry metric.


Version-Release number of selected component (if applicable): 17.1


How reproducible: Always


Steps to Reproduce:
1. Deploy ceilometer
2. Note the lack of cpu metric
3. Check logs, see polling is unable to read file out of /var/run/libvirt


Additional info: The permissions of the mounted directory should be `shared` not `ro`.

Comment 3 Leif Madsen 2022-07-05 23:37:42 UTC
Closing this as this is merged upstream. There is no downstream import for this version currently.


Note You need to log in before you can comment on or make changes to this bug.