Closed jopietsch closed 4 years ago
I think that might be two exceptions squished together. My script calls sq-poller, than kills it, and then runs a table show. so I think there is a problem from both the poller and the cli
the problem is with mlag, backupActive
pyarrow.lib.ArrowInvalid: ('Could not convert false with type str: tried to convert to boolean', 'Conversion failed for column backupActive with type object')
I got it to work again by making these changes
PS C:\Users\jpiet\code\suzieq> git diff .\config\mlag.yml .\config\schema\mlag.avsc
diff --git a/config/mlag.yml b/config/mlag.yml
index e8cdec8c6..3c40bbacd 100644
--- a/config/mlag.yml
+++ b/config/mlag.yml
@@ -21,7 +21,7 @@ apply:
"status/peerId: peerMacAddress",
"status/peerIf: peerLink",
"peerLinkStatus: peerLinkStatus?|NA",
- "status/backupActive: backupActive?|false",
+ "status/backupActive: backupActive?True=true|false",
"status/backupIp: backupIP",
"status/backupReason: backupReason?|",
"status/linklocal: usesLinkLocal?|False",
diff --git a/config/schema/mlag.avsc b/config/schema/mlag.avsc
index 74a796d70..d35d4ba57 100644
--- a/config/schema/mlag.avsc
+++ b/config/schema/mlag.avsc
@@ -47,7 +47,7 @@
},
{
"name": "backupActive",
- "type": "boolean"
+ "type": "string"^M
},
{
"name": "mlagSinglePortsCnt",
That change is wrong. Why didn't I run into any issue yesterday? Let me see
I don't know if I can reproduce this yet and I don't know how transient it is I was updating basic_dual_bgp which is dual-attach bgp and got this error in from my script