Bug 1559676 - ceilometer_agent_centraldocker container doesn't bind /var/log/ceilometer directory with host
Summary: ceilometer_agent_centraldocker container doesn't bind /var/log/ceilometer dir...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z4
: 12.0 (Pike)
Assignee: Pradeep Kilambi
QA Contact: Omri Hochman
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-23 01:42 UTC by Chen
Modified: 2023-09-15 01:26 UTC (History)
4 users (show)

Fixed In Version: openstack-tripleo-heat-templates-7.0.12-8.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-05 18:52:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 542763 0 None MERGED Mount central agent log dir to access outside the container 2020-05-21 23:06:04 UTC
Red Hat Issue Tracker OSP-5012 0 None None None 2022-08-16 09:57:01 UTC
Red Hat Product Errata RHBA-2018:3789 0 None None None 2018-12-05 18:54:21 UTC

Description Chen 2018-03-23 01:42:32 UTC
Description of problem:

ceilometer_agent_centraldocker container doesn't bind /var/log/ceilometer directory with host

# sudo docker ps | grep ceilo
c5d85dc3cd2a        192.168.24.31:5000/rhosp12/openstack-ceilometer-notification:latest   "kolla_start"            3 weeks ago         Up 3 weeks (healthy)                       ceilometer_agent_notification
4ff98e78fcfd        192.168.24.31:5000/rhosp12/openstack-ceilometer-central:latest        "kolla_start"            3 weeks ago         Up 3 weeks (healthy)                       ceilometer_agent_central
# sudo docker inspect | grep 4ff98e78fcfd  | less
...
            "Binds": [
                "/etc/localtime:/etc/localtime:ro",
                "/etc/puppet:/etc/puppet:ro",
                "/etc/pki/ca-trust/extracted:/etc/pki/ca-trust/extracted:ro",
                "/etc/pki/tls/certs/ca-bundle.crt:/etc/pki/tls/certs/ca-bundle.crt:ro",
                "/var/lib/kolla/config_files/ceilometer_agent_central.json:/var/lib/kolla/config_files/config.json:ro",
                "/var/lib/config-data/puppet-generated/ceilometer/:/var/lib/kolla/config_files/src:ro",
                "/etc/hosts:/etc/hosts:ro",
                "/etc/pki/tls/certs/ca-bundle.trust.crt:/etc/pki/tls/certs/ca-bundle.trust.crt:ro",
                "/etc/pki/tls/cert.pem:/etc/pki/tls/cert.pem:ro",
                "/dev/log:/dev/log",
                "/etc/ssh/ssh_known_hosts:/etc/ssh/ssh_known_hosts:ro"
            ], 

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

OSP12

How reproducible:

100%

Steps to Reproduce:
1.
2.
3.

Actual results:

As the /var/log/ceilometer is not bind, we can't check logs of ceilometer central under /var/log/containers/ceilometer. Plus if we restart/kill ceilometer_agent_central then the logs will be lost.

Expected results:

/var/log/ceilometer should bind with host /var/log/containers/ceilometer like ceilometer_agent_notification does.

Additional info:

Comment 1 Chen 2018-04-02 06:45:21 UTC
Hi Pradeep,

Sorry for the noise. Can we get any update for this issue ?

Best Regards,
Chen

Comment 6 Lon Hohberger 2018-09-11 10:37:05 UTC
According to our records, this should be resolved by openstack-tripleo-heat-templates-7.0.12-8.el7ost.  This build is available now.

Comment 9 errata-xmlrpc 2018-12-05 18:52:40 UTC
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:3789

Comment 10 Red Hat Bugzilla 2023-09-15 01:26:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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