glance_api_tls_proxy logs are not persisted

Bug #1854343 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Michele Baldessari

Bug Description

The logs for the glance_api_tls_proxy containers are not persisted on the host and hence get lost at the restart of the container.
Said container has httpd inside of it so we need to make sure that the httpd logs are persisted on the host just like the other containers that use httpd

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.opendev.org/696520

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.opendev.org/696520
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=f22dce44779a3b2d0f08c991d388b2c55829664a
Submitter: Zuul
Branch: master

commit f22dce44779a3b2d0f08c991d388b2c55829664a
Author: Michele Baldessari <email address hidden>
Date: Thu Nov 28 12:16:05 2019 +0100

    Make sure glance_api_tls_proxy logs are persisted on the host

    The logs for the glance_api_tls_proxy containers are not persisted on
    the host and hence get lost at the restart of the container. Said
    container has httpd inside of it so we need to make sure that the httpd
    logs are persisted on the host just like the other containers that use
    httpd.

    Tested this review and I correctly get the logs persisted on a
    TLS-everywhere environment:
    [root@controller-0 ~]# ls -l /var/log/containers/httpd/glance/
    total 1040
    -rw-r--r--. 1 root root 5864 Nov 28 10:07 error_log
    -rw-r--r--. 1 root root 544043 Nov 28 11:17 glance-api-proxy_access_ssl.log
    -rw-r--r--. 1 root root 4360 Nov 28 10:07 glance-api-proxy_error_ssl.log

    Change-Id: Id4f24e171867adc445eca55b3908360c8f3f6f30
    Closes-Bug: #1854343

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/train)

Reviewed: https://review.opendev.org/696640
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=a764b832e2fc17bd3087d08c129a3b53d2bf083b
Submitter: Zuul
Branch: stable/train

commit a764b832e2fc17bd3087d08c129a3b53d2bf083b
Author: Michele Baldessari <email address hidden>
Date: Thu Nov 28 12:16:05 2019 +0100

    Make sure glance_api_tls_proxy logs are persisted on the host

    The logs for the glance_api_tls_proxy containers are not persisted on
    the host and hence get lost at the restart of the container. Said
    container has httpd inside of it so we need to make sure that the httpd
    logs are persisted on the host just like the other containers that use
    httpd.

    Tested this review and I correctly get the logs persisted on a
    TLS-everywhere environment:
    [root@controller-0 ~]# ls -l /var/log/containers/httpd/glance/
    total 1040
    -rw-r--r--. 1 root root 5864 Nov 28 10:07 error_log
    -rw-r--r--. 1 root root 544043 Nov 28 11:17 glance-api-proxy_access_ssl.log
    -rw-r--r--. 1 root root 4360 Nov 28 10:07 glance-api-proxy_error_ssl.log

    NB: Slight conflict on deployment/glance/glance-api-logging-file-container.yaml

    Change-Id: Id4f24e171867adc445eca55b3908360c8f3f6f30
    Closes-Bug: #1854343
    (cherry picked from commit f22dce44779a3b2d0f08c991d388b2c55829664a)

tags: added: in-stable-train
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/stein)

Fix proposed to branch: stable/stein
Review: https://review.opendev.org/696705

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/stein)

Reviewed: https://review.opendev.org/696705
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=53465f7f298af33bd0404ed10af09f76b7eab0d8
Submitter: Zuul
Branch: stable/stein

commit 53465f7f298af33bd0404ed10af09f76b7eab0d8
Author: Michele Baldessari <email address hidden>
Date: Thu Nov 28 12:16:05 2019 +0100

    Make sure glance_api_tls_proxy logs are persisted on the host

    The logs for the glance_api_tls_proxy containers are not persisted on
    the host and hence get lost at the restart of the container. Said
    container has httpd inside of it so we need to make sure that the httpd
    logs are persisted on the host just like the other containers that use
    httpd.

    Tested this review and I correctly get the logs persisted on a
    TLS-everywhere environment:
    [root@controller-0 ~]# ls -l /var/log/containers/httpd/glance/
    total 1040
    -rw-r--r--. 1 root root 5864 Nov 28 10:07 error_log
    -rw-r--r--. 1 root root 544043 Nov 28 11:17 glance-api-proxy_access_ssl.log
    -rw-r--r--. 1 root root 4360 Nov 28 10:07 glance-api-proxy_error_ssl.log

    NB: Slight conflict on deployment/glance/glance-api-logging-file-container.yaml

    Change-Id: Id4f24e171867adc445eca55b3908360c8f3f6f30
    Closes-Bug: #1854343
    (cherry picked from commit f22dce44779a3b2d0f08c991d388b2c55829664a)
    (cherry picked from commit a764b832e2fc17bd3087d08c129a3b53d2bf083b)

tags: added: in-stable-stein
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/696904

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/rocky)

Reviewed: https://review.opendev.org/696904
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=cc98ad60ef1181bf0c0582c081022fa4b4592ec2
Submitter: Zuul
Branch: stable/rocky

commit cc98ad60ef1181bf0c0582c081022fa4b4592ec2
Author: Michele Baldessari <email address hidden>
Date: Thu Nov 28 12:16:05 2019 +0100

    Make sure glance_api_tls_proxy logs are persisted on the host

    The logs for the glance_api_tls_proxy containers are not persisted on
    the host and hence get lost at the restart of the container. Said
    container has httpd inside of it so we need to make sure that the httpd
    logs are persisted on the host just like the other containers that use
    httpd.

    Tested this review and I correctly get the logs persisted on a
    TLS-everywhere environment:
    [root@controller-0 ~]# ls -l /var/log/containers/httpd/glance/
    total 1040
    -rw-r--r--. 1 root root 5864 Nov 28 10:07 error_log
    -rw-r--r--. 1 root root 544043 Nov 28 11:17 glance-api-proxy_access_ssl.log
    -rw-r--r--. 1 root root 4360 Nov 28 10:07 glance-api-proxy_error_ssl.log

    NB: Slight conflict on deployment/glance/glance-api-logging-file-container.yaml

    Change-Id: Id4f24e171867adc445eca55b3908360c8f3f6f30
    Closes-Bug: #1854343
    (cherry picked from commit f22dce44779a3b2d0f08c991d388b2c55829664a)
    (cherry picked from commit a764b832e2fc17bd3087d08c129a3b53d2bf083b)
    (cherry picked from commit 53465f7f298af33bd0404ed10af09f76b7eab0d8)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/699355

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

Reviewed: https://review.opendev.org/699355
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=05e7406a2b346e9b84cf0c6cd605cc26935997f6
Submitter: Zuul
Branch: stable/queens

commit 05e7406a2b346e9b84cf0c6cd605cc26935997f6
Author: Michele Baldessari <email address hidden>
Date: Thu Nov 28 12:16:05 2019 +0100

    Make sure glance_api_tls_proxy logs are persisted on the host

    The logs for the glance_api_tls_proxy containers are not persisted on
    the host and hence get lost at the restart of the container. Said
    container has httpd inside of it so we need to make sure that the httpd
    logs are persisted on the host just like the other containers that use
    httpd.

    Tested this review and I correctly get the logs persisted on a
    TLS-everywhere environment:
    [root@controller-0 ~]# ls -l /var/log/containers/httpd/glance/
    total 1040
    -rw-r--r--. 1 root root 5864 Nov 28 10:07 error_log
    -rw-r--r--. 1 root root 544043 Nov 28 11:17 glance-api-proxy_access_ssl.log
    -rw-r--r--. 1 root root 4360 Nov 28 10:07 glance-api-proxy_error_ssl.log

    NB: Slight conflict on deployment/glance/glance-api-logging-file-container.yaml

    Change-Id: Id4f24e171867adc445eca55b3908360c8f3f6f30
    Closes-Bug: #1854343
    (cherry picked from commit f22dce44779a3b2d0f08c991d388b2c55829664a)
    (cherry picked from commit a764b832e2fc17bd3087d08c129a3b53d2bf083b)
    (cherry picked from commit 53465f7f298af33bd0404ed10af09f76b7eab0d8)
    (cherry picked from commit cc98ad60ef1181bf0c0582c081022fa4b4592ec2)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 11.3.1

This issue was fixed in the openstack/tripleo-heat-templates 11.3.1 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 12.1.0

This issue was fixed in the openstack/tripleo-heat-templates 12.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates rocky-eol

This issue was fixed in the openstack/tripleo-heat-templates rocky-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates queens-eol

This issue was fixed in the openstack/tripleo-heat-templates queens-eol release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates stein-eol

This issue was fixed in the openstack/tripleo-heat-templates stein-eol release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.