It seems the name of the 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 "regionOne", the command can 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.
It seems the name of the 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 "regionOne", the command can executed successfully, 5b5767688ac86fa 10 --publicurl http:// 10.*.*. *:5010/ v2.0 --adminurl http:// 10.*.*. *:5010/ v2.0 --internalurl http:// 10.*.*. *:5010/ v2.0 ------- +------ ------- ------- ------- ------- + ------- +------ ------- ------- ------- ------- + 10.*.*. *:5010/ v2.0 | 5bc924e76023626 75 | 10.*.*. *:5010/ v2.0 | 10.*.*. *:5010/ v2.0 | 5b5767688ac86fa 10 | ------- +------ ------- ------- ------- ------- +
$ keystone endpoint-create --region regionOne --service a1663c0dbba6442
+------
| Property | Value |
+------
| adminurl | http://
| id | 8ffb333e32a5435
| internalurl | http://
| publicurl | http://
| region | regionOne |
| service_id | a1663c0dbba6442
+------
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, 5b5767688ac86fa 10 --publicurl http:// 10.*.*. *:5010/ v2.0 --adminurl http:// 10.*.*. *:5010/ v2.0 --internalurl http:// 10.*.*. *:5010/ v2.0 ------- +------ ------- ------- ------- ------- + ------- +------ ------- ------- ------- ------- + 10.*.*. *:5010/ v2.0 | 28c3bbf8c355692 2d | 10.*.*. *:5010/ v2.0 | 10.*.*. *:5010/ v2.0 | 5b5767688ac86fa 10 | ------- +------ ------- ------- ------- ------- +
$ keystone endpoint-create --region RegionOne --service a1663c0dbba6442
+------
| Property | Value |
+------
| adminurl | http://
| id | 075b237859c1491
| internalurl | http://
| publicurl | http://
| region | RegionOne |
| service_id | a1663c0dbba6442
+------
It make me confusion about what's behind about the region, so file this bug to track this.