Page MenuHomeDevCentral

Deploy CARP devd configuration via Salt
AcceptedPublic

Authored by yousra on Tue, Mar 31, 12:25.
Tags
None
Referenced Files
F25157275: D4032.id10539.diff
Thu, Apr 2, 07:07
F25157273: D4032.id10541.diff
Thu, Apr 2, 07:07
F25156061: D4032.diff
Thu, Apr 2, 05:28
F25153341: D4032.diff
Thu, Apr 2, 01:52
F25147225: D4032.id10541.diff
Wed, Apr 1, 15:26
F25147217: D4032.id10539.diff
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