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

keep connection open to API #79

Open
Rocco83 opened this issue May 27, 2016 · 1 comment
Open

keep connection open to API #79

Rocco83 opened this issue May 27, 2016 · 1 comment

Comments

@Rocco83
Copy link
Contributor

Rocco83 commented May 27, 2016

There are currently several call to katello/foreman API, and, in my understanding, every call is asking for a new authentication.
It would be a good improvement to have one initial "login", perform operations, and "logout" at the end of the script.
In example, in case of LDAP connection Foreman/Katello give sometimes 500 error in authentication.
This can be a workaround.

What do you think about it?
Do you have any suggestion on how to handle the 1st time auth with Katello/Foreman API?
I can for sure work on the PR.

@evgeni
Copy link
Member

evgeni commented May 30, 2016

The API currently does not support any kind of non user/pass login:

Until this is resolved, I do not really see a way for bootstrap to fix your issue.

Keeping the TCP conenction open could also help, but that would pull in way too much state into bootstrap.

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

No branches or pull requests

2 participants