sharing creds with glance cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Fix Released
|
Undecided
|
Dean Troyer | ||
python-novaclient |
Fix Released
|
Medium
|
Dean Troyer |
Bug Description
Currently users of python-novaclient need to set variables such as
NOVA_URL=http://
NOVA_VERSION=1.1
NOVA_USERNAME=
NOVA_API_
NOVA_PROJECT_
See: https:/
But as to use glance we set:
OS_AUTH_USER=<YOUR USERNAME>
OS_AUTH_KEY=<YOUR API KEY>
OS_AUTH_
OS_AUTH_URL=<THIS SHOULD POINT TO KEYSTONE>
OS_AUTH_
See: http://
We should use the same environment variables in (both/all?) CLIs
I propose we deprecate NOVA_* and switch to glance's style - with some caveats:
* is AUTH_KEY the correct word? (should it be password?)
* should AUTH_STRATEGY default to keystone
* PROJECT_ID should be tenant (id) in both? (and should it be optional?)
affects: | python-novaclient → nova |
tags: | added: python-novaclient |
Changed in devstack: | |
status: | New → In Progress |
assignee: | nobody → Dean Troyer (dtroyer) |
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Medium |
assignee: | nobody → Brian Waldon (bcwaldon) |
Changed in nova: | |
assignee: | Brian Waldon (bcwaldon) → Dean Troyer (dtroyer) |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in devstack: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
affects: | nova → python-novaclient |
Changed in python-novaclient: | |
milestone: | 2012.1 → none |
Glance should support the keystone auth protocol, and use OS_AUTH_PASSORD imo. +1 one your comments in general, though I think we will have to get more specific with tenant specification. How bout:
Optional to specify one of: AUTH_TENANT_ NAME=<YOUR TENANT NAME> AUTH_TENANT_ ID=<YOUR TENANT ID>
OS_
OS_
If a tenant is not specified, the following conditions are evaluated:
* If there is only one tenant, use a token scoped to that tenant
* If there is more than one tenant, print an error message, as well as the list of possible tenants