container health checks are way to verbose by default in Train

Bug #1893972 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Alex Schultz

Bug Description

By default the health checks in train are printing an excessive amount of debug detail into the logs. We have made this configurable starting in ussuri via https://review.opendev.org/#/c/708339/ but this patch includes a bunch of extra changes which were buggy. We don't want to backport those, but would like to be able to configure the verbosity of the health checks in Train.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-common (stable/train)

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

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

Reviewed: https://review.opendev.org/749554
Committed: https://git.openstack.org/cgit/openstack/tripleo-common/commit/?id=0e83acbbde1fa9d2f01fa560335258c9693a27f9
Submitter: Zuul
Branch: stable/train

commit 0e83acbbde1fa9d2f01fa560335258c9693a27f9
Author: Alex Schultz <email address hidden>
Date: Wed Sep 2 10:40:31 2020 -0600

    [TRAIN-Only] Add healthcheck debug flag

    This is a partial cherry-pick of d03401438c22e59d4f51cedfd0af6d7d48328d45
    due the other changes in that commit included more complex changes
    which needed further patches to address issues.

    This change adds a HEALTHCHECK_DEBUG environment variable to the
    common health check script to allow a user to enable debug verbosity
    when executing a health check. By default this will be off which should
    reduce the amount of logging generated by the container healthchecks.

    In order to get verbose mode when running the healthcheck directly, you
    can do as follow:

    podman exec -u root -ti <container> bash
    HEALTHCHECK_DEBUG=1 ./openstack/healthcheck
    or
    podman -u root -e "HEALTHCHECK_DEBUG=1" <container> /openstack/healthcheck

    and enjoy a nice debug output.

    Closes-Bug: #1893972
    Change-Id: Ia15bca89261fecc857afef13680b05aba77fc8de

tags: added: in-stable-train
Changed in tripleo:
milestone: victoria-3 → wallaby-1
Changed in tripleo:
milestone: wallaby-1 → wallaby-2
Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common 11.5.0

This issue was fixed in the openstack/tripleo-common 11.5.0 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.