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

Orchestrator and keystone might not be in the same host / IP #193

Open
rg2011 opened this issue Aug 2, 2023 · 0 comments
Open

Orchestrator and keystone might not be in the same host / IP #193

rg2011 opened this issue Aug 2, 2023 · 0 comments

Comments

@rg2011
Copy link

rg2011 commented Aug 2, 2023

The _get_service_id function in Orchestrator class queries keystone for a service id, calling the KeystoneUtils.get_service_id funcion with the same IP address as the orchestrator itself (self.ip). It also hard-codes the port 5001:

service_id = KeystoneUtils.get_service_id(admin_domain_user,
admin_domain_password,
service_name,
ip=self.ip,
port=5001)

This doesn't work in environments where the orchestrator and keystone are in separate hosts or pods (like kubernetes), with different service names.

Maybe the Orchestrator class constructor should accept a couple of optional parameters, such as keystone_host, keystone_port, that could default to the same IP as the orchestrator itself and port 5001.

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

1 participant