Bug 2103964

Summary: [RHOSP 18.0] Ceilometer can't read /run/libvirt resulting in no 'cpu' metrics
Product: Red Hat OpenStack Reporter: Leif Madsen <lmadsen>
Component: openstack-tripleo-heat-templatesAssignee: Leif Madsen <lmadsen>
Status: CLOSED UPSTREAM QA Contact: Leonid Natapov <lnatapov>
Severity: high Docs Contact: Joanne O'Flynn <joflynn>
Priority: medium    
Version: 17.0 (Wallaby)CC: mburns
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 18.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2103969 (view as bug list) Environment:
Last Closed: 2022-07-05 23:37:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2103969, 2103970, 2103971    

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.