-
Notifications
You must be signed in to change notification settings - Fork 63
DIARCHERS-610: generate batch token to connect vault #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
6945f12 to
435c9e1
Compare
liuwei08
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found this error in rel env, https://infrabox.datahub.only.sap/dashboard/#/project/rms/build/45609/1/job/generator%2Fbuild-testjumpbox-server-csi-image.1, Please fix this bug
File "/infrabox/api/handlers/job_api.py", line 454, in get
secret = get_secret(json.dumps(password))
File "/infrabox/api/handlers/job_api.py", line 416, in get_secret
batch_token = vault_client.generate_batch_token(token_to_use)
File "/infrabox/api/handlers/job_api.py", line 99, in generate_batch_token
if 'token-creator' in self.policies:
TypeError: argument of type 'NoneType' is not iterable
21-11-2025:05:58:52,918 INFO [job_api.py:414] validate way is appRole
21-11-2025:05:58:53,134 ERROR [app.py:1891] Exception on /api/job/job [GET]
Traceback (most recent call last):
No description provided.