Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-8209

mariadb/galera service logs are lost after pod are restarted twice

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • rhos-18.0.0
    • rhos-18.0 Beta, rhos-18.0.0
    • mariadb-operator
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • No Docs Impact
    • ?
    • Committed
    • None
    • Release Note Not Required
    • Important

      By design, kubernetes environment collect logs from pods and store them temporarily as files on worker nodes. The contents of those files is what is being logged by commands: oc logs <pod> or oc log --previous <pod>

      The logs on disk are only kept for the last two interation of a pod. As a corollary, once a pod has restarted three times, old logs are pruned by k8s and the service logs are lost.

      This is an issue for investigation purpose, as it is not uncommon that the galera pods are restarted, and we do not enforce any logging for the pods from the OpenStack control plane.

              rhn-engineering-dciabrin Damien Ciabrini
              rhn-engineering-dciabrin Damien Ciabrini
              rhos-dfg-pidone
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: