[Openstack-operators] Neutron HA With VRRP (2 Master Nodes, Bogus VRRP packet)
Eren Türkay
erent at skyatlas.com
Tue May 26 10:21:00 UTC 2015
On 26-05-2015 11:15, Eren Türkay wrote:
> May 26 10:54:15 neutron-ha-2 Keepalived_vrrp[20144]: ip address associated with
> VRID not present in received packet : 169.254.0.1
> May 26 10:54:15 neutron-ha-2 Keepalived_vrrp[20144]: one or more VIP associated
> with VRID mismatch actual MASTER advert
> May 26 10:54:15 neutron-ha-2 Keepalived_vrrp[20144]: bogus VRRP packet received
> on ha-38ff51c5-f0 !!!
> May 26 10:54:15 neutron-ha-2 Keepalived_vrrp[20144]: VRRP_Instance(VR_1)
> Dropping received VRRP packet...
I guess I made some progress. I manually built keepalived.conf. With the
settings below, keepalived is working without a problem. I added both IP
addresses (internal HA address and tenant router ip) to vrrp_addresses section.
Master/backup switch is OK, when link goes down, failover happens within a
reasonable time (20 to 30 seconds). Now, the problem is why keepalived.conf is
deficient on second node and lacking an IP address which causes a problem?
---- BEGIN: keepalived.conf on NODE-1 ----
vrrp_sync_group VG_1 {
group {
VR_1
}
notify_master
"/var/lib/neutron/ha_confs/93b94981-01ac-4e59-8718-5103b867f3dd/notify_master.sh"
notify_backup
"/var/lib/neutron/ha_confs/93b94981-01ac-4e59-8718-5103b867f3dd/notify_backup.sh"
notify_fault
"/var/lib/neutron/ha_confs/93b94981-01ac-4e59-8718-5103b867f3dd/notify_fault.sh"
}
vrrp_instance VR_1 {
state BACKUP
interface ha-b9db8385-67
virtual_router_id 1
priority 50
nopreempt
advert_int 2
track_interface {
ha-b9db8385-67
}
virtual_ipaddress {
10.30.0.1/24 dev qr-a867fbab-dd
169.254.0.1/24 dev ha-b9db8385-67
}
virtual_ipaddress_excluded {
192.168.92.23/32 dev qg-690ab8d9-81
192.168.92.33/16 dev qg-690ab8d9-81
}
virtual_routes {
0.0.0.0/0 via 192.168.88.1 dev qg-690ab8d9-81
}
}
---- END: keepalived.conf on NODE-1 ----
---- BEGIN: keepalived.conf on NODE-2 ----
vrrp_sync_group VG_1 {
group {
VR_1
}
notify_master
"/var/lib/neutron/ha_confs/93b94981-01ac-4e59-8718-5103b867f3dd/notify_master.sh"
notify_backup
"/var/lib/neutron/ha_confs/93b94981-01ac-4e59-8718-5103b867f3dd/notify_backup.sh"
notify_fault
"/var/lib/neutron/ha_confs/93b94981-01ac-4e59-8718-5103b867f3dd/notify_fault.sh"
}
vrrp_instance VR_1 {
state BACKUP
interface ha-38ff51c5-f0
virtual_router_id 1
priority 50
nopreempt
advert_int 2
track_interface {
ha-38ff51c5-f0
}
virtual_ipaddress {
10.30.0.1/24 dev qr-a867fbab-dd
169.254.0.1/24 dev ha-38ff51c5-f0
}
virtual_ipaddress_excluded {
192.168.92.23/32 dev qg-690ab8d9-81
192.168.92.33/16 dev qg-690ab8d9-81
fe80::f816:33ff:fe45:26ed/64 dev qr-a867fbab-dd scope link
fe80::f816:33ff:fee8:fd4b/64 dev qg-690ab8d9-81 scope link
}
virtual_routes {
0.0.0.0/0 via 192.168.88.1 dev qg-690ab8d9-81
}
}
---- END: keepalived.conf on NODE-2 ----
--
Eren Türkay, System Administrator
https://skyatlas.com/ | +90 850 885 0357
Yildiz Teknik Universitesi Davutpasa Kampusu
Teknopark Bolgesi, D2 Blok No:107
Esenler, Istanbul Pk.34220
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150526/bddf4728/attachment.pgp>
More information about the OpenStack-operators
mailing list