Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-205

[release-4.10] Add support for BUILDAH_QUIET environment variable


    • Moderate
    • None
    • Sprint 223
    • 1
    • False
    • Hide



      Description of problem:
      Previously we had a bug opened for "Reduce buildah log level for default build log level [NEEDINFO]":


      We suggested customer using secrets, however, customer confirmed that they are using secrets as per:

      But not able to use "--quiet" build argument since they are using openshift s2i config:

      type: Source
      kind: ImageStreamTag
      namespace: xxxxxxx
      name: 's2i-xxxxxx-xxxxxxx:v1.0.0'

      Actual results:
      Under this setting, the secret as well as every other openshift secret are printed.

      Expected results:
      Sensitive information (ENV) should not appear in build logs

      Additional info:
      Maybe pass the --quiet option via the buildconfig fir s2i?

      — Additional comment from taxu@redhat.com on 2022-07-01 03:42:46 UTC —

      Hi Build team,

      I see that the target release for this bug is 4.11.0

      Please let us know where to add the LOG_LEVEL for s2i and/or passing "--quiet" options once the fix is deployed.

      Kind regards,

      Tao Xu

      — Additional comment from aos-team-art-private@redhat.com on 2022-07-13 06:44:30 UTC —

      Elliott changed bug status from MODIFIED to ON_QA.
      This bug is expected to ship in the next 4.12 release.

      — Additional comment from rdlugyhe@redhat.com on 2022-07-26 20:34:06 UTC —

      Please approve the updated Doc Text.

      — Additional comment from cdaley@redhat.com on 2022-07-26 20:49:05 UTC —


      — Additional comment from jitsingh@redhat.com on 2022-07-27 04:48:18 UTC —


      — Additional comment from oarribas@redhat.com on 2022-08-15 12:11:23 UTC —

      @Corey, I can see this BZ now verified for 4.12. Can this be backported to previous OCP versions?

      — Additional comment from cdaley@redhat.com on 2022-08-15 13:57:02 UTC —

      What version are you interested in getting it backported to?

      — Additional comment from oarribas@redhat.com on 2022-08-15 15:46:10 UTC —

      @Corey, I can see only 4.10 and 4.11 as "Full Support" in [1], so at least to those versions.

            cdaley Corey Daley
            cdaley Corey Daley
            Jitendar Singh Jitendar Singh
            Rolfe Dlugy-Hegwer Rolfe Dlugy-Hegwer
            0 Vote for this issue
            4 Start watching this issue