PPPOE-HA: record the two failure modes found by running the thing
Some checks failed
CI/CD / lint (push) Failing after 8s
CI/CD / test (push) Failing after 8s
CI/CD / typecheck (push) Failing after 25s
CI/CD / build (push) Has been skipped
CI/CD / publish-rpm (push) Has been skipped
CI/CD / publish-deb (push) Has been skipped

Both were invisible to inspection and only appeared under the hard matrix:
the flap damper tearing down an established session via the lease it stopped
renewing, and a missing peers file being completely silent. The second has a
production edge worth spelling out -- an unsaved commit reverts on reboot and
takes pppoe0 with it, leaving a standby that can never take over while
looking perfectly healthy.
This commit is contained in:
Michal
2026-09-06 00:11:32 +01:00
parent b659e0d47e
commit 4d47b609a2
9 changed files with 192 additions and 124 deletions

View File

@@ -1,27 +1,27 @@
=== 2026-09-05T19:07:59+01:00 ===
=== 2026-09-06T00:06:00+01:00 ===
--- AC sessions ---
ifname | username | ip | ip6 | ip6-dp | calling-sid | rate-limit | state | uptime | rx-bytes | tx-bytes
--------+----------+----------------+-----+--------+-------------------+------------+--------+----------+----------+----------
ppp0 | simdsl | 198.51.100.117 | | | 52:54:00:e5:95:a2 | | active | 00:01:31 | 1.0 KiB | 792 B
ppp0 | simdsl | 198.51.100.123 | | | 52:54:00:4e:0b:56 | | active | 00:03:19 | 438 B | 204 B
--- 172.31.1.252 ---
vip=172.31.1.1 holds_vip=yes wan_disabled=no wan_up=yes ppp_up=yes ppp_active=yes may_dial=yes lease_age=0 dropin=yes role=master
pppoe0 UNKNOWN 198.51.100.117 peer 198.51.100.1/32
default via 203.0.113.1 dev bond0.53 proto failover metric 1
Sep 05 18:01:26 apitest vrrp-wan[2994197]: not MASTER but bond0.53 enabled -> releasing
Sep 05 18:01:30 apitest vrrp-wan[2995085]: bond0.53 disable commit took 4s
Sep 05 18:03:25 apitest vrrp-wan[3000708]: MASTER: dialling pppoe0
Sep 05 18:03:25 apitest vrrp-wan[3000872]: MASTER with bond0.53 disabled -> enabling
Sep 05 18:03:29 apitest vrrp-wan[3001568]: bond0.53 enable commit took 4s
Sep 05 18:05:43 apitest vrrp-wan[3005097]: GUARD: lease stale (204s > 75s; is vrrp-wan-reconcile.timer running?) -- hanging up pppoe0
vip=172.31.1.1 holds_vip=no wan_disabled=yes wan_up=no ppp_up=no ppp_active=no may_dial=no lease_age=- dropin=yes role=backup
Sep 05 18:05:53 apitest vrrp-wan[3005490]: MASTER: dialling pppoe0
Sep 05 18:06:24 apitest vrrp-wan[3007095]: MASTER: dialling pppoe0
Sep 05 18:08:15 apitest vrrp-wan[3010461]: not MASTER: hanging up pppoe0
Sep 05 18:08:16 apitest vrrp-wan[3010622]: not MASTER but bond0.53 enabled -> releasing
Sep 05 18:08:40 apitest vrrp-wan[3012085]: bond0.53 disable commit took 24s
Sep 05 18:11:42 apitest vrrp-wan[3016900]: MASTER: dialling pppoe0
Sep 05 18:11:42 apitest vrrp-wan[3017050]: MASTER with bond0.53 disabled -> enabling
Sep 05 18:11:46 apitest vrrp-wan[3017685]: bond0.53 enable commit took 4s
--- 172.31.1.253 ---
vip=172.31.1.1 holds_vip=no wan_disabled=yes wan_up=no ppp_up=no ppp_active=no may_dial=no lease_age=- dropin=yes role=backup
Sep 05 17:57:52 vyos vrrp-wan[2797572]: not MASTER but bond0.53 enabled -> releasing
Sep 05 17:58:16 vyos vrrp-wan[2798935]: bond0.53 disable commit took 24s
Sep 05 18:01:03 vyos vrrp-wan[2802338]: MASTER: dialling pppoe0
Sep 05 18:01:03 vyos vrrp-wan[2802489]: MASTER with bond0.53 disabled -> enabling
Sep 05 18:01:07 vyos vrrp-wan[2803365]: bond0.53 enable commit took 4s
Sep 05 18:03:02 vyos vrrp-wan[2808661]: not MASTER: hanging up pppoe0
Sep 05 18:03:02 vyos vrrp-wan[2808822]: not MASTER but bond0.53 enabled -> releasing
Sep 05 18:03:26 vyos vrrp-wan[2810178]: bond0.53 disable commit took 24s
vip=172.31.1.1 holds_vip=yes wan_disabled=no wan_up=yes ppp_up=yes ppp_active=yes may_dial=yes lease_age=10 dropin=yes role=master
pppoe0 UNKNOWN 198.51.100.123 peer 198.51.100.1/32
default nhid 93 dev pppoe0 proto static metric 20
Sep 05 22:54:48 vyos vrrp-wan[193770]: MASTER: dialling pppoe0
Sep 05 22:55:18 vyos vrrp-wan[194885]: MASTER: dialling pppoe0
Sep 05 22:55:49 vyos vrrp-wan[195925]: MASTER: dialling pppoe0
Sep 05 22:56:19 vyos vrrp-wan[196724]: DIAL FLAP: >=6 attempts in 600s -- holding off 900s
Sep 05 22:57:24 vyos vrrp-wan[199011]: MASTER with bond0.53 disabled -> enabling
Sep 05 22:57:28 vyos vrrp-wan[199711]: bond0.53 enable commit took 4s
Sep 05 22:57:40 vyos vrrp-wan[199948]: GUARD: lease stale (81s > 75s; is vrrp-wan-reconcile.timer running?) -- hanging up pppoe0
Sep 05 23:02:41 vyos vrrp-wan[206596]: MASTER: dialling pppoe0