Page MenuHomePhabricator

VRRP failed to start if any of its interaces not exist
Open, NormalPublicBUG

Description

lets imagine the following situation:
There is 5 interfaces (vlans) and 5 vrrp groups and everything working fine.
I'm going to create 6th vlan + 6th vrrp group.
if I've created 6th vrrp group but forgot to create 6th vlan interface and executed "commit" command, the VRRP will stop working completely!

Here is VRRP log:

Aug 15 22:38:11 R9 Keepalived_vrrp[29368]: Opening file '/etc/keepalived/keepalived.conf'.
Aug 15 22:38:11 R9 Keepalived_vrrp[29368]: (Line 61) WARNING - interface eth0.356 for vrrp_instance VLAN-356 doesn't exist
Aug 15 22:38:11 R9 Keepalived_vrrp[29368]: Non-existent interface specified in configuration
Aug 15 22:38:11 R9 Keepalived_vrrp[29368]: Stopped
Aug 15 22:38:11 R9 Keepalived[29367]: Keepalived_vrrp exited with permanent error CONFIG. Terminating

Details

Difficulty level
Unknown (require assessment)
Version
1.2.2
Why the issue appeared?
Will be filled on close

Event Timeline

Harliff created this task.Aug 15 2019, 8:24 PM
Harliff updated the task description. (Show Details)
Harliff updated the task description. (Show Details)Aug 15 2019, 8:27 PM
Harliff updated the task description. (Show Details)
Harliff updated the task description. (Show Details)Aug 15 2019, 8:38 PM
pasik added a subscriber: pasik.Wed, Aug 21, 6:00 PM
syncer assigned this task to zsdc.Fri, Aug 30, 10:50 PM
syncer triaged this task as Normal priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.