Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Faros node name error after bastion host renamed #144

Closed
miktaylor3 opened this issue Jun 23, 2021 · 4 comments
Closed

Faros node name error after bastion host renamed #144

miktaylor3 opened this issue Jun 23, 2021 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@miktaylor3
Copy link

I did an install but forgot to name it correctly the 1st time (bastion.rdc100.lan). So II renamed the bastion host (bastion.edge.rdc100.lan) and re-ran the install and it worked, but one of the nodes (node-7) didn’t pick up the new name.

farosadmin@bastion ~]$ oc get nodes
NAME STATUS ROLES AGE VERSION
node-3.edge.rdc100.lan Ready master,worker 56m v1.20.0+2817867
node-5.edge.rdc100.lan Ready master,worker 56m v1.20.0+2817867
node-7.rdc100.lan Ready master,worker 56m v1.20.0+2817867

I renamed the host by editing /etc/hostname and rebooting

named.Jun23.txt

@rmkraus
Copy link
Member

rmkraus commented Jun 28, 2021

Have you run any farosctl apply commands on this cluster since the cluster install with the wrong name?

Also, could you paste the contents of /var/lib/named/zone.8.168.192.in-addr.arpa

@rmkraus rmkraus added the bug Something isn't working label Jun 28, 2021
@miktaylor3
Copy link
Author

Note: I updated to the bastion to RH 8.4 with the last install,

I re-ran the cluster install since the initial problem. Now it looks like it has dropped “edge” all together from the name. I can update and re-install if needed, this is the DISA cluster that remains untouched. I will change your lab login to the 100 VLAN so you can connect to the host if it helps.

[root@bastion etc]# cat /etc/redhat-release
Red Hat Enterprise Linux release 8.4 (Ootpa)

[farosadmin@bastion default]$ hostname
bastion.edge.rdc100.lan

[farosadmin@bastion default]$ oc get nodes
NAME STATUS ROLES AGE VERSION
node-3.rdc100.lan Ready master,worker 4d22h v1.20.0+2817867
node-5.rdc100.lan Ready master,worker 4d22h v1.20.0+2817867
node-7.rdc100.lan Ready master,worker 4d22h v1.20.0+2817867

The file you ask for is in /var/named/ (not /var/lib/named/, no such directory), not sure if this is related to the 8.4 release.

[root@bastion named]# pwd
/var/named

[root@bastion named]# cat zone.8.168.192.in-addr.arpa
$TTL 1D
@ IN SOA ns.edge.rdc100.lan. edge.rdc100.lan. 1624476903 1D 1W 1W 3H;
@ IN NS ns.edge.rdc100.lan.
3.8.168.192.in-addr.arpa. IN PTR bootstrap.rdc100.lan.
4.8.168.192.in-addr.arpa. IN PTR node-3.rdc100.lan.
6.8.168.192.in-addr.arpa. IN PTR node-5.rdc100.lan.
8.8.168.192.in-addr.arpa. IN PTR node-7.rdc100.lan.
5.8.168.192.in-addr.arpa. IN PTR node-3-mgmt.rdc100.lan.
7.8.168.192.in-addr.arpa. IN PTR node-5-mgmt.rdc100.lan.
9.8.168.192.in-addr.arpa. IN PTR node-7-mgmt.rdc100.lan.
1.8.168.192.in-addr.arpa. IN PTR bastion.rdc100.lan.
2.8.168.192.in-addr.arpa. IN PTR loadbalancer.rdc100.lan.
100.8.168.192.in-addr.arpa. IN PTR cm.rdc100.lan.
101.8.168.192.in-addr.arpa. IN PTR jump.rdc100.lan.
102.8.168.192.in-addr.arpa. IN PTR bastion-ilo.rdc100.lan.
3.8.168.192.in-addr.arpa. IN PTR bootstrap.edge.rdc100.lan.
4.8.168.192.in-addr.arpa. IN PTR node-3.edge.rdc100.lan.
6.8.168.192.in-addr.arpa. IN PTR node-5.edge.rdc100.lan.
8.8.168.192.in-addr.arpa. IN PTR node-7.edge.rdc100.lan.
5.8.168.192.in-addr.arpa. IN PTR node-3-mgmt.edge.rdc100.lan.
7.8.168.192.in-addr.arpa. IN PTR node-5-mgmt.edge.rdc100.lan.
9.8.168.192.in-addr.arpa. IN PTR node-7-mgmt.edge.rdc100.lan.
1.8.168.192.in-addr.arpa. IN PTR bastion.edge.rdc100.lan.
2.8.168.192.in-addr.arpa. IN PTR loadbalancer.edge.rdc100.lan.
100.8.168.192.in-addr.arpa. IN PTR cm.edge.rdc100.lan.
101.8.168.192.in-addr.arpa. IN PTR jump.edge.rdc100.lan.
102.8.168.192.in-addr.arpa. IN PTR bastion-ilo.edge.rdc100.lan.
101.8.168.192.in-addr.arpa. IN PTR cm.edge.rdc100.lan.
100.8.168.192.in-addr.arpa. IN PTR jump.edge.rdc100.lan.

@miktaylor3
Copy link
Author

I re-installed the cluster today with the latest update and everything looks correct. So probably OK to close this issue

@rmkraus
Copy link
Member

rmkraus commented Jul 12, 2021

Released in 4.7.2

@rmkraus rmkraus closed this as completed Jul 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants