salt-ssh cannot load pillar if a volume already exists on this specific node #3564
Labels
complexity:easy
Something that requires less than a day to fix
kind:bug
Something isn't working
priority:high
High priority issues, should be worked on ASAP (after urgent issues), not postponed
topic:salt
Everything related to SaltStack in our product
Milestone
Component:
'salt'
What happened:
If you try to run a salt-ssh state on a node that has some volumes deployed on it (it's the case when you try to restore bootstrap node for example) it fails
TypeError encountered executing state.sls: Object of type 'datetime' is not JSON serializable
It's due to a
time
in storage classesmetadata:managed_fields
.What was expected:
Working salt-ssh even if you have some volumes
Steps to reproduce
Resolution proposal (optional):
As we do for other timestamps In storage classes, convert this
time
to str in our custom pillarNOTE: It's an issue on MetalK8s 2.10 but may not be an issue with the latest 2.11 as we changed the way to interact with Kubernetes API
The text was updated successfully, but these errors were encountered: