Project

General

Profile

Actions

Bug #12202

closed

When a CARP VIP VHID change is synchronized to a secondary node, the CARP VIP is removed from the interface and the old VHIDs remain active

Added by Chris Linstruth over 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
CARP
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default
Affected Version:
2.5.2
Affected Architecture:

Description

Set up a CARP VIP between two nodes.
Primary:

vtnet4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: WAN2
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether 0e:a5:98:66:d0:cf
    inet6 fe80::ca5:98ff:fe66:d0cf%vtnet4 prefixlen 64 scopeid 0x5
    inet 172.25.227.18 netmask 0xffffff00 broadcast 172.25.227.255
    inet 172.25.227.17 netmask 0xffffff00 broadcast 172.25.227.255 vhid 242
    carp: MASTER vhid 242 advbase 1 advskew 0
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Secondary:

vtnet4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: WAN2
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether e2:66:f3:ea:8a:ba
    inet6 fe80::e066:f3ff:feea:8aba%vtnet4 prefixlen 64 scopeid 0x5
    inet 172.25.227.19 netmask 0xffffff00 broadcast 172.25.227.255
    inet 172.25.227.17 netmask 0xffffff00 broadcast 172.25.227.255 vhid 242
    carp: INIT vhid 241 advbase 1 advskew 100
    carp: BACKUP vhid 242 advbase 1 advskew 100
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Hmm. The old VIP was also not cleared from the interface - CARP INIT state. That is from the prior test in which I changed the VHID from 241 to 242.

Status > CARP shows MASTER/BACKUP

Change the VHID on the primary from 242 to 243. Save. Apply

Status > CARP Shows MASTER/ BLANK

Primary:

vtnet4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: WAN2
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether 0e:a5:98:66:d0:cf
    inet6 fe80::ca5:98ff:fe66:d0cf%vtnet4 prefixlen 64 scopeid 0x5
    inet 172.25.227.18 netmask 0xffffff00 broadcast 172.25.227.255
    inet 172.25.227.17 netmask 0xffffff00 broadcast 172.25.227.255 vhid 243
    carp: MASTER vhid 243 advbase 1 advskew 0
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Secondary:

vtnet4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: WAN2
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether e2:66:f3:ea:8a:ba
    inet6 fe80::e066:f3ff:feea:8aba%vtnet4 prefixlen 64 scopeid 0x5
    inet 172.25.227.19 netmask 0xffffff00 broadcast 172.25.227.255
    carp: INIT vhid 241 advbase 1 advskew 100
    carp: INIT vhid 242 advbase 1 advskew 100
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

Edit / Save / Apply the VIP on the secondary:

vtnet4: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> metric 0 mtu 1500
    description: WAN2
    options=800b8<VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,LINKSTATE>
    ether e2:66:f3:ea:8a:ba
    inet6 fe80::e066:f3ff:feea:8aba%vtnet4 prefixlen 64 scopeid 0x5
    inet 172.25.227.19 netmask 0xffffff00 broadcast 172.25.227.255
    inet 172.25.227.17 netmask 0xffffff00 broadcast 172.25.227.255 vhid 243
    carp: INIT vhid 241 advbase 1 advskew 100
    carp: INIT vhid 242 advbase 1 advskew 100
    carp: BACKUP vhid 243 advbase 1 advskew 100
    media: Ethernet 10Gbase-T <full-duplex>
    status: active
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>

(I don't have a preview option in redmine any more. Sorry for any misformatting.)


Related issues

Has duplicate Bug #12006: CARP IP sometimes doesn't apply to CARP memberDuplicate06/07/2021

Actions
Actions #1

Updated by Chris Linstruth over 3 years ago

  • Affected Version set to 2.5.2
Actions #2

Updated by Viktor Gurov over 3 years ago

  • Related to Bug #12227: Changing VHID on CARP VIP does not update VHID of related IP Alias VIPs added
Actions #4

Updated by Jim Pingle over 3 years ago

  • Status changed from New to Pull Request Review
  • Target version set to 2.6.0
  • Plus Target Version set to 21.09
Actions #5

Updated by Viktor Gurov over 3 years ago

  • Related to deleted (Bug #12227: Changing VHID on CARP VIP does not update VHID of related IP Alias VIPs)
Actions #6

Updated by Jim Pingle over 3 years ago

  • Has duplicate Bug #12006: CARP IP sometimes doesn't apply to CARP member added
Actions #7

Updated by Viktor Gurov over 3 years ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #8

Updated by Jim Pingle over 3 years ago

  • Subject changed from CARP VIP removed from secondary's interface if VHID is changed and old VHIDs remain on secondary to When a CARP VIP VHID change is synchronized to a secondary node, the CARP VIP is removed from the interface and the old VHIDs remain active

Updating subject for release notes.

Actions #9

Updated by Chris Linstruth over 3 years ago

  • Status changed from Feedback to Resolved

This specific case works now. Thank you.

Tested on:
2.6.0-DEVELOPMENT (amd64)
built on Thu Sep 16 01:10:58 EDT 2021

Actions #10

Updated by Jim Pingle about 3 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF