Bug 4598
Summary: | Pump should obtain new lease if renewal fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Salah Coronya <salah.coronya> | ||||
Component: | pump | Assignee: | Erik Troan <ewt> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2000-03-11 04:59:13 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Salah Coronya
1999-08-18 19:46:36 UTC
All above problem stil exists in pump-0.7.2-2, a temporary workaround to stop the hanging on shutdown or reboot is to kill the pump process before the network goes down through a "psuedo-service" called killpump, which when "stopped" does a "killall pump". (Note it needs to be executed BEFORE the "Network" service goes down) WIth the new pump.conf file, pump seems to ignore the "retries" and "timeout" values when releasing an interface (so it still hangs when it tries to release an IP address to a DHCP server it can no longer reach, since the line is down. or for which the lease has changed) dhcpcd handles this changing-ip scheme just fine, except that it accumlates zombies with every IP change. But dhcpcd cannot be easily used in place of "pump" without a lot of mangling of the initscripts, or some kind of wrapper. Pump 0.7.8 will not obtain a new lease (address) for an interface if the initial lease cannot be renewed after it expires. (It doesn't lock up anymore like previous versions did though). Normally this wouldn't be noticed as pump assumes as long as it's running, it will always be able to renew the lease. However, the DHCP server on my cable modem doesn't do this - it sometimes hands out leases that cannot be renewed, and thus a new lease must be obtained. When pump can't renew the lease, it doesn't try to obtain a new lease like other dhcp clients (dhcpcd, dhclient, and Windows as well). It just gives up on the interface. Somewhat contrived example: Pump would probably experience the same behavior if it were running on a laptop configured by 1 DHCP server, then connected to a different network, with a different DHCP server, and sat there until the orignial lease expired. I think this is fixed in the pump in rawhide/pinstripe. Please let me know if it still exists. I can't build an exact test case here, so it's a bit hit and miss on reproducing it. The problem still exists but the situation is little better now. Pump-0.8.2-1 does indeed obtain the new the lease (according to ethereal), unlike previous versions that just gave up. However, pump did not reconfigure the interface properly - it removed the old address but failed to put the new one on. Created attachment 2637 [details]
Packet capture of pump-0.8.2-1
|