the /etc/dhcp/dhcpd.conf file will be recreated after ran 'makedhcp -n`
command.  those lines:

 option cumulus-provision-url code 239 = text;
option cumulus-provision-url "
http://10.3.17.7:80/install/postscripts/cumulusztp";;
option cumulus-provision-url "
http://50.3.17.7:80/install/postscripts/cumulusztp";;

will be shown again in the files.

when this happens again,  can u grep this option from dhcpd.conf file?


Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   David Johnson <david_john...@brown.edu>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   08/07/2019 02:10 PM
Subject:        [EXTERNAL] Re: [xcat-user] dhcpd failed due to unrecognized
            directive



My bad for typing the error message by hand.  The remote desktop has broken
cut/paste.
The original error messages were:
Aug  7 13:03:20 mgt5 dhcpd: /etc/dhcp/dhcpd.conf line 1004: unknown option
dhcp.cumulus-provision-url
Aug  7 13:03:20 mgt5 dhcpd:    option cumulus-provision-url "
http://192.168.181.166:80/install/postscripts/
Aug  7 13:14:10 mgt5 dhcpd: /etc/dhcp/dhcpd.conf line 1004: unknown option
dhcp.cumulus-provision-url
Aug  7 13:14:10 mgt5 dhcpd:    option cumulus-provision-url "
http://192.168.181.166:80/install/postscripts/

The versions for dhcpd are:
dhcp-libs-4.2.5-47.el7.x86_64
dhcp-4.2.5-47.el7.x86_64
dhcp-common-4.2.5-47.el7.x86_64

xCAT is xCAT-2.14.6-snap201903290319.x86_64

I already deleted the offending line from /etc/dhcp/dhcpd.conf, but I’m
worried it might come back.

 — ddj

      On Aug 7, 2019, at 2:03 PM, Casandra H Qiu <cxh...@us.ibm.com> wrote:



      looks like someone manually edit this file, there are typo
      dhcp.cumuulus-provision-url (should be cumulus)
      Can u run grep command as below?

      # grep cumulus-prov /etc/dhcp/dhcpd.conf
      option cumulus-provision-url code 239 = text;
      option cumulus-provision-url "
      http://10.3.17.7:80/install/postscripts/cumulusztp";;
      option cumulus-provision-url "
      http://50.3.17.7:80/install/postscripts/cumulusztp";;


      which xcatd release do u have on the system?


      Thanks,
      Casandra

      ...................................................................
      Casandra Hong Qiu
      Phone: (845) 433-9291, t/l 293-9291
      Office: Building 8, 3-B-04
      cxh...@us.ibm.com



      <graycol.gif>David Johnson ---08/07/2019 01:53:15 PM---Things were
      fine until I did a nodeset, and dhcpd tried to restart. This is what
      I found in the /var

      From: David Johnson <david_john...@brown.edu>
      To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
      Date: 08/07/2019 01:53 PM
      Subject: [EXTERNAL] [xcat-user] dhcpd failed due to unrecognized
      directive





      Things were fine until I did a nodeset, and dhcpd tried to restart.
      This is what I found in the /var/log/messages:
      /etc/dhcp/dhcpd.conf line 1004: unknown option
      dhcp.cumuulus-provision-url
      Removed the line by hand, which allowed dhcpd to start again, but I’m
      sure it will come
      back unless I root it out.

      I may have put this in at some point, but can’t recall where in the
      xcat database this would live.

      Actually I would like tor xcat’s dhcpd to NOT listen on certain
      networks (IPoIB sub interface on private
      partion), but not sure how to configure tabedit networks to get it to
      ignore the subnet.

      Any suggestions where I should look?

      Thanks,
      — ddj

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




      _______________________________________________
      xCAT-user mailing list
      xCAT-user@lists.sourceforge.net
      https://lists.sourceforge.net/lists/listinfo/xcat-user
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=7ZhOiyKfdP7OVps-n7AD4locvkCVMNUmZ-4_DH4gC-Q&s=bOjvt_aaERCn8G9ka0TjPfT33ycwOSq6PdsBMWkIrMU&e=



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

Reply via email to