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

oc 4.18 login shows `Warning: unknown field "metadata"` due to SAR request

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18.0
    • openshift-apiserver
    • None
    • Critical
    • Yes
    • Approved
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      oc 4.18 login shows `Warning: unknown field "metadata"` due to SAR request.
      oc 4.17 login has no such issue.
          

      Version-Release number of selected component (if applicable):

      oc version 4.18.0-0.nightly-2024-10-17-012331

      How reproducible:

      Always

      Steps to Reproduce:

      1. $ oc login -u xxx -p xxx
      Login successful.
      
      Warning: unknown field "metadata"
      You don't have any projects. You can try to create a new project, by running
      
          oc new-project <projectname>    

      Actual results:

      1. It always shows Warning: unknown field "metadata"

      Expected results:

      1. It should not show Warning: unknown field "metadata"

      Additional info:

      4.17 oc does not have the issue.

              Unassigned Unassigned
              xxia-1 Xingxing Xia
              Xingxing Xia Xingxing Xia
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: