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

Detect that number of configured hosts exceeds the replicas

XMLWordPrintable

    • Moderate
    • No
    • Sprint 241, Sprint 242
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      https://issues.redhat.com//browse/OCPBUGS-10342 tracked the issue when the number of replicas exceeded the number of hosts. However, it does not detect the case when the number of hosts exceeds the number of replicas as it was not counting the hosts correctly. Fix to detect this case correctly.

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

       

      How reproducible:

       

      Steps to Reproduce:

      1. Set compute replicas in install-config.yaml
      2. Add hosts in agent-config.yaml - 3 with role of master and more than 2 with role of worker.
      3. The installation will fail and following error could be seen in the journal 
      Jun 12 01:10:57 master-0 start-cluster-installation.sh[3879]: Hosts known and ready for cluster installation (5/3) 

      Actual results:

      No warning regarding the number of configured hosts

      Expected results:

      A warning about the number of configured hosts not matching the replicas.

      Additional info:

       

            bfournie@redhat.com Robert Fournier
            bfournie@redhat.com Robert Fournier
            zhenying niu zhenying niu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: