Bug 1041474

Summary: [RFE][python-novaclient]: Allow instantiation with just token and endpoint
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/python-novaclient/+spec/token-endpoint-instantiation
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 16:54:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 16:17:23 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/python-novaclient/+spec/token-endpoint-instantiation.

Description:

Pretty much all the other openstack clients (keystoneclient, glanceclient, swiftclient) have an official way to create a client by passing in solely a pre-authorized token and the appropriate endpoint (aka auth_token and management_url).

horizon even hacks around the fact that novaclient doesn't support this already by manually setting the auth_token and management-url on the client after creating it but before making any calls so it skips the "authenticate" step.

There's no reason not to make this a supported feature.

Specification URL (additional information):

None