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

Unable to set capabilities with agent installer based installation

XMLWordPrintable

    • Important
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      The 'capabilities' section of the install-config.yaml was ignored (and a warning message indicating this was printed) when using the agent-based installation method. This meant that none of the default OpenShift 4.12 capabilities could be disabled during installation. The 'capabilities' section is now acted upon and works the same way regardless of the installation method used.
      Show
      The 'capabilities' section of the install-config.yaml was ignored (and a warning message indicating this was printed) when using the agent-based installation method. This meant that none of the default OpenShift 4.12 capabilities could be disabled during installation. The 'capabilities' section is now acted upon and works the same way regardless of the installation method used.
    • Enhancement
    • 3/5: telco reviewed, inherited from OCPBUGS-5129, tracking for 4.12.z

      This is a clone of issue OCPBUGS-5129. The following is the description of the original issue:

      Description of problem:

      I attempted to install a BM SNO with the agent based installer.
      In the install_config, I disabled all supported capabilities except marketplace. Install_config snippet: 
      
      capabilities:
        baselineCapabilitySet: None
        additionalEnabledCapabilities:
        - marketplace
      
      The system installed fine but the capabilities config was not passed down to the cluster. 
      
      clusterversion: 
      status:
          availableUpdates: null
          capabilities:
            enabledCapabilities:
            - CSISnapshot
            - Console
            - Insights
            - Storage
            - baremetal
            - marketplace
            - openshift-samples
            knownCapabilities:
            - CSISnapshot
            - Console
            - Insights
            - Storage
            - baremetal
            - marketplace
            - openshift-samples
      
      oc -n kube-system get configmap cluster-config-v1 -o yaml
      apiVersion: v1
      data:
        install-config: |
          additionalTrustBundlePolicy: Proxyonly
          apiVersion: v1
          baseDomain: ptp.lab.eng.bos.redhat.com
          bootstrapInPlace:
            installationDisk: /dev/disk/by-id/wwn-0x62cea7f04d10350026c6f2ec315557a0
          compute:
          - architecture: amd64
            hyperthreading: Enabled
            name: worker
            platform: {}
            replicas: 0
          controlPlane:
            architecture: amd64
            hyperthreading: Enabled
            name: master
            platform: {}
            replicas: 1
          metadata:
            creationTimestamp: null
            name: cnfde8
          networking:
            clusterNetwork:
            - cidr: 10.128.0.0/14
              hostPrefix: 23
            machineNetwork:
            - cidr: 10.16.231.0/24
            networkType: OVNKubernetes
            serviceNetwork:
            - 172.30.0.0/16
          platform:
            none: {}
          publish: External
          pullSecret: ""
      
      
      
      
      
      

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

      4.12.0-rc.5

      How reproducible:

      100%

      Steps to Reproduce:

      1. Install SNO with agent based installer as described above
      2.
      3.
      

      Actual results:

      Capabilities installed  

      Expected results:

      Capabilities not installed 

      Additional info:

       

              zabitter Zane Bitter
              openshift-crt-jira-prow OpenShift Prow Bot
              Manoj Hans Manoj Hans
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: