Kolla logs not mounted into elasticsearch container

Bug #1859162 reported by Doug Szumski
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Doug Szumski
Rocky
Won't Fix
Medium
Unassigned
Stein
Won't Fix
Medium
Unassigned
Train
Fix Committed
Medium
Doug Szumski
Ussuri
Fix Released
Medium
Doug Szumski

Bug Description

Elasticsearch writes logs to to /var/log/kolla/elasticsearch, but since the kolla_logs volume is not mounted into that location they are written to the container filesystem. We need to mount the logs volume in.

Doug Szumski (dszumski)
Changed in kolla-ansible:
assignee: nobody → Doug Szumski (dszumski)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)

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

Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Indeed, I thought it only had logs via: docker logs elasticsearch

Mark Goddard (mgoddard)
Changed in kolla-ansible:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/701930
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=1917d1a9f54a86b1376b54652804070b307673ea
Submitter: Zuul
Branch: master

commit 1917d1a9f54a86b1376b54652804070b307673ea
Author: Doug Szumski <email address hidden>
Date: Fri Jan 10 10:14:20 2020 +0000

    Use kolla_logs volume for Elasticsearch

    This patch mounts the kolla_logs volume into the Elasticsearch
    container so that logs are no longer written to the container
    filesystem. It is up to the user to migrate any existing logs
    into the kolla_logs volume, if they so desire.

    Closes-Bug: #1859162
    Change-Id: Ia1743e202e310fc88a61476c80eadf3855256c20

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/train)

Fix proposed to branch: stable/train
Review: https://review.opendev.org/740015

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/train)

Reviewed: https://review.opendev.org/740015
Committed: https://git.openstack.org/cgit/openstack/kolla-ansible/commit/?id=0c1b326e32d7d6f1470e4ee6a83cfcafbdedcc69
Submitter: Zuul
Branch: stable/train

commit 0c1b326e32d7d6f1470e4ee6a83cfcafbdedcc69
Author: Doug Szumski <email address hidden>
Date: Fri Jan 10 10:14:20 2020 +0000

    Use kolla_logs volume for Elasticsearch

    This patch mounts the kolla_logs volume into the Elasticsearch
    container so that logs are no longer written to the container
    filesystem. It is up to the user to migrate any existing logs
    into the kolla_logs volume, if they so desire.

    Closes-Bug: #1859162
    Change-Id: Ia1743e202e310fc88a61476c80eadf3855256c20
    (cherry picked from commit 1917d1a9f54a86b1376b54652804070b307673ea)

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.