Details
Details
- Reviewers
dereckson Duranzed - Maniphest Tasks
- T2322: Create log file for GRE tunnel creation script
- logger -t gre-tunnels "hello after salt"
- tail -f /var/log/gre-tunnels.log
Diff Detail
Diff Detail
- Repository
- rOPS Nasqueron Operations
- Lint
Lint Skipped - Unit
No Test Coverage - Branch
- log-gre-udpate
- Build Status
Buildable 6696 Build 6984: arc lint + arc unit
Event Timeline
Comment Actions
Update roles/router/carp/init.sls so its /etc/syslog.conf replacement logic is consistent with GRE logging.
This avoids CARP and GRE logging states overwriting each other when both tags are configured.
Comment Actions
Test result :
` [duranzed@windriver ~]$ logger -t gre-tunnels "hello after salt" [duranzed@windriver ~]$ tail -f /var/log/gre-tunnels.log May 6 11:48:59 windriver gre-tunnels[83870]: Configuring the tunnel on windriver May 6 11:48:59 windriver gre-tunnels[83875]: Destroying gre1 May 6 11:48:59 windriver gre-tunnels[83883]: Configuring gre1 �M-^FM-^R windriver_to_primary_router May 6 11:48:59 windriver gre-tunnels[83906]: Tunnel configuration completed May 6 11:52:30 windriver gre-tunnels[84072]: CARP PRIMARY ROUTER detected: router-003 May 6 11:52:30 windriver gre-tunnels[84077]: Configuring the tunnel on windriver May 6 11:52:30 windriver gre-tunnels[84082]: Destroying gre1 May 6 11:52:30 windriver gre-tunnels[84090]: Configuring gre1 �M-^FM-^R windriver_to_primary_router May 6 11:52:30 windriver gre-tunnels[84113]: Tunnel configuration completed May 8 18:57:35 windriver gre-tunnels[93086]: hello after salt `