Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
buluxan opened this issue Apr 5, 2021 · 1 comment
Open

Comments

@buluxan
Copy link

buluxan commented Apr 5, 2021

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

@blbradley
Copy link

do you have a resolution to this?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants