Page MenuHomeDevCentral

Deploy CARP devd configuration via Salt
ClosedPublic

Authored by yousra on Mar 31 2026, 12:25.
Tags
None
Referenced Files
F28136996: D4032.diff
Sun, May 10, 05:39
Unknown Object (File)
Sat, May 2, 20:16
Unknown Object (File)
Thu, Apr 30, 02:17
Unknown Object (File)
Tue, Apr 28, 08:55
Unknown Object (File)
Tue, Apr 28, 08:52
Unknown Object (File)
Sun, Apr 26, 15:07
Unknown Object (File)
Sun, Apr 26, 13:36
Unknown Object (File)
Sun, Apr 26, 10:41

Details

Summary

Addt to the Salt state CARP the file /usr/local/etc/devd/carp.conf on router nodes.
This configuration allows devd to listen for CARP state changes (MASTER/BACKUP)
and automatically trigger the OVH failover script.

Ref T2276

Test Plan
  • Apply state on router-002:

    salt 'router-002' state.apply roles/router
  • Apply state on router-003:

    salt 'router-003' state.apply roles/router
  • sudo service devd restart
  • Simulate failover of Master
  • Test if the script is called

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
arcpatch-D4032_2
Build Status
Buildable 6636
Build 6920: arc lint + arc unit

Event Timeline

yousra requested review of this revision.Mar 31 2026, 12:25
yousra created this revision.
This revision is now accepted and ready to land.Mar 31 2026, 13:37

Fix the path of the parameter action : /usr/local/scripts/carp/carp-ovh-switch.sh

Fix :

  • Change the name of the script in action (no more script .sh)
  • '0644' (Ansible) into 644 (Salt)
yousra edited the test plan for this revision. (Show Details)
yousra edited the test plan for this revision. (Show Details)
yousra edited the test plan for this revision. (Show Details)
yousra added a reviewer: yousra.
yousra removed a reviewer: yousra.
This revision now requires review to proceed.Apr 6 2026, 14:58
yousra added a reviewer: yousra.
This revision is now accepted and ready to land.Apr 6 2026, 14:58
This revision now requires review to proceed.Apr 6 2026, 14:59
This revision is now accepted and ready to land.Apr 6 2026, 16:36
roles/router/carp/files/carp-devd.conf
3
This revision was automatically updated to reflect the committed changes.