Issues creating a new network for a non-admin project
Closed this issue · 5 comments
oneswig commented
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.
oneswig commented
Adding this hack to the invocation of os_network
gets things moving:
environment:
OS_IDENTITY_API_VERSION: 3
But it's not a solution.
markgoddard commented
In os-projects I used a variable to make it a bit more flexible:
https://github.com/stackhpc/ansible-role-os-projects/blob/master/defaults/main.yml#L12
.
…On 25 June 2017 at 23:08, Stig Telfer ***@***.***> wrote:
Example hack solution in #2
<#2>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFhwIfLNyjq4tMc4HnCB3tk-2sz_oMKhks5sHtpSgaJpZM4OEtGi>
.
markgoddard commented
Can we close this one now?
oneswig commented
Tried it again, works fine now.