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

Inconsistent subnet role name for bootstrap node (aws.vpc.subnets.roles)

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Moderate
    • None
    • None
    • None
    • Installer Sprint 269
    • 1
    • Done
    • Release Note Not Required
    • N/A
    • None
    • None
    • None
    • None

      Description of problem:

      The subnet role name for bootstrap node is not consistent:
      
      1. It's called `Bootstrap` in `openshift-install explain installconfig.platform.aws.vpc.subnets.roles`
      ...
      FIELDS:
          type <string> -required-
            Valid Values: "ClusterNode","EdgeNode","Bootstrap","IngressControllerLB","ControlPlaneExternalLB","ControlPlaneInternalLB"
            Type specifies the type of role (aka function) that the subnet will provide in the cluster.
      Role types include ClusterNode, EdgeNode, Bootstrap, IngressControllerLB, ControlPlaneExternalLB, and ControlPlaneInternalLB. 
      
      2. Actually `BootstrapNode` is supported by installer:
      level=error msg="failed to fetch Master Machines: failed to load asset \"Install Config\": failed to create install config: invalid \"install-config.yaml\" file: [platform.aws.vpc.subnets[1].roles[2].type: Unsupported value: \"Bootstrap\": supported values: \"BootstrapNode\", \"ClusterNode\", \"ControlPlaneExternalLB\", \"ControlPlaneInternalLB\", \"EdgeNode\", \"IngressControllerLB\", platform.aws.vpc.subnets: Invalid value: []aws.Subnet{aws.Subnet{ID:\"subnet-099756b44ea2c3a12\", Roles:[]aws.SubnetRole{aws.SubnetRole{Type:\"ControlPlaneInternalLB\"}, aws.SubnetRole{Type:\"ClusterNode\"}}}, aws.Subnet{ID:\"subnet-0e9599a396c80bae9\", Roles:[]aws.SubnetRole{aws.SubnetRole{Type:\"IngressControllerLB\"}, aws.SubnetRole{Type:\"ControlPlaneExternalLB\"}, aws.SubnetRole{Type:\"Bootstrap\"}}}}: roles [BootstrapNode] must be assigned to at least 1 subnet]"
      
      3. In design doc [1], it's called `Bootstrap`
      
      [1] https://github.com/openshift/enhancements/pull/1634/files#diff-ffcfdf0d21ba360a17e0ac9846e83eec8ecf0ba8b15d429d42e7de2dbd0bfaf7R69
      
      
          

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

      4.19.0-0.nightly-2025-03-14-061055
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1. openshift-install explain installconfig.platform.aws.vpc.subnets.roles
          2. Specify subnet role `Bootstrap` in config file, and create manifests
          3.
          

      Actual results:

          

      Expected results:

      consistent bootstrap role name
          

      Additional info:

          

              rh-ee-thvo Thuan Vo
              yunjiang-1 Yunfei Jiang
              None
              None
              Yunfei Jiang Yunfei Jiang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: