Description of problem: We just did some failure situation testing on two servers using ucarp. When taking down the interface ucarp was using on the machine which had the VIP address active -- ucarp crashed and after taking the interface back up we noticed that the VIP address was active both on the primary and secondary server. Version-Release number of selected component (if applicable): ucarp-1.5.2-1.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1. Install ucarp on two machines. Configure a failover IP address. 2. Take down the active interface of the machine which is active ucarp master using "ifconfig eth0 down" 3. See that ucarp crash, leaving VIP address active on *both* servers. Actual results: ucarp crash with message: ucarp[6592]: [ERROR] exiting: pfds[0].revents = 8 leaving the vip address active on this server, and the partner server also activates the VIP address. Expected results: ucarp should survive, or take down the VIP-address before going down. Having the IP up on both machines is no fun.. Additional info:
Actually there's a changeset on github that fixes this: https://github.com/jedisct1/UCarp/commit/6429e3b928d5b5d85cb55aedb6261d5ce8885e3a Just noticed it when I had the same problem.
ucarp-1.5.2-3.1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ucarp-1.5.2-3.1.el6
ucarp-1.5.2-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ucarp-1.5.2-7.fc18
ucarp-1.5.2-3.1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/ucarp-1.5.2-3.1.el5
ucarp-1.5.2-3.1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/ucarp-1.5.2-3.1.fc16
ucarp-1.5.2-3.1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ucarp-1.5.2-3.1.fc17
Package ucarp-1.5.2-3.1.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing ucarp-1.5.2-3.1.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-13305/ucarp-1.5.2-3.1.el6 then log in and leave karma (feedback).
ucarp-1.5.2-3.1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
(In reply to Fedora Update System from comment #8) > If problems still persist, please make note of it in this bug report. I downloaded ucarp-1.5.2-8.el6.x86_64 from EPEL 6 repository and I'm experiencing this issue. If I follow the steps listed in this bug, ucarp crashes before running /usr/libexec/ucarp/vip-down Same error: ucarp[9322]: [ERROR] exiting: pfds[0].revents = 8