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

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.18.0
    • Documentation
    • None
    • Important
    • None
    • False
    • Hide

      None

      Show
      None

      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
          

              ocp-docs-bot OCP DocsBot
              knarra@redhat.com Rama Kasturi Narra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: