易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3291|回复: 0
收起左侧

Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An aut

[复制链接]
发表于 2021-7-17 12:37:34 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
2021-07-17 12:36:13.284 10942 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative
8 ]# u2 T) H; D2 T0 i2021-07-17 12:36:13.290 10942 CRITICAL nova [-] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL6 {9 q$ Q5 s  m
2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):
8 ^- {/ h) f; ?$ Q, Q, f" u- s- h  r( M6 l2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>
+ U1 S. B) G3 q1 T2021-07-17 12:36:13.290 10942 ERROR nova     sys.exit(main())5 z( ?. Z( w+ L) ]4 _& x. I
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main. x7 R4 B" {, c2 P* E1 t% ]
2021-07-17 12:36:13.290 10942 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)! B6 |8 Y3 B4 D6 n2 u, `7 s( I% C, v
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create
- ^6 v! v/ V5 ]2021-07-17 12:36:13.290 10942 ERROR nova     periodic_interval_max=periodic_interval_max)6 C$ ^# g; ?, C" H
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__1 s( \3 R9 J  F( \4 e
2021-07-17 12:36:13.290 10942 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)8 C' O- V9 e. F/ R5 N1 D
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 59, in __init__
$ O/ {' @' g( S5 o& S3 e  ]2021-07-17 12:36:13.290 10942 ERROR nova     self.placement_client = report.SchedulerReportClient()4 k3 P& k3 D% e. _9 n0 K- R5 r
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 186, in __init__' i) L; E# w7 o9 C  h# j9 H# C
2021-07-17 12:36:13.290 10942 ERROR nova     self._client = self._create_client()
) h) }3 T+ q" g4 R$ ?5 z2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 229, in _create_client, t2 R+ e; u0 ~1 z0 n
2021-07-17 12:36:13.290 10942 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
. e: z6 `0 d* \9 f; y$ }2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/utils.py", line 1079, in get_sdk_adapter
9 d# z) D) [& J. i2021-07-17 12:36:13.290 10942 ERROR nova     return getattr(conn, service_type)
  I3 h. g2 _5 N$ O2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__
" w/ m+ @) y4 d& n5 q1 O# ]2021-07-17 12:36:13.290 10942 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
9 [" B" |1 M& e) Q0 H& v2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint/ |$ H& l0 X% g2 i" x6 ^1 ^3 Q  g
2021-07-17 12:36:13.290 10942 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
  L5 Y5 P  q% b$ Q" L+ _2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint" O3 C6 s* }5 O: c
2021-07-17 12:36:13.290 10942 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
3 f$ s- v9 ]0 t8 `. B1 i2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
+ Y. ]# y) M. w6 Z2 Y2021-07-17 12:36:13.290 10942 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
4 l! i2 y" H. I- o7 F/ f) o2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
* n# v  [) d2 D% {- k2021-07-17 12:36:13.290 10942 ERROR nova # R0 b. H  x5 z3 X
2021-07-17 12:36:16.311 10952 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative
8 n5 v  W/ G2 I! m; w$ h8 z2021-07-17 12:36:16.316 10952 CRITICAL nova [-] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
. t5 j( S: u; y9 ?; @2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):
6 k5 t; }( g# @" \2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>6 e+ U8 W( F; t' u9 y) a
2021-07-17 12:36:16.316 10952 ERROR nova     sys.exit(main())0 C% W7 y1 P8 D
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main; f! R7 z. n4 ]$ |/ z
2021-07-17 12:36:16.316 10952 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
3 G4 t2 [7 \3 W& G% p4 b3 B2 s+ a2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create
1 g: x) u: W" f; ?$ i& j# O2021-07-17 12:36:16.316 10952 ERROR nova     periodic_interval_max=periodic_interval_max)4 ]' a. v! ?3 k  X5 _3 L. _9 c
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__
1 v# g8 _! c! p4 W, t. p- _2021-07-17 12:36:16.316 10952 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)% g( K' {; R+ m, x" O4 @
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 59, in __init__
3 T& @! }* E3 r9 z6 e3 l6 o; ?2021-07-17 12:36:16.316 10952 ERROR nova     self.placement_client = report.SchedulerReportClient()* A3 A" c6 U& T" M
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 186, in __init__
5 D$ B1 V, o' H7 ~2 I; ?. S2021-07-17 12:36:16.316 10952 ERROR nova     self._client = self._create_client()6 b. T6 |4 J# U' d7 D
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/client/report.py", line 229, in _create_client7 O3 _; U: f9 K; W: F! M
2021-07-17 12:36:16.316 10952 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
: b' l8 v8 h3 _+ k9 Q0 z2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/utils.py", line 1079, in get_sdk_adapter
/ B& [2 q# s) G' O* d2021-07-17 12:36:16.316 10952 ERROR nova     return getattr(conn, service_type)5 A0 h" d0 A* a
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__3 I: H, L, a! ~$ h$ B& ~
2021-07-17 12:36:16.316 10952 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
& _+ w/ c0 ]4 [" ?& D: p2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint9 ~* @; w' [- p0 `4 i6 y
2021-07-17 12:36:16.316 10952 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
" t0 I1 i; A& d4 a3 w/ I2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint! Q* A+ h) \0 C# P9 y
2021-07-17 12:36:16.316 10952 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
, ^0 C4 h" H% b1 t  t/ Y5 [2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
& ^# o. C/ }/ u2021-07-17 12:36:16.316 10952 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
% Y% X& o- ?; E. ?3 d( t2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL2 T! `3 i: T5 O0 J  n! ?- I; B9 D
2021-07-17 12:36:16.316 10952 ERROR nova 7 ]' a' y# h2 Y
$ W* O' s  p; }

2 n3 @( H# b! `  e" m原因是nova的配置文件中没有添加placement配置5 r* p) M+ c: b7 I; o4 G

, T" f  o' [0 t/ H+ cauth_url = http://controller:5000/v3" N9 k' V# X5 F
memcached_servers = controller:11211
* f6 i7 Q/ D& T& a, i& N: L9 r- iauth_type = password. h* x/ G8 V& W
project_domain_name = default
1 |1 X: N, |; }8 {8 V6 A- Guser_domain_name = default6 \3 f, q" x  b. D% g0 i' `* ]
project_name = service6 y4 @5 W. Y- B1 F# [
username = placement
) T5 i; `: B) {- F/ m, P2 |$ ^password =   xxxx
- N- P) ^0 c' \: t0 n3 A" uregion_name = RegionOne
6 W7 A1 {/ Y; ]) `" R, E4 M3 E, a& s* Y5 `) W5 F% j7 p, t. }
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:45 , Processed in 0.168501 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表