找不到负载服务器服务的公共端点

发布于 2025-01-30 14:55:50 字数 761 浏览 4 评论 0原文

CLI列出Open Stack上的LoadBalancers

from@ge ~
$ openstack loadbalancer list
public endpoint for load-balancer service not found

from@ge ~
$ export | grep OS_
declare -x OS_AUTH_TYPE="password"
declare -x OS_AUTH_URL="http://192.168.20.33:5000/v3"
declare -x OS_IDENTITY_API_VERSION="3"
declare -x OS_PASSWORD="XXXXXX"
declare -x OS_PROJECT_NAME="project-name"
declare -x OS_TENANT_NAME="tenant-name"
declare -x OS_USERNAME="from"
declare -x OS_USER_DOMAIN_ID="default"

from@ge ~
$ echo "endpoint list" | openstack
You are not authorized to perform the requested action: identity:list_endpoints. (HTTP 403) (Request-ID: req-aec8b22e-d3ad-4116-b7bb-52545f641667)

我有一个问题可以使用我尝试将OS_REGION_NAME设置为ZeareOne的

,但是我获得了相同的结果吗?

I have an issue to list loadbalancers on open stack using cli

from@ge ~
$ openstack loadbalancer list
public endpoint for load-balancer service not found

from@ge ~
$ export | grep OS_
declare -x OS_AUTH_TYPE="password"
declare -x OS_AUTH_URL="http://192.168.20.33:5000/v3"
declare -x OS_IDENTITY_API_VERSION="3"
declare -x OS_PASSWORD="XXXXXX"
declare -x OS_PROJECT_NAME="project-name"
declare -x OS_TENANT_NAME="tenant-name"
declare -x OS_USERNAME="from"
declare -x OS_USER_DOMAIN_ID="default"

from@ge ~
$ echo "endpoint list" | openstack
You are not authorized to perform the requested action: identity:list_endpoints. (HTTP 403) (Request-ID: req-aec8b22e-d3ad-4116-b7bb-52545f641667)

I've tried to set OS_REGION_NAME to RegionOne, but I get the same result

Any tip ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

倾听心声的旋律 2025-02-06 14:55:50
  • 找不到负载 - 平均服务

似乎负载余额服务不起作用,您部署 octavia 服务成功吗?

  • 身份:list_endpoints。 (http 403)

根据官方文档,关于授权是禁止

该身份已成功验证,但无权执行请求的操作。

也许有一个 miss-configuration Keystone,您应该在数据库中检查它第一的。

  • load-balancer service not found

It seems that the load balance service not work, have you deployment Octavia service successful?

  • identity:list_endpoints. (HTTP 403)

According to the official document, it's Forbidden about the authorization.

The identity was successfully authenticated but it is not authorized to perform the requested action.

Maybe there is a miss-configuration of the admin's roles in keystone, you should check it in database first.

玻璃人 2025-02-06 14:55:50

好的,谢谢您的回答。

我终于设法使用中子CLI使用负载平衡器:

$ neutron
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
(neutron) lbaas-loadbalancer-list
+--------------------------------------+------------------------+----------------+---------------------+----------+
| id                                   | name                   | vip_address    | provisioning_status | provider |
+--------------------------------------+------------------------+----------------+---------------------+----------+
| 00f3453d-8738-4eb6-b362-aefc8dfaeea6 | lb1 | 192.168.36.93  | ACTIVE              | haproxy  |
| 090e062d-d6cc-4ebe-bcbf-165d5c21051d | lb2 | 192.168.36.169 | ACTIVE              | haproxy  |
| 0c244567-8f49-4be0-9055-17fa903d4619 | lb3 | 192.168.36.43  | ACTIVE              | haproxy  |

Ok thanks for your answers.

I finally managed to play with load balancers using neutron cli:

$ neutron
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
(neutron) lbaas-loadbalancer-list
+--------------------------------------+------------------------+----------------+---------------------+----------+
| id                                   | name                   | vip_address    | provisioning_status | provider |
+--------------------------------------+------------------------+----------------+---------------------+----------+
| 00f3453d-8738-4eb6-b362-aefc8dfaeea6 | lb1 | 192.168.36.93  | ACTIVE              | haproxy  |
| 090e062d-d6cc-4ebe-bcbf-165d5c21051d | lb2 | 192.168.36.169 | ACTIVE              | haproxy  |
| 0c244567-8f49-4be0-9055-17fa903d4619 | lb3 | 192.168.36.43  | ACTIVE              | haproxy  |
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文