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

Installer can choose a worker as Node 0

XMLWordPrintable

    • Moderate
    • Agent Sprint 232, Agent Sprint 233, Sprint 235, Sprint 243, Sprint 244
    • 5
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • Hide
      Previously, if the user didn't specify the `rendezevousIP` field in the `agent-config.yaml` file and hosts were defined in the same file with static network configuration, then the first host was designated as a rendezvous node regardless of its role. This caused the installation to fail.
      With this update, the Agent-based Installer prioritizes the rendezvous node search by first looking amongst the hosts with a `master` role and a static IP defined. If none is found, then a potential candidate is searched for through the hosts that do not have a role defined. Hosts with a static network configuration that are explicitly configured with a `worker` role are ignored. (link:https://issues.redhat.com/browse/OCPBUGS-5471[*OCPBUGS-5471*])
      Show
      Previously, if the user didn't specify the `rendezevousIP` field in the `agent-config.yaml` file and hosts were defined in the same file with static network configuration, then the first host was designated as a rendezvous node regardless of its role. This caused the installation to fail. With this update, the Agent-based Installer prioritizes the rendezvous node search by first looking amongst the hosts with a `master` role and a static IP defined. If none is found, then a potential candidate is searched for through the hosts that do not have a role defined. Hosts with a static network configuration that are explicitly configured with a `worker` role are ignored. (link: https://issues.redhat.com/browse/OCPBUGS-5471 [* OCPBUGS-5471 *])
    • Bug Fix
    • Done

      If the user does not specify a rendezvousIP and instead leaves it to the installer to choose one of the configured static IPs, it always picks the lowest IP. If no roles are assigned, this host will become part of the control plane.

      If the user assigns the lowest IP to a host to which they also assign a worker role, the install will fail.

      It's not clear what will happen if the role is not explicitly set on the host with the lowest IP, but there are already sufficient control plane nodes assigned from among the other hosts. In any event, this wouldn't be good.

      We should select a static IP among only the hosts that are eligible to become part of the control plane.

      A user can work around this by explicitly specifying the rendezvousIP.

            afasano@redhat.com Andrea Fasano
            zabitter Zane Bitter
            Biagio Manzari Biagio Manzari
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: