Minor changes to the script names in init.sls
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Apr 1 2026
Mar 31 2026
Fix the path of the script : /usr/local/scripts/carp/carp-ovh.py
Fix the path of the parameter action : /usr/local/scripts/carp/carp-ovh-switch.sh
Mar 30 2026
Apr 1 14:01:39 router-002 kernel: carp: 2@vmx1: BACKUP -> MASTER (master timed out) Apr 1 14:01:39 router-002 carp-ovh[98049]: Detected MAC on vmx1: 00:50:56:09:3c:f2 Apr 1 14:01:39 router-002 carp-ovh[98053]: Checking current state... Apr 1 14:01:39 router-002 carp-ovh[98057]: Checking IPs for MAC 00:50:56:09:3c:f2 Apr 1 14:01:39 router-002 carp-ovh[98061]: OVH returned: ['178.32.70.110', '51.68.252.230'] Apr 1 14:01:39 router-002 carp-ovh[98065]: VIP is already on correct MAC -> nothing to do
When router-003 (The MASTER) become unavailable :
Mar 29 2026
Enable rotation of Vault AppRole credentials on CARP routers
Mar 25 2026
Tested locally with ripgrep. Configuration files like .arcconfig are now correctly included in search results !
I tested the Docker image locally and the image builds, the container starts correctly, and the test suite runs inside it.
Mar 24 2026
The script to test if we can access to the OVH credentials (application_key, application_secret, consumer_key):
The script to test the connection to Vault, using a YAML configuration file that tells the secretsmith client how to connect to Vault :
It is not necessary to create a local map.jinja here, since it only imports a variable from the global map.jinja.
- Install pip using the OS-specific package prefix from map.jinja.
Mar 23 2026
ovh and secretsmith are now installed on the router-002 and router-003.
1.Add map to avoid to hunt version every time we update python.
Mar 22 2026
The file /usr/local/etc/devd/carp.conf :
notify 0 {
match "system" "CARP";
match "subsystem" "[0-9]+@[0-9a-z.]+";
match "type" "(MASTER|BACKUP)";
action "/usr/local/scripts/carp-test.sh";
};@dereckson I first tried to redefine the devd rule by matching specific IFNET event types such as LINK_UP, LINK_DOWN, UP and DOWN, but none of them were triggered during CARP state changes in my tests.
A dedicated devd file was placed in /usr/local/etc/devd because this directory is usually used for custom configurations added by administrators, while /etc/devd contains the default system rules from FreeBSD. It makes the setup cleaner, avoids mixing custom logic with system configuration, and makes future maintenance or upgrades easier.