Skip to content
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

[QUESTION]: Are there any option to use one session ID for authentication #441

Closed
SeiketsuJael opened this issue Aug 30, 2022 · 2 comments · Fixed by #662
Closed

[QUESTION]: Are there any option to use one session ID for authentication #441

SeiketsuJael opened this issue Aug 30, 2022 · 2 comments · Fixed by #662
Labels
area/ome ome modules needs-triage Issue requires triage. type/feature-request New feature or request
Milestone

Comments

@SeiketsuJael
Copy link

How can the team help?

I would like to know if there are any options to use a config file that has the authentication/sessionID instead of initiating an session on every ansible task for OME?
Details: ?
Currently we are foreseeing an issue when it comes to hitting the maximum API sessions if we have multiple tasks that will use the ansible modules for OME. We can probably increase the threshold but I want to put it out there if there are any possible solutions of using a single authentication code for one playbook execution.

Thank you in advance and would appreciate any answers.

@SeiketsuJael SeiketsuJael added the type/question Further information is requested label Aug 30, 2022
@anupamaloke
Copy link
Contributor

@SeiketsuJael, at present this is not supported by the modules. However, I agree that it could become an issue in future when you have multiple tools requesting user sessions from OME. One way to do it would be to have a new module to create user sessions and then modify existing set of modules to have an additional argument to accept x-auth tokens.

@anupamaloke anupamaloke added type/feature-request New feature or request area/ome ome modules needs-triage Issue requires triage. and removed type/question Further information is requested labels Sep 7, 2022
@SeiketsuJael
Copy link
Author

@anupamaloke Thank you for the response, we will look forward to this feature. For the meantime we will increase the session threshold just to avoid future issues since we have multiple tools.

@rajshekarp87 rajshekarp87 linked a pull request May 21, 2024 that will close this issue
8 tasks
@rajshekarp87 rajshekarp87 added this to the v9.3.0 milestone May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ome ome modules needs-triage Issue requires triage. type/feature-request New feature or request
Projects
Development

Successfully merging a pull request may close this issue.

3 participants