【发布时间】:2019-05-02 16:23:46
【问题描述】:
我正在尝试安装 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 链接中,我在最后一步中显示: 重启报警服务:
# 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 步 获取管理员凭据以访问仅限管理员的 CLI 命令:
$ . admin-openrc
因为我找不到 admin-openrc,所以我跳过了这一步。
所以,我想可能 aodh 安装不顺利。因此在“aodh 警报列表”命令中出现上述错误。
“nova list”等其他命令运行良好
有人可以帮忙找出问题所在吗?
【问题讨论】:
标签: openstack