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

Add a release note about the warning seen when oc 4.18 client is used with oc 4.17 server

XMLWordPrintable

    • Important
    • None
    • 3
    • OSDOCS Sprint 266
    • 1
    • False
    • Hide

      None

      Show
      None
    • Hide
      * If you attempted to log in to a {product-title} 4.17 server by using the {oc-first} that you installed as part of the {product-title} {product-version}, a warning message such as the following example outputs in your terminal:
      +
      [source,termainl]
      ----
      Warning: unknown field "metadata"
      You don't have any projects. You can try to create a new project, by running

          oc new-project <projectname>
      ----
      +
      This warning message is a known issue, but the message does not indicate any functionality issues with {product-title} functionality. You can safely ignore the message and continue to use {product-title} as intended. (link:https://issues.redhat.com/browse/OCPBUGS-44833[*OCPBUGS-44833*])
      Show
      * If you attempted to log in to a {product-title} 4.17 server by using the {oc-first} that you installed as part of the {product-title} {product-version}, a warning message such as the following example outputs in your terminal: + [source,termainl] ---- Warning: unknown field "metadata" You don't have any projects. You can try to create a new project, by running     oc new-project <projectname> ---- + This warning message is a known issue, but the message does not indicate any functionality issues with {product-title} functionality. You can safely ignore the message and continue to use {product-title} as intended. (link: https://issues.redhat.com/browse/OCPBUGS-44833 [* OCPBUGS-44833 *])
    • Known Issue
    • Proposed

      Description of problem:

      When user tries to use oc 4.18 client against 4.17 server it displays below warning on the screen.
      oc login -u testuser-10 -p <xxxx>
      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>
      
          

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

           oc version
      Client Version: 4.18.0-0.nightly-2024-11-20-012210
      Kustomize Version: v5.4.2
      Server Version: 4.17.0-0.nightly-2024-11-19-182702
      Kubernetes Version: v1.30.6
          

      How reproducible:

           Always
          

      Steps to Reproduce:

          1. Install OCP4.17 cluster
          2. Get latest 4.18 client
          3. Run command oc login -u <user> -p <xxxx>
          

      Actual results:

          Below warning is displayed `Warning: unknown field "metadata"` but there is no impact to the functionality
          

      Expected results:

          We need to document this behavior so that user is aware of the same.
          

      Additional info:

      https://issues.redhat.com/browse/OCPBUGS-43486
          

              dfitzmau@redhat.com Darragh Fitzmaurice
              knarra@redhat.com Rama Kasturi Narra
              Rama Kasturi Narra Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: