Yes, changing that was beneficial but not fully effective.
We modified the xcatmn hostname to have a hyphen, ran makedns -n and the
nslookups now work BUT the probe still fails with DNS service not ready ???
See attached output
Best Regards,
Clive Robinson
Mobile +44 (0)7771-555269
MS-Teams +44 (0)330-460-3299
Planned Time Off: December 21 - January 4
UK Public Holidays: December 27-28, January 3
From: Mark Gurevich <[email protected]>
Sent: 30 November 2021 13:47
To: xCAT Users Mailing list <[email protected]>
Subject: Re: [xcat-user] DNS issue
Clive,
The SERVFAIL error from nslookup command is the reason for xcatprobe reporting
failure when "Checking DNS service is configured"
I agree with Russell, underscore in hostname is most likely the reason.
Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT
"If we knew what it was we were doing, it would not be called research, would
it?"
--Albert Einstein
[Inactive hide details for "Russell Auld" ---11/30/2021 06:48:11
AM---Underscore characters are not valid in DNS entries unless]"Russell Auld"
---11/30/2021 06:48:11 AM---Underscore characters are not valid in DNS entries
unless you want to be pedantic and read through t
From: "Russell Auld" <[email protected]<mailto:[email protected]>>
To: "'xCAT Users Mailing list'"
<[email protected]<mailto:[email protected]>>
Date: 11/30/2021 06:48 AM
Subject: [EXTERNAL] Re: [xcat-user] DNS issue
________________________________
Underscore characters are not valid in DNS entries unless you want to be
pedantic and read through the RFCs involved in DNS. Use dash characters instead
and you’ll be fine.
https://stackoverflow.com/questions/2180465/can-domain-name-subdomains-have-an-underscore-in-it<https://clicktime.symantec.com/36DTNtYqpPFABPVuV96FDDb6xU?u=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F2180465%2Fcan-domain-name-subdomains-have-an-underscore-in-it>
From: Robinson, Clive <[email protected]<mailto:[email protected]>>
Sent: Tuesday, November 30, 2021 4:06 AM
To: xCAT Users Mailing list
<[email protected]<mailto:[email protected]>>
Subject: Re: [xcat-user] DNS issue
Hi Mark,
Having a late one so thought I’d respond with the output below. This is a VERY
simple flat set-up with a solitary MN and 10x CN in scope to be deployed to.
hn_01:~ # ip -4 a show 2>&1| grep inet
inet 127.0.0.1/8 scope host lo
inet 172.18.10.31/16 brd 172.18.255.255 scope global eth0
inet 172.19.0.31/16 brd 172.19.255.255 scope global eth1
inet 172.20.10.31/16 brd 172.20.255.255 scope global ib0
hn_01:~ # nslookup -type=A 172.18.10.31 172.18.10.31
Server: 172.18.10.31
Address: 172.18.10.31#53
** server can't find 31.10.18.172.in-addr.arpa: SERVFAIL
hn_01:~ # nslookup -type=A 172.18.10.31
Server: 172.18.10.31
Address: 172.18.10.31#53
** server can't find 31.10.18.172.in-addr.arpa: SERVFAIL
hn_01:~ # hostname
hn_01
hn_01:~ # cat /etc/hostname
hn_01
hn_01:~ #
We were wondering if this might be due to the fact the hostname of the MN
contains an underscore. We noticed that the makedns -n command produces heaps
of objections to our existing hosts file which has lots more hostnames with
underscores in. We have a virtual environment running on a big laptop without
any underscores in MN/CN hostnames and noticed weirdness when we introduced a
new CN with an underscore in its name. The hostname wasn’t tracked in the
computes.log and the hostname set initially was just ‘linux’ which are both
effects we see in our ‘real’ Pre-Prod cluster.
This small Pre-prod cluster has a previous (currently disabled) xCAT server
running 2.7 on SLES11.3 deploying 11.3 nodes quite happily however despite an
underscore in its hostname.
Best Regards,
Clive Robinson
Mobile +44 (0)7771-555269
Planned Time Off: December 21 - January 4
UK Public Holidays: December 27-28, January 3
From: Mark Gurevich <[email protected]<mailto:[email protected]>>
Sent: 29 November 2021 19:42
To: xCAT Users Mailing list
<[email protected]<mailto:[email protected]>>
Subject: Re: [xcat-user] DNS issue
Andre,
Is this a flat or hierarchical cluster with service nodes ?
Can you run the following three commands on the Management node ?
ip -4 a show 2>&1| grep inet
nslookup -type=A <MN host IP> <MN host IP>
nslookup -type=A <MN host IP>
Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT
"If we knew what it was we were doing, it would not be called research, would
it?"
--Albert Einstein
[Inactive hide details for "Stagneth, Andre" ---11/22/2021 12:50:08 PM---Hi, we
set up xCAT 2.14.6 on SLES12SP5 at the MN.]"Stagneth, Andre" ---11/22/2021
12:50:08 PM---Hi, we set up xCAT 2.14.6 on SLES12SP5 at the MN.
From: "Stagneth, Andre" <[email protected]<mailto:[email protected]>>
To: "xCAT Users Mailing list"
<[email protected]<mailto:[email protected]>>
Date: 11/22/2021 12:50 PM
Subject: [EXTERNAL] [xcat-user] DNS issue
________________________________
Hi,
we set up xCAT 2.14.6 on SLES12SP5 at the MN.
While running `xcatprobe xcatmn -i eth0 -V` we get error for DNS. All other
checks are OK.
What is checked here and could be wrong?
[mn]: Checking DNS service is configured...
[FAIL]
Regards,
André
EntServ Deutschland GmbH: Schickardstraße 32, 71034 Böblingen, Germany - Board
of Directors: Joachim Löffler (Chairman) - Registered in Stuttgart: HRB 757510..
DXC Technology Company -- This message is transmitted to you by or on behalf of
DXC Technology Company or one of its affiliates. It is intended exclusively for
the addressee. The substance of this message, along with any attachments, may
contain proprietary, confidential or privileged information or information that
is otherwise legally exempt from disclosure. Any unauthorized review, use,
disclosure or distribution is prohibited. If you are not the intended recipient
of this message, you are not authorized to read, print, retain, copy or
disseminate any part of this message. If you have received this message in
error, please destroy and delete all copies and notify the sender by return
e-mail. Regardless of content, this e-mail shall not operate to bind DXC
Technology Company or any of its affiliates to any order or other contract
unless pursuant to explicit written agreement or government initiative
expressly permitting the use of e-mail for such purpose. --.
_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user<https://clicktime.symantec.com/38r7psfcDm1Lv4jwrYfcE8U6xU?u=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user>
_______________________________________________
xCAT-user mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/xcat-user<https://clicktime.symantec.com/3W6jhcK1Tx78unVbsyfiy976xU?u=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fxcat-user>
hn-01:~ # xcatprobe xcatmn -i eth0 -V
[mn]: Checking all xCAT daemons are running...
[ OK ]
[mn]: Checking xcatd can receive command request...
[ OK ]
[mn]: Checking 'site' table is configured...
[ OK ]
[mn]: Checking provision network is configured...
[ OK ]
[mn]: Checking 'passwd' table is configured...
[ OK ]
[mn]: Checking important directories(installdir,tftpdir) are configured...
[ OK ]
[mn]: Checking SELinux is disabled...
[ OK ]
[mn]: Checking HTTP service is configured...
[ OK ]
[mn]: Checking TFTP service is configured...
[ OK ]
[mn]: Checking DNS service is configured...
[FAIL]
[mn]: DNS service isn't ready on 172.18.10.31
[mn]: Checking DHCP service is configured...
[ OK ]
[mn]: Checking NTP service is configured...
[ OK ]
[mn]: Checking rsyslog service is configured...
[ OK ]
[mn]: Checking firewall is disabled...
[ OK ]
[mn]: Checking minimum disk space for xCAT ['/var' needs 1GB;'/tmp' needs
1GB;'/install' needs 10GB]... [ OK ]
[mn]: Checking Linux ulimits configuration...
[ OK ]
[mn]: Checking network kernel parameter configuration...
[ OK ]
[mn]: Checking site table attribute... xcatmaxconnections=
[INFO]
[mn]: Checking site table attribute... xcatmaxbatchconnections=
[INFO]
[mn]: Checking xCAT daemon attributes configuration...
[ OK ]
[mn]: Checking xCAT log is stored in /var/log/xcat/cluster.log...
[ OK ]
[mn]: Checking xCAT management node IP: <172.18.10.31> is configured to
static... [ OK ]
[mn]: Checking dhcpd.leases file is less than 100M...
[ OK ]
=================================== SUMMARY ====================================
[MN]: Checking on MN...
[FAIL]
Checking DNS service is configured...
[FAIL]
DNS service isn't ready on 172.18.10.31
hn-01:~ # nslookup -type=A 172.18.10.31 172.18.10.31
Server: 172.18.10.31
Address: 172.18.10.31#53
31.10.18.172.IN-ADDR.ARPA name = hn-01.customer.local.
hn-01:~ # nslookup -type=A 172.18.10.31
Server: 172.18.10.31
Address: 172.18.10.31#53
31.10.18.172.IN-ADDR.ARPA name = hn-01.customer.local.
hn-01:~ # ip -4 a show 2>&1| grep inet
inet 127.0.0.1/8 scope host lo
inet 172.18.10.31/16 brd 172.18.255.255 scope global eth0
inet 172.19.0.31/16 brd 172.19.255.255 scope global eth1
inet 172.20.10.31/16 brd 172.20.255.255 scope global ib0
hn-01:~ # cat /etc/hostname
hn-01.customer.local
hn-01:~ # cat /etc/hosts
172.18.10.31 hn-01 hn-01.customer.local
#172.18.10.31 hn_01
172.18.30.1 comp08-01 comp08-01.customer.local
172.18.30.2 comp08-02 comp08-02.customer.local
172.18.30.3 comp08-03 comp08-03.customer.local
172.18.30.4 comp08-04 comp08-04.customer.local
172.18.20.1 comp09-01 comp09-01.customer.local
172.18.20.2 comp09-02 comp09-02.customer.local
172.18.20.3 comp09-03 comp09-03.customer.local
172.18.20.4 comp09-04 comp09-04.customer.local
hn-01:~ #
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user