Skip to content

Incorrect default clouds.yaml locations on Mac #3496

Description

@ChrisPbb

What happened?

On Mac gophercloud will incorrectly attempt to search these locations for clouds.yaml

  1. /Users/<USERNAME>/Library/Application Support/openstack/clouds.yaml
  2. $PWD/clouds.yaml
  3. /etc/openstack/clouds.yaml

The problem is that #1 should be ~/.config/openstack/clouds.yaml as laid out in OpenStack docs. I believe this is caused by using os.UserConfigDir() in the config/clouds package which returns platform-specific "user config" dirs.

Now I do understand the benefit of using platform-specific "user config" dirs but this is not how OpenStack's official CLI behaves on Mac so I would consider it a bug.

Version

v2 (current)

Activity

  1. added theissue type on Aug 14, 2025
  2. jlarriba commented on Mar 10, 2026

    @jlarriba
    Contributor

    I have also found this bug, closed my bug report as duplicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions