Hello,

may not be related but I had before no free lease issue when nodes to be discovered booted before the xCAT node's object was created. I think then I manually removed the lease from the lease files (which may not be appropriate because of some race conditions).

On 23/09/2021 20:07, SOPORTE MODEMAT via xCAT-user wrote:
Hi.

Thank you for your reply. I run the command below but I do not the reason why the error exists:

xcatprobe -V xcatmn -i eno5 | more

=================================== SUMMARY ====================================

*[MN]: Checking on MN... [FAIL]*

*    Checking DHCP service is configured... [FAIL]*

         DHCP server reply is wrong

         Run 'makedhcp -n' if it has not been ran before.

I have also tried:

*/opt/xcat/probe//subcmds/detect_dhcpd -V -i eno5*

[debug] :Send dhcp discover from: NIC = eno5, IP = 10.50.1.7, MAC = b4:7a:f1:21:ef:d0

[debug]  :Current operating system is rh

[debug]  :The duration of capturing DHCP package is 10 second(s)

[info]   :Start to detect DHCP, please wait 10 seconds

[debug]  :The id of process which is used to capture the packet by tcpdump is 612199

[debug]  :Kill process 612199 used to capture the packet by 'tcpdump'

[debug]  :Dump all the information captured during last 10 seconds

[debug]  :The server found: mac = , clientip = , serverip = , offer = 0

[debug]  :The server found: mac = b4:7a:f1:21:ef:d0, clientip = , serverip = , offer = 0

[debug]  :The server found: mac = b4:7a:f1:21:ef:d0, clientip = , serverip = , offer = 0

[debug]  :The server found: mac = b4:7a:f1:21:ef:d0, clientip = , serverip = , offer = 0

[debug]  :The server found: mac = b4:7a:f1:21:ef:d0, clientip = , serverip = , offer = 0

[info]   :++++++++++++++++++++++++++++++++++

[info]   :There are 0 servers replied to dhcp discover.

[info]   :++++++++++++++++++++++++++++++++++

systemctl status dhcpd

●dhcpd.service - DHCPv4 Server Daemon

   Loaded: loaded (/usr/lib/systemd/system/dhcpd.service; enabled; vendor preset: disabled)

    Active: active (running) since Thu 2021-09-23 12:52:31 -05; 14min ago

      Docs: man:dhcpd(8)

            man:dhcpd.conf(5)

Main PID: 609816 (dhcpd)

    Status: "Dispatching packets..."

     Tasks: 1 (limit: 1646703)

    Memory: 8.1M

    CGroup: /system.slice/dhcpd.service

└─609816 /usr/sbin/dhcpd -f -cf /etc/dhcp/dhcpd.conf -user dhcpd -group dhcpd --no-pid eno5 ib0

Sep 23 13:01:24 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:01:26 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:01:28 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:01:30 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:02:10 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:02:12 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:02:14 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:02:16 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:02:18 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

Sep 23 13:02:20 quindemaster01 dhcpd[609816]: DHCPDISCOVER from b4:7a:f1:21:ef:d0 via eno5: network eno5: no free leases

How can I fix that?

Soporte

*From:*Mark Gurevich <gurev...@us.ibm.com>
*Sent:* jueves, 23 de septiembre de 2021 8:01
*To:* xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
*Subject:* Re: [xcat-user] xCAT 2.16.2 new xNBA issue

SOPORTE,

Is this problem related to "xCAT 2.16.2 new xNBA issue" thread.
If not, can you start a new thread ?

Try to rerun the xcatprobe with verbose flag:

xcatprobe -V xcatmn -i eno5

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 "SOPORTE MODEMAT via xCAT-user" ---09/22/2021 07:41:14 PM---Hello guys. I would like you to help me d"SOPORTE MODEMAT via xCAT-user" ---09/22/2021 07:41:14 PM---Hello guys. I would like you to help me debug the error that I get every time when I run the command

From: "SOPORTE MODEMAT via xCAT-user" <xcat-user@lists.sourceforge.net <mailto:xcat-user@lists.sourceforge.net>> To: "xCAT Users Mailing list" <xcat-user@lists.sourceforge.net <mailto:xcat-user@lists.sourceforge.net>> Cc: "SOPORTE MODEMAT" <soporte.mode...@epn.edu.ec <mailto:soporte.mode...@epn.edu.ec>>
Date: 09/22/2021 07:41 PM
Subject: [EXTERNAL] Re: [xcat-user] xCAT 2.16.2 new xNBA issue

------------------------------------------------------------------------




Hello guys.

I would like you to help me debug the error that I get every time when I run the command that is shown below. The error is related to the dhcp service:

xcatprobe xcatmn -i eno5

xcatprobe xcatmn -i eno5
[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...                                           [ OK ] *[mn]: Checking DHCP service is configured...                                            [FAIL]*
*[mn]: DHCP server reply is wrong*
[mn]: Run 'makedhcp -n' if it has not been ran before.
[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 ['/install' needs 10GB;'/var' needs 1GB;'/tmp' needs 1GB]...           [ OK ] [mn]: Checking Linux ulimits configuration...                                           [ OK ] [mn]: Checking network kernel parameter configuration...                                          [ OK ] [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: <10.50.1.7> is configured to static...                                    [ OK ] [mn]: Checking dhcpd.leases file is less than 100M...                                           [ OK ] [mn]: Checking DB packages installation...                                          [ OK ] =================================== SUMMARY ==================================== [MN]: Checking on MN...                                           [FAIL]     Checking DHCP service is configured...                                            [FAIL]
         DHCP server reply is wrong
         Run 'makedhcp -n' if it has not been ran before.

I have also run the command 'makedhcp -n' but the error still persists.

The dhcp configuration is shown below in the attached file


 [attachment "dhcp.conf" deleted by Mark Gurevich/Poughkeepsie/IBM] _______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net <mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user <https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/xcat-user__;!!JFdNOqOXpB6UZW0!-KnzfrxzIKvwios4s0vkiO5rhek_teGIkbUUbhF5dcre-4gK3eSR0RGoY8GaPEZAMJFvrQ$>





_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/xcat-user__;!!JFdNOqOXpB6UZW0!-KnzfrxzIKvwios4s0vkiO5rhek_teGIkbUUbhF5dcre-4gK3eSR0RGoY8GaPEZAMJFvrQ$



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to