Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1559676

Summary: ceilometer_agent_centraldocker container doesn't bind /var/log/ceilometer directory with host
Product: Red Hat OpenStack Reporter: Chen <cchen>
Component: openstack-tripleo-heat-templatesAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Omri Hochman <ohochman>
Severity: medium Docs Contact:
Priority: medium    
Version: 12.0 (Pike)CC: jschluet, m.andre, mburns, pkilambi
Target Milestone: z4Keywords: TestOnly, Triaged, ZStream
Target Release: 12.0 (Pike)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-heat-templates-7.0.12-8.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-05 18:52:40 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:

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