Bug 1877926 - RHV IPI worker nodes name are not in sequential manner.
Summary: RHV IPI worker nodes name are not in sequential manner.
Keywords:
Status: CLOSED DUPLICATE of bug 1817954
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.6
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
: 4.7.0
Assignee: OCP on RHV Team
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-10 19:10 UTC by vaibhav
Modified: 2020-09-14 14:41 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-14 09:41:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description vaibhav 2020-09-10 19:10:54 UTC
Description of problem:
When OCP installer creates master nodes, they are numbered from 0 onwards. Example (six is name of my OCP cluster):

ocp46ipi-pfrz6-master-0         Ready    master   3d23h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-master-1         Ready    master   3d23h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-master-2         Ready    master   3d23h   v1.19.0-rc.2+514f31a


However, worker nodes created by the installer have all number 0 suffixed:

ocp46ipi-pfrz6-worker-0-4v8qp   Ready    worker   3d22h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-worker-0-bxhlf   Ready    worker   3d22h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-worker-0-xwhws   Ready    worker   3d22h   v1.19.0-rc.2+514f31a

I understand this is because of the Machine Set whose name is "ocp46ipi-pfrz6-worker-0" and the individual worker nodes are just variations of this Machine Set's name. However, it would be better if we could achieve the same sequential numbering that we have with masters. And if not, then I suggest to remove number 0 from the default worker Machine Set altogether, because that number does not give any valuable information and is only confusing since it *looks like* the nodes are supposed to be ordered, but actually they aren't.


Version-Release number of the following components:
- openshift-install 4.6.0-fc.4
- Red Hat Virtualization-4.4.x 

How reproducible:
100 %

Steps to Reproduce:
1. Run openshift-install

Actual results:

# oc get nodes --config=kubeconfig
Flag --config has been deprecated, use --kubeconfig instead
NAME                            STATUS   ROLES    AGE     VERSION
ocp46ipi-pfrz6-master-0         Ready    master   3d23h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-master-1         Ready    master   3d23h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-master-2         Ready    master   3d23h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-worker-0-4v8qp   Ready    worker   3d22h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-worker-0-bxhlf   Ready    worker   3d22h   v1.19.0-rc.2+514f31a
ocp46ipi-pfrz6-worker-0-xwhws   Ready    worker   3d22h   v1.19.0-rc.2+514f31a


Expected results:
Worker nodes should either be numbered sequentially or the number should be removed from Machine Set name

Comment 1 Sandro Bonazzola 2020-09-14 09:41:56 UTC
Closing as duplicate of bug #1817954

*** This bug has been marked as a duplicate of bug 1817954 ***


Note You need to log in before you can comment on or make changes to this bug.