Master nodes get localhost as hostname
The master node comes up with a hostname in the iLO console. However, the master cluster entries in the
oc get nodes
command do not show the hostname.
root@npsvm ~]# oc get nodes
NAME STATUS ROLES AGE VERSION
localhost.localdomain Ready master 32m v1.16.2+45a4ac4
master-01.c10.qa.com Ready master 32m v1.16.2+45a4ac4
Known issue from Red Hat that occurs intermittently.
-
Terminate the
nps autodeploy
command by pressingN
followed byEnter
key. - Power off all the nodes (bootstrap, master, and worker nodes).
-
Clean up the install directory and ignition files.
- Clean up the /var/nps/vim/install_dir directory for the NPS toolkit VM.
- Clean up the
/var/nps/ISO
folder from the NPS toolkit VM. Ensure that the artifacts are not deleted from the/var/nps/ISO
folder. - For issues related to ignition files, see Failure during creation of ignition file.
-
Download the JSON file from the database.
- Ensure the prerequisites mentioned in Deploying OCP using nps autodeploy are met.
-
Rerun the
nps autodeploy
command, if user entered n.