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

kibana-proxy CrashLoopBackoff with error Invalid configuration cookie_secret must be 16, 24, or 32 bytes to create an AES cipher

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Done
    • Logging 5.2
    • Logging 5.2
    • Core
    • None
    • Logging (Core) - Sprint 202
    • Passed
    • NEW
    • NEW
    • Hide
      * Before this update, the `kibana-proxy` Pod sometimes entered the `CrashLoopBackoff` state and logged the following message `Invalid configuration: cookie_secret must be 16, 24, or 32 bytes to create an AES cipher when pass_access_token == true or cookie_refresh != 0, but is 29 bytes.` The exact actual number of bytes could vary. With this update, generation of the Kibana session secret has been corrected, and the kibana-proxy Pod no longer crash loops due to this error.
      Show
      * Before this update, the `kibana-proxy` Pod sometimes entered the `CrashLoopBackoff` state and logged the following message `Invalid configuration: cookie_secret must be 16, 24, or 32 bytes to create an AES cipher when pass_access_token == true or cookie_refresh != 0, but is 29 bytes.` The exact actual number of bytes could vary. With this update, generation of the Kibana session secret has been corrected, and the kibana-proxy Pod no longer crash loops due to this error.

    Description

      A clone of https://issues.redhat.com/browse/OCPBUGSM-25253 for the master branch

      Attachments

        Issue Links

          Activity

            People

              anli@redhat.com Anping Li
              syedriko_sub@redhat.com Sergey Yedrikov
              kabir kabir
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: