stackhpc/os-networks

Issues creating a new network for a non-admin project

Closed this issue · 5 comments

To create an overlay network for the use of a project, the project parameter must be passed to os_network.

However, when this is done, shade claims the project cannot be found.

When invoking the shade function get_project from the python interpreter, using the same parameters as the ansible invocation, get_project returns nothing unless environment variable OS_IDENTITY_API_VERSION=3 is set.

Adding this hack to the invocation of os_network gets things moving:

  environment:
    OS_IDENTITY_API_VERSION: 3

But it's not a solution.

Example hack solution in #2

Can we close this one now?

Tried it again, works fine now.