aodh-api devstack 安装后未安装服务

aodh-api service not getting installed after devstack installation

我正在尝试安装 aodh。我正在学习本教程 - https://docs.openstack.org/aodh/stein/install/install-ubuntu.html

当我运行这个命令

aodh alarm list

我遇到以下错误。

<html>
 <head>
  <title>503 Service Unavailable</title>
 </head>
 <body>
  <h1>503 Service Unavailable</h1>
  The server is currently unavailable. Please try again at a later time.<br /><br />
The Keystone service is temporarily unavailable.


 </body>
</html> (HTTP 503) (Request-ID: req-9f8035a5-e324-4e2f-b3f0-037b68f88d1a)

尽管错误提示 keystone 不可用,但我高度怀疑 aodh 安装已经存在问题。

从上面的aodh link,我在最后一步,它说: 重新启动警报服务:

# service aodh-api restart
# service aodh-evaluator restart
# service aodh-notifier restart
# service aodh-listener restart

当我尝试这个时

service aodh-api restart

我收到以下错误

Failed to restart aodh-api.service: Unit aodh-api.service not found.

此外,在上面的第 2 步中 link 获取管理员凭据以访问仅限管理员的 CLI 命令:

$ . admin-openrc

因为找不到 admin-openrc,所以我跳过了那一步。

所以,我想可能是 aodh 安装不顺利。因此在 'aodh alarm list' 命令中出现上述错误。

'nova list' 等其他命令 运行 没问题

有人可以帮忙弄清楚,可能出了什么问题吗?

在安装 devstack 期间将 aodh 组件作为插件安装。

https://ask.openstack.org/en/question/116895/how-to-configure-devstack-with-ceilometer-gnocchi-and-aodh-components/