Page MenuHomeDevCentral

Deploy CARP devd configuration via Salt
AcceptedPublic

Authored by yousra on Tue, Mar 31, 12:25.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 2, 07:07
Unknown Object (File)
Thu, Apr 2, 07:07
Unknown Object (File)
Thu, Apr 2, 05:28
Unknown Object (File)
Thu, Apr 2, 01:52
Unknown Object (File)
Wed, Apr 1, 15:26
Unknown Object (File)
Wed, Apr 1, 15:25

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
  • Applied state on router-002:

    salt 'router-002' state.apply roles/router test=True

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

    salt 'router-003' state.apply roles/router test=True

    salt 'router-003' state.apply roles/router

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
devd-carp
Build Status
Buildable 6549
Build 6833: arc lint + arc unit

Event Timeline

yousra requested review of this revision.Tue, Mar 31, 12:25
yousra created this revision.
This revision is now accepted and ready to land.Tue, Mar 31, 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)