Region 'microstack' is not set for Keystone endpoints

Bug #1877740 reported by Matteo Pergolesi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MicroStack
Invalid
Undecided
Unassigned

Bug Description

After a clean installation, default region 'microstack' is not set for keystone endpoints.

$ openstack endpoint list
+----------------------------------+------------+--------------+--------------+---------+-----------+-----------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+------------+--------------+--------------+---------+-----------+-----------------------------+
| 03c1d2b3ff944ce98e0a5c44b6192ac0 | microstack | neutron | network | True | admin | http://10.20.20.1:9696 |
| 0933d6b1f38c4e4db04c4a05812786c1 | None | keystone | identity | True | internal | http://10.20.20.1:5000/v3/ |
| 2987624e3e4642819f36e8ce713223e5 | microstack | neutron | network | True | internal | http://10.20.20.1:9696 |
| 41950d59c0a545059ca89349647c155f | microstack | neutron | network | True | public | http://10.20.20.1:9696 |
| 5f2e032fe9e64beabf2f7d0350ab1d93 | microstack | glance | image | True | admin | http://10.20.20.1:9292 |
| 66dc2cbe3a8a48f794465f7630cbd2fe | microstack | placement | placement | True | internal | http://10.20.20.1:8778 |
| 793363fb69514b3dae38ce8051457fb5 | microstack | nova | compute | True | internal | http://10.20.20.1:8774/v2.1 |
| 872da38d39df457ebdd3ce0bf0cb0961 | microstack | nova | compute | True | public | http://10.20.20.1:8774/v2.1 |
| b7effba5ab0a43deb49664e420c0fbef | microstack | glance | image | True | internal | http://10.20.20.1:9292 |
| be681b76d00e4fbb86de8a13726098b5 | None | keystone | identity | True | public | http://10.20.20.1:5000/v3/ |
| df8aeddc90f645d9bf470f6a33754278 | microstack | placement | placement | True | admin | http://10.20.20.1:8778 |
| e30c4f5a551a4a56a2ec57752038b8ba | microstack | nova | compute | True | admin | http://10.20.20.1:8774/v2.1 |
| ee4107493c4d41749a572e0750952ab2 | microstack | glance | image | True | public | http://10.20.20.1:9292 |
| ee7382288d9741c28b7d5def7035ff93 | microstack | placement | placement | True | public | http://10.20.20.1:8778 |
| fa88549dd1934355a1d37c2526661f46 | None | keystone | identity | True | admin | http://10.20.20.1:5000/v3/ |
+----------------------------------+------------+--------------+--------------+---------+-----------+--

This can cause problems in the use of openstack client. If you set the region in the RC file with export OS_REGION_NAME=microstack, you get the following error:

public endpoint for identity service in microstack region not found

Workaround: set manually the regione for keystone endpoints with

$ openstack endpoint set --region microstack <endpoint-id>

description: updated
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Matteo,

Thanks for taking the time to report this issue. I think this problem may have since been fixed.

After following the steps at https://ubuntu.com/tutorials/microstack-get-started#1-overview, I see:

$ openstack endpoint list| grep keystone
| a9919d4c11794e4889613ba5589c6645 | microstack | keystone | identity | True | public | http://10.246.114.65:5000/v3/ |
| f1673876901247cfbf9eb33c791e1f72 | microstack | keystone | identity | True | admin | http://10.246.114.65:5000/v3/ |
| f77ab77f8e4d47feaf68cb29c2ce1cee | microstack | keystone | identity | True | internal | http://10.246.114.65:5000/v3/ |

For now I'm going to triage this bug as invalid. If you happen to still be seeing this bug, please can you move the bug Status back to New and add a comment with any additional details that will help us fix the issue.

Thank you,
Corey

Changed in microstack:
status: New → Invalid
Revision history for this message
Matteo Pergolesi (matpergo) wrote :

Hi Corey,

I'm glad it is now fixed. Thank you very much for taking the time to look into this.
I'll let you know if I experience this again in the future.

Best,
Matteo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.