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

HostPrefix/pod cidr mask is not setup correctly in the nodes

XMLWordPrintable

    • No
    • False
    • Hide

      None

      Show
      None

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

      Description of problem:

      In ROSA, user can be specified an HostPrefix, but we are currently not passing it to the HostedCluster CR. Trying to fix it, it seems that we are not setting up it correctly in the Nodes.

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

      4.12.16

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create an HC. Inside the spec add 
        networking:
          clusterNetwork:
          - cidr: 10.128.0.0/14
            hostPrefix: 25
      2. Deploy the HC. Check its configuration. 

      Actual results:

      oc get network cluster is showing the right config (see attachment) 
      An oc describe node is always showing a /24 hostPrefix.
      
      Note that this is valid also with the default value of /23. In the node, under podCIDR I always see something like
      PodCIDR:                                   10.128.1.0/24 
      PodCIDRs:                                  10.128.1.0/24 

      Expected results:

      I would expect the pod cidr mask to be reflected in the pod configuration

      Additional info:

      pod cidr is correctly set

            agarcial@redhat.com Alberto Garcia Lamela
            openshift-crt-jira-prow OpenShift Prow Bot
            Jie Zhao Jie Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: