Description of problem: When using a streamlined load-balancing architecture with LVS and heartbeat (the load balancer also acts as a real server), and switching the active server or shutting down heartbeat on the node the following errors are logged: lrmd: info: RA output: (R_VIP:stop:stderr) lo:0: warning: name may be invalid IPaddr: ERROR: Insufficient arguments to add_interface: 192.168.1.222 lo:0 lo:0 255.255.255.255 broadcast 192.168.1.255 Then the virtual IP on lo:0 is not restored and shut down hangs. Killing lrmd with -9 will let heartbeat shutdown but then the node is still missing the VIP. Version-Release number of selected component (if applicable): 2.1.2-2.fc8 I've attached a patch for IPaddr that was posted to the heartbeat list that resolves the problem. Credit to Thomas Baumann for the patch.
Created attachment 295723 [details] IPaddr patch
ok. You think this is worth applying now in fedora or just waiting for upstream to pick it up? I also have a 2.1.3 update I need to push out, so I could do it at the same time I guess... thanks for the patch!
Thanks for the super quick response! I didn't know that heartbeat was moving to 2.1.3 for Fedora 8 so I don't want to add extra work if it will automatically get included in the not-too-distant future. The actual change that went into heartbeat-devel is here: http://hg.linux-ha.org/dev/rev/806faf36d956
Well, 2.1.3 is already out... I just haven't updated fedora to the new release yet. This fix will be in the next (as yet unreleased) version: 2.1.4 I will look at updating to 2.1.3 and adding this patch in there this week... Sorry for the delay.
heartbeat-2.1.3-1.fc8 has been submitted as an update for Fedora 8
Sorry for the delay here... I have built 2.1.3 + the patch for this issue. It should show up in updates-testing in the next few days. The updates system will add a note here when it's pushed out. If you want to try it out sooner, you can get it direct from the buildsystem at: http://koji.fedoraproject.org/koji/taskinfo?taskID=495764 Please let me know if you spot any problems with it.
heartbeat-2.1.3-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update heartbeat'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-2267
Everything is working like it should. Thanks for including this patch!
Excellent. If you get a chance, can you say it works for you in the update link above? If it gets 3 "works" points, it can go to stable...otherwise it will be a week or two before it's released to stable. :) thanks.
heartbeat-2.1.3-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report.
This should be all fixed, closing now.