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

oc adm release extract --included should extract new-in-4.16 caps

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 4.16
    • oc / update
    • None
    • Moderate
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

          When running `oc adm release extract --included --credentials-requests` on a 4.15 gcp cluster(baselineCapabilitySet: None+additionalEnabledCapabilities: MachineAPI CloudCredential) for a tobe-upgraded 4.16 release payload, the CR of the new caps in 4.16 is not extracted.

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

          # ./oc version
      Client Version: 4.16.0-rc.2

      How reproducible:

          always

      Steps to Reproduce:

          1. set up a 4.15.15 cluster(None in baselineCapabilitySet + MachineAPI and CloudCredential in additionalEnabledCapabilities)
          2. run oc adm release extract to extract CR based above cluster for a 4.16.0-rc.3 release payload 
          3.     

      Actual results:

          there is not the new-in-4.16 cap(CloudControllerManager, Ingress) CR.

      Expected results:

          the new-in-4.16 cap(CloudCredential) CR should be extracted.

      Additional info:

          after upgrade the cluster to 4.16, run `oc adm release extract --included --credentials-requests`, it will extract CR including the new caps.
      # grep -rh "capability.openshift.io/name:" /tmp/post-include-creds
      CloudCredential 
      CloudCredential+CloudControllerManager 
      CloudCredential+Ingress 
      MachineAPI+CloudCredential 

              Unassigned Unassigned
              rhn-support-jiajliu Jia Liu
              Jia Liu Jia Liu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: