Skip to content

Use of OS_REGION_NAME #1534

@dmbuil

Description

@dmbuil

I have a multi-region OpenStack environment, and the osc commands only "detects" the last Region returned by the discovery endpoint.

My clouds.yaml file is something like this

...
  my-lab:
    auth:
      auth_url: https://keystone.central-1.lab.dev
      username: "cloudmin"
      password: "XXXXXXXXXXXX"
      project_name: "admin"
      project_domain_name: "Default"
      user_domain_name: "Default"
    regions:
      - "central-1"
      - "central-2"
    cacert: ~/.config/openstack/rootCA.pem
    interface: "public"
    identity_api_version: 3

I have seen no equivalent to the --os-region-name option of the Python client, and the matching Env Var doesn't seem to work either.

Is this a limitation or am I doing something wrong? (probably the latter! :D)

Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions