Comments (5)
well I am going to revert 2 patch related to notify since implementation is not tested.
from keepalived.
Just reverted all changes related to script... please give it a try and report... Old syntax declaration is back. (eg: notify /tmp/katest.sh)
from keepalived.
In my simple test case, this fix seems to work. Thanks.
Stupid question -- when there are syntax errors in the configuration file, why doesn't keepalived print an error message and exit? For example, if notify requires curly braces, and they're not present, as was the case until the patch was reverted, why didn't keepalived abort at startup? Similarly, if I now run this version with curly braces still present, it does not complain. It seems like it would be an improvement if the config file parser were to throw a fatal error when the grammar is violated.
Regards,
Andy
from keepalived.
By the way, the bug where keepalived fails to remove VRRP addrs when stopped is still there. Are you aware of that one?
Using LinkWatch kernel netlink reflector...
VRRP sockpool: [ifindex(5), proto(112), unicast(0), fd(10,11)]
VRRP_Instance(pcr-ny4-mktdata-relay) Transition to MASTER STATE
VRRP_Instance(pcr-ny4-mktdata-relay) Entering MASTER STATE
VRRP_Instance(pcr-ny4-mktdata-relay) setting protocol VIPs.
VRRP_Instance(pcr-ny4-mktdata-relay) Sending gratuitous ARPs on lan0.3003 for 192.168.53.250
Opening script file /tmp/katest.sh
VRRP_Instance(pcr-ny4-mktdata-relay) Sending gratuitous ARPs on lan0.3003 for 192.168.53.250
^CStopping Keepalived v1.2.17 (06/18,2015)
But 192.168.53.250 is still there:
bash-4.3$ ip -4 addr ls dev lan0.3003
5: lan0.3003@lan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
inet 192.168.53.139/24 brd 192.168.53.255 scope global lan0.3003
valid_lft forever preferred_lft forever
inet 192.168.53.250/24 brd 192.168.53.255 scope global secondary lan0.3003
valid_lft forever preferred_lft forever
This bug has been around for years...
from keepalived.
regarding stupid question :) : Well, current configuration parser is just not good enough :), I am into a process to completely rewrite that noisy parser. Jan Holmberg already produced some investigation code, I will dig into and produce new stuff around this area.
from keepalived.
Related Issues (20)
- Template 'keepalived.conf' in the etc folder is somewhat misleading HOT 2
- Does Authentication in VRRP Have Actual Meaning HOT 1
- vipv6 cannot load balance to the backend HOT 4
- VRRP Json dump readiness notifications HOT 2
- Question: Active-active Load balancing using ARP replies HOT 1
- Arp reply from illegal virtual interface HOT 2
- Error: no route to host when connect via VIP HOT 3
- Segmentation fault on keepalived HOT 3
- Keepalived occasionally fails SSL_CHECK HOT 1
- Dedicated log file HOT 1
- ability to specify using vmac_prefix for addresses not on the VRRP instance's interface. HOT 1
- One of the vrrp instance remains in FAULT state after reload HOT 3
- One health check for Multiple VIP with same real servers HOT 1
- fifo_write_vrrp_states_on_reload not always working HOT 1
- Reload segfaults if routes are defined HOT 2
- VIPs are not cleaned up when the keepaived process is killed. HOT 1
- Swap virtual_router_id of two vrrp instance(same interface) cause vip loss when reload HOT 2
- Notifications rejected by Exchange Online when From includes a display name HOT 1
- Can keepalived control the appending order of IPv6 protocol stack IPs? HOT 2
- Can the order of adding IPv6 to keepalived be controlled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keepalived.