Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1576596 - Collectd container does not bind mount /var/run/libvirt
Collectd container does not bind mount /var/run/libvirt
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
12.0 (Pike)
x86_64 Linux
medium Severity low
: z2
: 13.0 (Queens)
Assigned To: Matthias Runge
Sasha Smolyak
: Triaged, ZStream
Depends On:
Blocks: 1488413 1592552
  Show dependency treegraph
 
Reported: 2018-05-09 17:38 EDT by rosingh
Modified: 2018-08-29 12:37 EDT (History)
11 users (show)

See Also:
Fixed In Version: openstack-tripleo-heat-templates-8.0.4-3.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1592552 (view as bug list)
Environment:
Last Closed: 2018-08-29 12:36:37 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
OpenStack gerrit 567783 None master: ABANDONED tripleo-heat-templates: Add bind-mount to /var/run/libvirt (Iaf91bbed99c8fe6a6ff34374530e761db3b32866) 2018-07-18 21:48 EDT
OpenStack gerrit 570516 None stable/queens: MERGED tripleo-heat-templates: collectd: give access to the libvirt socket in ro (I52b32ebecfe1fc270bda7d5c0e7e90ce273e72a6) 2018-07-18 21:48 EDT
OpenStack gerrit 570517 None stable/pike: MERGED tripleo-heat-templates: collectd: give access to the libvirt socket in ro (I52b32ebecfe1fc270bda7d5c0e7e90ce273e72a6) 2018-07-18 21:48 EDT
Red Hat Product Errata RHBA-2018:2574 None None None 2018-08-29 12:37 EDT

  None (edit)
Description rosingh 2018-05-09 17:38:49 EDT
Description of problem:
[OSP12] Collectd container does not bind mount /var/run/libvirt

Version-Release number of selected component (if applicable):
When deploying the collectd container, one thing missing is the ability to monitor virt stats, by having /var/run/libvirt bind mounted.

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 Cody Swanson 2018-05-09 17:53:44 EDT
This patch to /usr/share/openstack-tripleo-heat-templates/docker/services/collectd.yaml by Sean Pryor adds the bind mount to the collectd container. 

diff --git a/docker/services/collectd.yaml b/docker/services/collectd.yaml
index 09a892e..b2d1612 100644
--- a/docker/services/collectd.yaml
+++ b/docker/services/collectd.yaml
@@ -106,6 +106,7 @@ outputs:
                   - /var/lib/config-data/puppet-generated/collectd/:/var/lib/kolla/config_files/src:ro
                   - /var/log/containers/collectd:/var/log/collectd:rw
                   - /var/run/openvswitch:/var/run/openvswitch:ro
+                  - /var/run/libvirt:/var/run/libvirt:ro
             environment:
               - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
       host_prep_tasks:
Comment 5 Matthias Runge 2018-05-28 11:12:45 EDT
The backport merged upstream: 
https://review.openstack.org/#/c/570517/
Comment 15 Joanne O'Flynn 2018-08-15 03:57:01 EDT
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.
Comment 16 Matthias Runge 2018-08-15 04:53:40 EDT
This fixes a bug to provide just the expected and document behaviour. No documentation is required here.
Comment 18 errata-xmlrpc 2018-08-29 12:36:37 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:2574

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