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

The procedure to deploy with DHCP results in random nodes being selected for master/worker roles

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • None
    • No
    • None
    • None
    • None
    • OSDOCS Sprint 253
    • 1
    • Rejected
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Looking at the procedure here: https://docs.openshift.com/container-platform/4.13/installing/installing_with_agent_based_installer/preparing-to-install-with-agent-based-installer.html#dhcp

      Attempt to deploy results in random nodes being assigned with the master role.

      Tried to set agent-config with :

      
      apiVersion: v1alpha1
        kind: AgentConfig
        rendezvousIP: 10.10.10.14
        hosts:
          - hostname: master0
            role: master
          - hostname: master1
            role: master
          - hostname: master2
            role: master
      

      Received error:

      cannot generate Config image due to configuration errors", "level=fatal msg=failed to fetch Agent Config ISO: failed to load asset \"Agent Config\": invalid Agent Config configuration: [Hosts[0].Interfaces: Required value: at least one interface must be defined for each node
      

      We need to be able to set the roles without specifying NICs in case of DHCP or we should properly document that even with DHCP NICs has to be specified for mapping roles to nodes.

              rhn-support-skopacz Sebastian Kopacz
              achuzhoy@redhat.com Alexander Chuzhoy
              None
              None
              Biagio Manzari Biagio Manzari
              None
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: