Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5059

[release-5.7] Improved error messages for storage secret contents

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • Logging 5.7.z
    • Logging 5.7.10
    • Log Storage
    • None
    • False
    • None
    • False
    • NEW
    • NEW
    • With this update, the error messages produced by the Loki Operator for errors in the storage secret now include the field name making finding the errors easier.
    • Enhancement
    • Log Storage - Sprint 249, Log Storage - Sprint 250, Log Storage - Sprint 251, Log Storage - Sprint 252

      A recent change in Loki Operator 5.9 introduced better error messages for missing parts in the user-provided storage secret. This is a change that we want to backport to older versions as well.

      Previous error messages just read "missing secret field", the new version now also mentions the name of the field, for example:

      missing secret field: bucketnames 

      This error message is also used in the LokiStack status conditions, so it should be more helpful for the users.

              rojacob@redhat.com Robert Jacob
              rojacob@redhat.com Robert Jacob
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: