Skip to content

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

@rg2011

Description

@rg2011

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions