官术网_书友最值得收藏!

  • Troubleshooting OpenStack
  • Tony Campbell
  • 352字
  • 2021-07-16 12:32:14

Know your version

As of the Liberty release of OpenStack, the identity service finds itself in transition. The service supports two API versions: v2 and v3. The v2 version of the API is deprecated, but may still be found in many OpenStack deployments. Recent releases of OpenStack are configured to serve both the v2 and v3 versions of the Identity API. This can be confirmed by examining the keystone-paste.ini configuration file.

In this file, you will find configurations for two composite apps: main and admin. As demonstrated in the preceding example, each app has a setting for /v2.0 and /v3. With this configuration, this deployment will serve a request to the v2 or v3 Identity API. Here, the command-line clients transition from inpidual clients per project to a unified OpenStack client that works across projects. The keystone command-line client supports v2 of the Identity API. The newer and preferred OpenStack client supports v2 and v3 of the Identity API.

The two composite apps in the preceding configuration are used to serve two different Keystone APIs: the public API and the admin API. Historically, the admin API was used to serve admin-level requests, such as adding a tenant or adding a user. The functionality of the admin API is small and focused. The public API is responsible for serving all other requests.

With v3 of the Identity API, the separation between the admin functionality and public functionality is handled within a single API. You will notice in the preceding configuration that the /v3 value is api_v3 for both the main composite app and the admin composite app.

When Keystone is operating properly, it provides two APIs: the Service API and the Administration API. The Service API runs on port 5000 and the Admin API runs on port 35357. In the OpenStack Juno release and earlier, the common way of running these APIs was via an Eventlet-based process. In the Kilo release and those thereafter, the recommended method to run the Keystone APIs is via a WSGI server. We'll take a look at how to troubleshoot each of these methods in the following sections.

主站蜘蛛池模板: 栖霞市| 工布江达县| 永靖县| 海兴县| 城步| 陆川县| 获嘉县| 灵石县| 温宿县| 常宁市| 香港 | 江门市| 梓潼县| 凭祥市| 大方县| 固始县| 格尔木市| 淳安县| 竹山县| 阿瓦提县| 平邑县| 瓮安县| 景谷| 池州市| 公安县| 颍上县| 偃师市| 离岛区| 白朗县| 林口县| 五寨县| 武安市| 池州市| 兴山县| 莱西市| 潢川县| 平舆县| 淄博市| 武安市| 凯里市| 谢通门县|