fix(gre): не подменять неизвестные флаги состоянием туннеля

This commit is contained in:
Denozordec committed 2026-10-14 01:39:35 +07:00
1 parent 9c4a0992d7
commit 51a579d370
18 files changed
+877 -17

No files matched your search

+292
View File
@@ -0,0 +1,292 @@
{
"date": "2026-10-14",
"block": "12.5.220",
"baseline": true,
"database": "mm_accept_166_1791916058621",
"cases": [
{
"phase": "up",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "up",
"flags": {
"running": "true",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
},
{
"phase": "degraded",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "degraded",
"flags": {
"running": "false",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "down",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "down",
"flags": {
"running": "false",
"disabled": "true"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "yes-up",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "yes-up",
"flags": {
"running": "yes",
"disabled": "no"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "yes-degraded",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "yes-degraded",
"flags": {
"running": "no",
"disabled": "no"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "yes-down",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "yes-down",
"flags": {
"running": "no",
"disabled": "yes"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "missing-disabled",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "missing-disabled",
"flags": {
"running": "true"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
},
{
"phase": "missing-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "missing-running",
"flags": {
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "blank-disabled",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "blank-disabled",
"flags": {
"running": "true",
"disabled": ""
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
},
{
"phase": "invalid-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "invalid-running",
"flags": {
"running": "junk",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "invalid-disabled",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "invalid-disabled",
"flags": {
"running": "true",
"disabled": "junk"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
},
{
"phase": "both-missing",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "both-missing",
"flags": {},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "disabled-missing-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "disabled-missing-running",
"flags": {
"disabled": "true"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "disabled-invalid-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "disabled-invalid-running",
"flags": {
"disabled": "true",
"running": "junk"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "recovery",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "recovery",
"flags": {
"running": "true",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
}
],
"scope": "Actual compiled GRE operational flags and actual snapshot collector, owned SQL/native HTTP fixture; signed reader/authenticated GRE API",
"passed": true,
"nativeWrites": 0,
"disabledHomeRouterCalls": 0,
"ownedDatabaseAndRoleRemoved": true
}
@@ -0,0 +1,23 @@
{
"date": "2026-10-14",
"block": "12.5.220",
"compiled": {
"matched": 1056,
"missing": 0,
"different": 0
},
"source": [
{
"kind": "backend",
"matched": 488
}
],
"profileScripts": {
"liveMaps": 14,
"configSync": 6,
"greFlagCombinations": 49
},
"optionalDisabledSqlProfileSkipped": true,
"productionCases": 30,
"initialLocalFixtureFailure": "GRE IPv6 fixture omitted disabled; updated to explicit false, repeated configSync passed"
}
@@ -0,0 +1,21 @@
{
"date": "2026-10-14",
"block": "12.5.220",
"backendSourceMatched": 488,
"compiledMatched": 1056,
"frontendChanged": false,
"services": {
"backend": {
"image": "mmapp-test/backend:ux-gre220",
"imageId": "sha256:ccec71e8e2e1fd3a13e98be145cba26cdd2dc85409053e00e88d3ca81de5329d",
"running": true,
"health": "healthy"
},
"frontend": {
"image": "mmapp-test/frontend:ux-routing218",
"imageId": "sha256:ec658b9da88c19d60987be5bfc0c15fb339a0310d7a42dc761b40a70a3428c5a",
"running": true,
"health": null
}
}
}
+292
View File
@@ -0,0 +1,292 @@
{
"date": "2026-10-14",
"block": "12.5.220",
"baseline": false,
"database": "mm_accept_166_1791916217951",
"cases": [
{
"phase": "up",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "up",
"flags": {
"running": "true",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
},
{
"phase": "degraded",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "degraded",
"flags": {
"running": "false",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "down",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "down",
"flags": {
"running": "false",
"disabled": "true"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "yes-up",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "yes-up",
"flags": {
"running": "yes",
"disabled": "no"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
},
{
"phase": "yes-degraded",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "yes-degraded",
"flags": {
"running": "no",
"disabled": "no"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "degraded",
"nativeCalls": 10
},
{
"phase": "yes-down",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "yes-down",
"flags": {
"running": "no",
"disabled": "yes"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "missing-disabled",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 1,
"failures": 1
},
{
"phase": "missing-disabled",
"flags": {
"running": "true"
},
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1,
"secondStatus": null,
"nativeCalls": 10
},
{
"phase": "missing-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 1,
"failures": 1
},
{
"phase": "missing-running",
"flags": {
"disabled": "false"
},
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1,
"secondStatus": null,
"nativeCalls": 10
},
{
"phase": "blank-disabled",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 1,
"failures": 1
},
{
"phase": "blank-disabled",
"flags": {
"running": "true",
"disabled": ""
},
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1,
"secondStatus": null,
"nativeCalls": 10
},
{
"phase": "invalid-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 1,
"failures": 1
},
{
"phase": "invalid-running",
"flags": {
"running": "junk",
"disabled": "false"
},
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1,
"secondStatus": null,
"nativeCalls": 10
},
{
"phase": "invalid-disabled",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 1,
"failures": 1
},
{
"phase": "invalid-disabled",
"flags": {
"running": "true",
"disabled": "junk"
},
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1,
"secondStatus": null,
"nativeCalls": 10
},
{
"phase": "both-missing",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 1,
"failures": 1
},
{
"phase": "both-missing",
"flags": {},
"greWritten": 0,
"bgpWritten": 2,
"sourceErrors": 1,
"secondStatus": null,
"nativeCalls": 10
},
{
"phase": "disabled-missing-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "disabled-missing-running",
"flags": {
"disabled": "true"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "disabled-invalid-running",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "disabled-invalid-running",
"flags": {
"disabled": "true",
"running": "junk"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "down",
"nativeCalls": 10
},
{
"phase": "recovery",
"endpoint": "GRE authenticated catalog",
"status": 200,
"tunnels": 2,
"failures": 0
},
{
"phase": "recovery",
"flags": {
"running": "true",
"disabled": "false"
},
"greWritten": 2,
"bgpWritten": 2,
"sourceErrors": 0,
"secondStatus": "up",
"nativeCalls": 10
}
],
"scope": "Actual compiled GRE operational flags and actual snapshot collector, owned SQL/native HTTP fixture; signed reader/authenticated GRE API",
"passed": true,
"nativeWrites": 0,
"disabledHomeRouterCalls": 0,
"ownedDatabaseAndRoleRemoved": true
}
@@ -0,0 +1,47 @@
{
"date": "2026-10-14",
"block": "12.5.220",
"host": "104.165.244.7",
"status": 401,
"failedRequestPathNotRecorded": true,
"wholeLiveAttemptAborted": true,
"ownedGreCleanupReported": true,
"causeKnown": false,
"subsequentAccessCheck": {
"date": "2026-10-14",
"cases": [
{
"host": "194.226.121.150",
"path": "/system/resource",
"status": 200
},
{
"host": "194.226.121.150",
"path": "/ip/address",
"status": 200
},
{
"host": "194.226.121.150",
"path": "/interface/gre",
"status": 200
},
{
"host": "104.165.244.7",
"path": "/system/resource",
"status": 200
},
{
"host": "104.165.244.7",
"path": "/ip/address",
"status": 200
},
{
"host": "104.165.244.7",
"path": "/interface/gre",
"status": 200
}
]
},
"probeDifference": "Independent recheck uses Connection close; no causal claim",
"passwordsNotChanged": true
}
@@ -0,0 +1,100 @@
{
"date": "2026-10-14",
"block": "12.5.220",
"backend": "ux-gre220",
"frontend": "ux-routing218",
"nativeCases": [
{
"host": "194.226.121.150",
"nativeGetStatus": 200,
"applicationStatus": "degraded",
"nativeDisabled": "false",
"nativeRunning": "false",
"nativeIdPresent": true,
"nativeNamePresent": true
},
{
"host": "104.165.244.7",
"nativeGetStatus": 200,
"applicationStatus": "degraded",
"nativeDisabled": "false",
"nativeRunning": "false",
"nativeIdPresent": true,
"nativeNamePresent": true
}
],
"source": {
"date": "2026-10-14",
"name": "own220-gre-1791916454934",
"passed": true,
"mode": "Actual compiled helper reads lab PostgreSQL/native enabled GRE and BGP; no scheduler history write",
"ownedGreRows": [
{
"targetLabel": "own220-gre-1791916454934-1 / CHR",
"status": "up"
},
{
"targetLabel": "own220-gre-1791916454934-2 / CHR",
"status": "up"
}
],
"sourceErrors": 0
},
"ui": [
{
"width": 1440,
"ownedNativeRowVisible": true,
"pageErrors": 0,
"mutationRequests": 0
},
{
"width": 320,
"ownedNativeRowVisible": true,
"pageErrors": 0,
"mutationRequests": 0
}
],
"transitions": [
{
"phase": "both-up",
"nativeFlagsConfirmed": true,
"ping": [
{
"host": "194.226.121.150",
"received": 3
},
{
"host": "104.165.244.7",
"received": 3
}
]
},
{
"phase": "one-disabled-peer-degraded",
"nativeFlagsConfirmed": true,
"applicationStatuses": [
"down",
"degraded"
]
},
{
"phase": "recovered-up",
"nativeFlagsConfirmed": true,
"ping": [
{
"host": "194.226.121.150",
"received": 3
},
{
"host": "104.165.244.7",
"received": 3
}
]
}
],
"realPortalJWT": true,
"apiMocks": false,
"cleanupCompleted": true,
"scope": "Actual compiled collector and API read confirmed GRE flags; controlled peer disable/recovery and short IPv4 Ping; no physical WAN loss/SLA or durable snapshot write",
"passwordsUnchanged": true
}