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):
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.
ucarp crash with message:
ucarp: [ERROR] exiting: pfds.revents = 8
leaving the vip address active on this server, and the partner server also activates the VIP address.
ucarp should survive, or take down the VIP-address before going down. Having the IP up on both machines is no fun..
Actually there's a changeset on github that fixes this:
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.
ucarp-1.5.2-7.fc18 has been submitted as an update for Fedora 18.
ucarp-1.5.2-3.1.el5 has been submitted as an update for Fedora EPEL 5.
ucarp-1.5.2-3.1.fc16 has been submitted as an update for Fedora 16.
ucarp-1.5.2-3.1.fc17 has been submitted as an update for Fedora 17.
* 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:
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: [ERROR] exiting: pfds.revents = 8