Project

General

Profile

Bug #1023

Carp Status Incorrect

Added by Martin Klein almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
11/18/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

I Have Multiple Carp Interfaces (vip21 - vip24),
on the Status Page and the Dashboard Widget all
Interfaces have the state of the first Interfaces
(in my case vip21). If vip21 is Master all are Shown
as master even if they are in Backup state.
If vip21 is Backup all are shown as backup.

Associated revisions

Revision 108cfddf (diff)
Added by Ermal Luçi over 8 years ago

Ticket #1023. Correct the widget code bringing it full speed with latest carp code.

Revision 4ed5ad5a (diff)
Added by Ermal Luçi over 8 years ago

Ticket #1023. Correct carp status even on the status page.

Revision 2bfade90 (diff)
Added by Ermal Luçi over 8 years ago

Initialize variable. Ticket #1023.

History

#1 Updated by Jim Pingle almost 9 years ago

Do you have a screenshot output of the CARP status and the ifconfig -a output that confirms these are producing conflicting output?

Generally all of the VIPs on the master are master, and all on the backup are backup, and they all flip at once when there is a failover. It's not typical to have only certain VIPs be master and others backup.

#2 Updated by Martin Klein almost 9 years ago

Sorry I dont have a screenshot at the moment but here are the ifconfigs:

machine 1:

vip21: flags=8<LOOPBACK> metric 0 mtu 1500
inet 192.168.1.1 netmask 0xffffff00
carp: INIT vhid 21 advbase 1 advskew 0
vip22: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.16.1.1 netmask 0xffffff00
carp: MASTER vhid 22 advbase 1 advskew 0
vip23: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 192.168.2.1 netmask 0xffffff00
carp: MASTER vhid 23 advbase 1 advskew 0
vip24: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 81.16.52.1 netmask 0xffffff80
carp: MASTER vhid 24 advbase 1 advskew 0

machine 2:

vip21: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 192.168.1.1 netmask 0xffffff00
carp: MASTER vhid 21 advbase 1 advskew 100
vip22: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 172.16.1.1 netmask 0xffffff00
carp: BACKUP vhid 22 advbase 1 advskew 100
vip23: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 192.168.2.1 netmask 0xffffff00
carp: BACKUP vhid 23 advbase 1 advskew 100
vip24: flags=49<UP,LOOPBACK,RUNNING> metric 0 mtu 1500
inet 81.16.52.1 netmask 0xffffff00
carp: BACKUP vhid 24 advbase 1 advskew 100

And in the status they both show master status on all
interfaces.

#3 Updated by Chris Buechler almost 9 years ago

  • Target version set to 2.0

#4 Updated by Ermal Luçi over 8 years ago

  • Status changed from New to Feedback

#5 Updated by Martin Klein over 8 years ago

Tried the snapshot from today and
everything seems Fixed.

Thank You

#6 Updated by Chris Buechler over 8 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF