Menu

#3535 makedhcp -a" does not always update the DHCP leases correctly,

2.9
closed
xu qing
makedhcp (5)
general
5
2014-06-03
2013-04-26
No

Customer reports

I did the "makedhcp -n" and "makedhcp -a" before creating another VM.

This time, after AutoYast completed, the VM got its IP address back.
The dhcpd.leases file now has the new VM's IP address in it.

I was already running "makedhcp -a" before running nodeset and rnetboot, each time I create a VM.
How often do I need to run "makedhcp -n"? That seems to have been what fixed my problem, whatever it was.

makedhcp -a should be sufficient. makedhcp -n should not be required. Was not in previous releases.

Discussion

  • Bruce

    Bruce - 2013-04-29
    • Milestones: 2.8.1 --> 2.8.2
     
  • Guang Cheng Li

    Guang Cheng Li - 2013-07-02

    I do not quite understand this bug, for makedhcp -n, it is required only when there are some network configuration is changed, the makedhcp -a will add all the nodes into dhcpd.leases, and nodeset will internally call makedhcp to add the nodes into dhcpd.leases. Did the customer say that the makedhcp <noderange> will not always update the dhcpd.leases correctly? I ran the following commands several times, did not see any issue.</noderange>

    rm -f /var/lib/dhcpd/dhcpd.leases
    makedhcp -n
    makedhcp -a
    cat /var/lib/dhcpd/dhcpd.leases | grep "host " | wc -l

    Could we recreate the problem mentioned in this bug in one of our cluster?

     
  • Bruce

    Bruce - 2013-07-09
    • assigned_to: Bruce --> xu qing
    • Milestones: 2.8.2 --> 2.8.3
     
  • xu qing

    xu qing - 2013-09-17
    • labels: --> makedhcp
    • Milestones: 2.8.3 --> 2.9
     
  • Lissa Valletta

    Lissa Valletta - 2014-06-03
    • status: open --> closed
    • component: --> general
     
  • Lissa Valletta

    Lissa Valletta - 2014-06-03

    Closed until reported again

     
MongoDB Logo MongoDB