Public bug reported:

Binary package hint: keepalived

The actual version (1.1.17) of keepalived in Ubuntu 9.10-amd64 have a big 
problem,
silently the package was build without the LVS support so if you put some
configuration dedicated to balance some servers, the keepalived daemon simply
ignore it without any warning.

This is a big problem because no warning and no information about this 
change wasn't present...
This is my configuration:

cat /etc/keepalived/keepalived.conf
global_defs {                               
   notification_email {                     
     keepalived-oper                    
   }                                        
   notification_email_from keepalived-oper   
   smtp_server 127.0.0.1                      
   smtp_connect_timeout 30                    
   router_id FWLVS1                           
}                                             

vrrp_instance VI_OUT {
    interface ethOUT  
    state MASTER      
    virtual_router_id 9
    priority 250       
    authentication {   
        auth_type AH   
        auth_pass keep
    }                        
    virtual_ipaddress {      
        172.22.100.9/24      
        172.22.100.12/24     
        172.22.100.13/24     
    }                        
    preempt_delay 300        
}                            
                       


virtual_server 172.22.100.12 80 {
    delay_loop 10                
    lb_algo wlc                  
    lb_kind NAT                  
    persistence_timeout 120      
    persistence_granularity 255.255.0.0
    protocol TCP                       
    quorum 1                           

  real_server 192.168.69.20 80 {
    weight 1
    TCP_CHECK {
      connect_port 80
      connect_timeout 3
    }
  }

  real_server 192.168.69.21 80 {
    weight 1
    TCP_CHECK {
      connect_port 80
      connect_timeout 3
    }
  }
}

if i run the daemon with the --dump config this is the output:

Dec 15 12:52:33 fwlvs1 Keepalived: Starting VRRP child process, pid=1762
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp: Registering Kernel netlink command 
channel
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp: Registering gratutious ARP shared 
channel
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp: Opening file 
'/etc/keepalived/keepalived.conf'.
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp: Configuration is using : 63250 Bytes
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp: ------< Global definitions >------
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:  Router ID = FWLVS1
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:  Smtp server = 127.0.0.1
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:  Smtp server connection timeout = 30
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:  Email notification from = 
keepalived-oper
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:  Email notification = keepalived-oper
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp: ------< VRRP Topology >------
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:  VRRP Instance = VI_OUT
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Want State = MASTER
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Runing on device = ethOUT
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Virtual Router ID = 9
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Priority = 250
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Advert interval = 1sec
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Preempt delay = 300 secs
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Authentication type = IPSEC_AH
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Password = keep
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:    Virtual IP = 3
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:      172.22.100.9/24 brd 172.22.100.9 
dev ethOUT scope global
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:      172.22.100.12/24 brd 172.22.100.12 
dev ethOUT scope global
Dec 15 12:52:33 fwlvs1 Keepalived_vrrp:      172.22.100.13/24 brd 172.22.100.13 
dev ethOUT scope global
Dec 15 12:52:34 fwlvs1 Keepalived_vrrp: VRRP_Instance(VI_OUT) Transition to 
MASTER STATE
Dec 15 12:52:35 fwlvs1 Keepalived_vrrp: VRRP_Instance(VI_OUT) Entering MASTER 
STATE

As You can see the LVSpart was completly ignored, no warning, no
message, nothing!

** Affects: keepalived (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Keepalived haven't LVS support
https://bugs.launchpad.net/bugs/496932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keepalived in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to