← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1605966] [NEW] L3 HA: VIP doesn't changed if qr interface or qg interface was down

 

Public bug reported:

In L3 HA, if qr interface or qg interface was down, VIP doesn't changed.

In current keepalived configure file,

    vrrp_instance VR_2 {
    state BACKUP
    interface ha-c00c7b49-d5
    virtual_router_id 2
    priority 50
    garp_master_delay 60
    nopreempt
    advert_int 2
    track_interface {
        ha-c00c7b49-d5
    }
    virtual_ipaddress {
        169.254.0.2/24 dev ha-c00c7b49-d5
    }
    virtual_ipaddress_excluded {
        2.2.2.1/24 dev qr-b312f788-9b
        fe80::f816:3eff:feac:fa12/64 dev qr-b312f788-9b scope link
    }
    }

Track interfaces only include "ha" interface, so VIP will not changed if
"qr" or "qg" interface was down.

To address this, we track both "qr" and "qg" interfaces, like this:

    vrrp_instance VR_2 {
    state BACKUP
    interface ha-c00c7b49-d5
    virtual_router_id 2
    priority 50
    garp_master_delay 60
    nopreempt
    advert_int 2
    track_interface {
        qr-xxxxxxxxxxx
        qg-xxxxxxxxxxx
        ha-c00c7b49-d5
    }
    virtual_ipaddress {
        169.254.0.2/24 dev ha-c00c7b49-d5
    }
    virtual_ipaddress_excluded {
        2.2.2.1/24 dev qr-b312f788-9b
        fe80::f816:3eff:feac:fa12/64 dev qr-b312f788-9b scope link
    }
    }

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1605966

Title:
  L3 HA: VIP doesn't changed if qr interface or qg interface was down

Status in neutron:
  New

Bug description:
  In L3 HA, if qr interface or qg interface was down, VIP doesn't
  changed.

  In current keepalived configure file,

      vrrp_instance VR_2 {
      state BACKUP
      interface ha-c00c7b49-d5
      virtual_router_id 2
      priority 50
      garp_master_delay 60
      nopreempt
      advert_int 2
      track_interface {
          ha-c00c7b49-d5
      }
      virtual_ipaddress {
          169.254.0.2/24 dev ha-c00c7b49-d5
      }
      virtual_ipaddress_excluded {
          2.2.2.1/24 dev qr-b312f788-9b
          fe80::f816:3eff:feac:fa12/64 dev qr-b312f788-9b scope link
      }
      }

  Track interfaces only include "ha" interface, so VIP will not changed
  if "qr" or "qg" interface was down.

  To address this, we track both "qr" and "qg" interfaces, like this:

      vrrp_instance VR_2 {
      state BACKUP
      interface ha-c00c7b49-d5
      virtual_router_id 2
      priority 50
      garp_master_delay 60
      nopreempt
      advert_int 2
      track_interface {
          qr-xxxxxxxxxxx
          qg-xxxxxxxxxxx
          ha-c00c7b49-d5
      }
      virtual_ipaddress {
          169.254.0.2/24 dev ha-c00c7b49-d5
      }
      virtual_ipaddress_excluded {
          2.2.2.1/24 dev qr-b312f788-9b
          fe80::f816:3eff:feac:fa12/64 dev qr-b312f788-9b scope link
      }
      }

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1605966/+subscriptions


Follow ups