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

[rosa-] Issue in file rosa_cluster_admin/rosa_nodes/rosa-managing-worker-nodes.adoc

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Following description is not proper as it's possible to use only two zones in ROSA HCP and in that scenario the count can be a multiple of 2.
      
      > the number of compute nodes to provision in total across all zones and the count must be a multiple of 3
      
      > A Multi-AZ machine pool with three availability zones can have a machine count in multiples of 3 only, such as 3, 6, 9, and so on.

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

      NA

      How reproducible:

      Always.

       

      Steps to Reproduce:

      1. Use following subnets for ROSA HCP cluster creation:

      private subnets: subnet-0684baa7c09461c17,subnet-08faa27c7f4dec755 public subnets: subnet-04b0084d28c6f1611

      2. Use following command to create ROSA HCP with two zones:

      $ rosa create cluster --cluster-name=*** --hosted-cp --operator-roles-prefix *** --oidc-config-id *** --subnet-ids=subnet-0684baa7c09461c17,subnet-08faa27c7f4dec755,subnet-04b0084d28c6f1611

      3. Worker nodes in two zones after creation:

      $ rosa list machinepool -c *** 
      ID AUTOSCALING REPLICAS INSTANCE TYPE LABELS TAINTS AVAILABILITY ZONE SUBNET DISK SIZE VERSION AUTOREPAIR 
      workers-0 No 1/1 m5.xlarge us-east-2a subnet-0684baa7c09461c17 300 GiB 4.15.39 Yes 
      workers-1 No 1/1 m5.xlarge us-east-2b subnet-08faa27c7f4dec755 300 GiB 4.15.39 Yes

      4. If replicas set to non 2 multiples when creating cluster following error occur:

      E: Hosted clusters require that the number of compute nodes be a multiple of the number of private subnets 2, instead received: 3

       

      Actual results:

      Document says only 3 zones scenario, as ROSA HCP 2 zones is possible please modify document in a more comprehensive way.

       

      Expected results:

      For ROSA Classic:

      > the number of compute nodes to provision in total across all zones and the count must be a multiple of 3
      > A Multi-AZ machine pool with three availability zones can have a machine count in multiples of 3 only, such as 3, 6, 9, and so on.

      For ROSA HCP:

      > the number of compute nodes to provision in total across all zones and the count must be a multiple of 3 when use 3 zones, the count must be a multiple of 2 when use 2 zones.
      > A Multi-AZ machine pool with three availability zones can have a machine count in multiples of 3 only, such as 3, 6, 9, and so on. A Multi-AZ machine pool with two availability zones can have a machine count in multiple of 2 only.

       

      Additional info:

      If possible please clarify why 3 zones is necessary and 2 zones can be used in ROSA HCP for Multi-AZ cluster.

              rhn-support-skaranth Shashank Karanth
              rhn-support-hqiao Miao Qiao
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: