openstack network agent list命令终端错误如下
HttpException: 503: Server Error for url: http://controller:9696/v2.0/agents, Service Unavailable
keystone错误日志如下:
2024-05-11 12:45:25.183 13273 WARNING keystone.common.rbac_enforcer.enforcer [req-e3f3c7d3-7f49-40fc-b3c9-67a245ae098c fdcd413c64364d71863d14b6e2ae0f54 4cb62ad19a84473fb8e11ac8390bb987 - default default] Deprecated policy rules found. Use oslopolicy-policy-generator and oslopolicy-policy-upgrade to detect and resolve deprecated policies in your configuration.
neutron错误日志:
2024-05-11 12:46:28.810 2722 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Unable to establish connection to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1135f86ad0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)): ConnectFailure: Unable to establish connection to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f1135f86ad0>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
2024-05-11 12:46:28.811 2722 INFO neutron.wsgi [-] 127.0.0.1 "GET /v2.0/agents HTTP/1.1" status: 503 len: 434 time: 0.0090821
阐述:我的网络状态是正常的,systemctl status neutron-server.service neutron-linuxbridge-agent.service neutron-dhcp-agent.service neutron-metadata-agent.service 服务运行转台也是正常的,keystone 端口号也是5000,配置文件也没问题,同步数据库没问题,但是这里的验证就很奇怪 一直报503错误 有没有大佬帮我看看的 给个错误检查方向吧
他这里反馈的35357端口 我不明白 我keystone给的系统环境变量是5000端口呀