Bug #4086

Return region info in the result of POST /tokens

Added by Christos KK Loverdos over 10 years ago. Updated over 10 years ago.

Status:Feedback Start date:07/01/2013
Priority:Medium Due date:
Assignee:Sofia Papagiannaki % Done:

100%

Category:Cyclades API Spent time: -
Target version:0.15

Description

As described in http://docs.openstack.org/api/openstack-compute/programmer/content/getting-the-authentication-token.html

It seems that SlipStream uses this in its configuration.

Associated revisions

Revision 40df79ac
Added by Christos Stavrakakis over 10 years ago

astakos: Rename Region to region

Refs #4086

Revision a50f99a3
Added by Sofia Papagiannaki over 10 years ago

astakos: Change default region value in POST /tokens

Refs: 4086

Revision 4ef6b22c
Added by Christos Stavrakakis over 10 years ago

astakos: Add region value in POST /tokens

Add hardcoded 'default' value in region attribute.

Refs #4086

History

#1 Updated by Christos Stavrakakis over 10 years ago

  • Status changed from New to Feedback
  • Assignee changed from Christos Stavrakakis to Sofia Papagiannaki
  • % Done changed from 0 to 100

Sofia already resolved it in commmit 563b06582297f471b20b1006b240e103bca007b0.
I just renamed 'Region' to 'region' to much with the docs.

#2 Updated by Christos KK Loverdos over 10 years ago

And the return value for "region" in 563b06582297f471b20b1006b240e103bca007b0 is "defaultRegion". Can we make it just "default"? (reason: it is shorter and it is more natural to use "default"). Otherwise, if we follow the OpeStack example in the URL I provided, they say "RegionOne".

#3 Updated by Vangelis Koukis over 10 years ago

The actual name of the region is deployment-specific, and is left completely up to the administrators to decide.

Changing it to "default" would perhaps imply there is a special "default" value, so I'd vote against it.

"RegionOne" is just a name chosen by the OpenStack docs, it doesn't make much sense to replicate it in our code.

#4 Updated by Christos KK Loverdos over 10 years ago

So, what's the proposal?

If it's not a known value, then it must be configuration, right?

Also available in: Atom PDF