Bug 10354
Summary: | If renewal fails then discover mode fails | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | Olivier Baudron <olivier.baudron> | ||||
Component: | pump | Assignee: | Elliot Lee <sopwith> | ||||
Status: | CLOSED WONTFIX | QA Contact: | |||||
Severity: | high | 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: | 2001-07-16 13:33:59 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
Olivier Baudron
2000-03-26 16:14:55 UTC
Will be fixed in pump-0.8 This bug has not been resolved. You probably made a confusion with bug 10348. I turned severity high, because, if the network is down for a few minutes while pump renews the lease then pump dies and leave the eth0 interface in a broken configuration, which prevent future connections from outside. In the following example, I removed the ethernet cable a few seconds before the renewing time and plug it in again a few minutes later. Pump died and ifconfig shows: baud:~# ifconfig eth0 Link encap:Ethernet HWaddr 52:54:00:EC:64:77 UP BROADCAST RUNNING MTU:1500 Metric:1 RX packets:3449 errors:0 dropped:0 overruns:0 frame:0 TX packets:3490 errors:15 dropped:0 overruns:0 carrier:30 collisions:386 txqueuelen:100 Interrupt:11 Base address:0xb800 I checked the sources. In fact the problem is not a bug, but an odd algorthmic choice. Pump assumed that if discover fails then it must release the interface. I think this is _really_ a bad idea, since the network may be downed for a few minutes when renewing the lease. I think that in that case it would be better to delay the renewal, and leave the ethernet interface up with the same IP adress. The delay time may be set to the previous lease time... Apologies for the unresponsiveness of the previous pump package maintainer... Because it's very very bad to use an IP address that is not assigned either statically or via DHCP lease, keeping the interface alive with the same IP address won't work. Because pump has been replaced by dhcpcd in rawhide, this bug is obsolete in any case. Created attachment 95024 [details]
Patch pump 0.8.18-2 to retry DHCP discovery
This patch includes CVS logs of what was done to each file as a skippable text
section above the diffs. Patch can be applied as is.
I attached a patch that fixes this. I can't reopen the bug. |