kubernetes icon indicating copy to clipboard operation
kubernetes copied to clipboard

we got failed when we running delete service kubernetes-plugin-2.0.3

Open buluxan opened this issue 3 years ago • 1 comments

hi there ,

i created job Kubernetes / Service / Delete it was succesfully delete the service on the kubernetes but when i checked on the rundeck it seem like failure

here's the logs :

Traceback (most recent call last): File "/var/lib/rundeck/libext/cache/kubernetes-plugin-2.0.3/service-delete.py", line 48, in main() File "/var/lib/rundeck/libext/cache/kubernetes-plugin-2.0.3/service-delete.py", line 40, in main print(common.parseJson(api_response)) File "/var/lib/rundeck/libext/cache/kubernetes-plugin-2.0.3/common.py", line 258, in parseJson return json.dumps(obj, cls=ObjectEncoder) File "/usr/lib/python2.7/json/init.py", line 251, in dumps sort_keys=sort_keys, **kw).encode(obj) File "/usr/lib/python2.7/json/encoder.py", line 207, in encode chunks = self.iterencode(o, _one_shot=True) File "/usr/lib/python2.7/json/encoder.py", line 270, in iterencode return iterencode(o, 0) File "/var/lib/rundeck/libext/cache/kubernetes-plugin-2.0.3/common.py", line 254, in default return {k.lstrip(''): v for k, v in vars(obj).items()} TypeError: vars() argument must have dict attribute Failed: NonZeroResultCode: Script result code was: 1

Screen Shot 2021-04-05 at 15 07 17

buluxan avatar Apr 05 '21 08:04 buluxan

do you have a resolution to this?

blbradley avatar Jan 13 '22 17:01 blbradley