Skip to content

Should be able to get a Compute Service without knowing its catalogName #629

Open
@fifieldt

Description

@fifieldt

Hi,

Currently, to get a compute service, you must run:

$service = $client->computeService('{catalogName}', '{region}', '{urlType}');

with catalogName (the name of the service as it appears in the service catalog) as a required option.

However:

  • most users have no idea what the catalogName of their compute service is
  • the catalogName is not displayed in the OpenStack dashboard
  • the catalogName is not listed in the OpenStack RC file
  • the catalogName is not listed when running 'keystone catalog' on the cli
  • most OpenStack deployments have only one compute service per region

Currently, if catalogName is left blank, a string 'cloudServersOpenStack' is used, which does not work for most clouds.

Instead, I think the desired behaviour should be to check the catalog and if only one compute service is found, that should be the one returned.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions