← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1400589] Re: default region name is inconsistent with the hint message

 

Marking as invalid since this should have expired as incomplete long
ago.

** Changed in: keystone
       Status: Incomplete => Invalid

** Changed in: keystone
     Assignee: Dave Chen (wei-d-chen) => (unassigned)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1400589

Title:
  default region name is inconsistent with the hint message

Status in OpenStack Identity (keystone):
  Invalid

Bug description:
  It seems the name of the default region is RegionOne with the initial
  character "R" in upper case.

  MariaDB [keystone]> select * from region;
  +-----------+-------------+------------------+-------+------+
  | id        | description | parent_region_id | extra | url  |
  +-----------+-------------+------------------+-------+------+
  | RegionOne |             | NULL             | {}    | NULL |
  | test      |             | NULL             | {}    | NULL |
  +-----------+-------------+------------------+-------+------+

  While I am try to create  one new endpoint with a new region which I hope would be "regionOne", the command can be executed successfully,
  $ keystone endpoint-create --region regionOne  --service a1663c0dbba64425b5767688ac86fa10 --publicurl http://10.*.*.*:5010/v2.0 --adminurl http://10.*.*.*:5010/v2.0 --internalurl http://10.*.*.*:5010/v2.0
  +-------------+----------------------------------+
  |   Property  |              Value               |
  +-------------+----------------------------------+
  |   adminurl  |  http://10.*.*.*:5010/v2.0  |
  |      id     | 8ffb333e32a54355bc924e7602362675 |
  | internalurl |  http://10.*.*.*:5010/v2.0  |
  |  publicurl  |  http://10.*.*.*:5010/v2.0  |
  |    region   |            regionOne             |
  |  service_id | a1663c0dbba64425b5767688ac86fa10 |
  +-------------+----------------------------------+

  But there is no new region named "regionOne" created in the database
  other that the default one "RegionOne", so I guess it treats both of
  them the same.

  But if I create the endpoint with "RegionOne", the command can also success but the output message like this,
  $ keystone endpoint-create --region RegionOne  --service a1663c0dbba64425b5767688ac86fa10 --publicurl http://10.*.*.*:5010/v2.0 --adminurl http://10.*.*.*:5010/v2.0 --internalurl http://10.*.*.*:5010/v2.0
  +-------------+----------------------------------+
  |   Property  |              Value               |
  +-------------+----------------------------------+
  |   adminurl  |  http://10.*.*.*:5010/v2.0  |
  |      id     | 075b237859c149128c3bbf8c3556922d |
  | internalurl |  http://10.*.*.*:5010/v2.0  |
  |  publicurl  |  http://10.*.*.*:5010/v2.0  |
  |    region   |            RegionOne             |
  |  service_id | a1663c0dbba64425b5767688ac86fa10 |
  +-------------+----------------------------------+

  It make me confusion about what's behind about the region, so file
  this bug to track this.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1400589/+subscriptions


References