As recently as Openstack Mitaka, packstack deployment using Keystone v3 API failed when running the cinder.pp puppet manifest but this issue has been fixed in RDO Openstack Newton packstack deployment. To enable Keystone v3 API, simply edit the following in your packstack answer file:
CONFIG_KEYSTONE_API_VERSION=v3
Then run packstack with packstack --answer-file
However, if you go into the Horizon dashboard Admin -> System Info menu, you will see that the Keystone endpoints are still set to v2.0. You can also verify this from the openstack commandline (make sure you have python-openstackclient package installed):
[root@newtonctrl ~(keystone_admin)]# openstack endpoint list
+----------------------------------+-----------+--------------+----------------+---------+-----------+-------------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+----------------+---------+-----------+-------------------------------------------------+
...
| 1ed930a5fad64fdb93cab8c5647a8bbe | RegionOne | keystone | identity | True | internal | http://172.16.11.201:5000/v2.0 |
| 403c6f321b364dde821c6057fc81fca4 | RegionOne | keystone | identity | True | public | http://172.16.11.201:5000/v2.0 |
| b412ae6f0b0446dcac3d75e68a30803e | RegionOne | keystone | identity | True | admin | http://172.16.11.201:35357/v2.0 |
...
In this situation, if you make a curl request to the above endpoints but replace v2.0 with v3, the token payload will still contain Keystone v2.0 endpoints (it simply redirects v3 requests to v2.0). Keystone will still respond on the v3 endpoint, but the payload will use v2.0 formatting. This can be a problem for apps which expect a JSON dump using v3 fields and formats. Therefore I had to manually change the Keystone endpoints to v3.
In Openstack Newton you can create(delete), and enable(disable) endpoints using the "openstack endpoint create(delete)" and "openstack endpoint set --enable(disable) UUID" commands.
Create Keystone v3 API endpoints
[root@newtonctrl ~(keystone_admin)]# openstack endpoint create identity --region RegionOne public http://172.16.11.201:5000/v3
Repeat this for each service type (i.e. internal, admin, and public).
Disable Keystone v2.0 API endpoints
[root@newtonctrl ~(keystone_admin)]# openstack endpoint set --disable 1ed930a5fad64fdb93cab8c5647a8bbe
Repeat this for each Keystone v2.0 API endpoint UUID.
[root@newtonctrl ~(keystone_admin)]# openstack endpoint list | grep keystone
| 1ed930a5fad64fdb93cab8c5647a8bbe | RegionOne | keystone | identity | False | internal | http://172.16.11.201:5000/v2.0 |
| 403c6f321b364dde821c6057fc81fca4 | RegionOne | keystone | identity | False | public | http://172.16.11.201:5000/v2.0 |
| 7cf272994522455790d7dd5a0420b150 | RegionOne | keystone | identity | True | internal | http://172.16.11.201:5000/v3 |
| ab64142376ae4aa68e832479295ed301 | RegionOne | keystone | identity | True | public | http://172.16.11.201:5000/v3 |
| b412ae6f0b0446dcac3d75e68a30803e | RegionOne | keystone | identity | False | admin | http://172.16.11.201:35357/v2.0 |
| e6891754ac154db1b8e32d7f5d67578a | RegionOne | keystone | identity | True | admin | http://172.16.11.201:5000/v3 |
ausu post utme past question free downloadIt’s truly a nice and useful piece of information shared, I am satisfied that you shared this helpful information with us and i look forward to more of your useful post.
답글삭제I also found this post to be very informative and enjoyable to read. We are sharing our post with you about the Typing Master software. It can be found by clicking the link below. It may be of interest to you.
답글삭제작성자가 댓글을 삭제했습니다.
답글삭제The blog post discusses configuring Keystone v3 API endpoints in Packstack Newton, providing a useful guide for developers. Understanding API management is crucial in various IT environments. Just as Orange work trousers enhance visibility and safety on-site, effective API management ensures that applications run smoothly and securely. By following the outlined steps, you can streamline your processes and enhance productivity, much like having the right workwear contributes to a successful workday. For more details, check out the full post here.
답글삭제