找回密码
 注册
查看: 3295|回复: 0

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2021-7-17 12:37:34 | 显示全部楼层 |阅读模式
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 }( A; _0 f& N& [; w2021-07-17 12:36:13.290 10942 CRITICAL nova [-] Unhandled error: keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
- O5 d: ~, w8 U/ K" n* N; c2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):
7 p3 b% `1 C' _% A1 [2 H8 v0 y2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>! X7 M+ ], _' {1 C
2021-07-17 12:36:13.290 10942 ERROR nova     sys.exit(main()): a! Z, T# V, v. w0 v
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/ ~& q0 s  u2 V' L
2021-07-17 12:36:13.290 10942 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
9 f$ D4 I8 Q# X0 Y2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create9 t9 X3 l9 J5 H) O7 f1 e: C0 i
2021-07-17 12:36:13.290 10942 ERROR nova     periodic_interval_max=periodic_interval_max)
0 i' n; `( D* L, k/ y8 ^( r# U2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__
) t( J6 }7 }5 @; K# i2 J# k4 U$ g2021-07-17 12:36:13.290 10942 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)1 o) [! R8 Q! ?0 s" B1 L
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__4 f" n0 g6 Y, C& o# W' L
2021-07-17 12:36:13.290 10942 ERROR nova     self.placement_client = report.SchedulerReportClient()
7 C, [: c, a( [  p' C2021-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__
  [1 {' F3 }2 M1 F! C2021-07-17 12:36:13.290 10942 ERROR nova     self._client = self._create_client(), K  m5 J5 c  w4 `
2021-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
' g/ h& {. N# o4 b  q+ r2021-07-17 12:36:13.290 10942 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')( u, ?: c; }# N2 N1 S' \7 |
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" m6 ^8 s: c: F6 |6 c4 j7 h
2021-07-17 12:36:13.290 10942 ERROR nova     return getattr(conn, service_type)
/ a; M+ B% F) L7 P* H, B2 l* _/ H, M% X2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__' t4 Y% z$ M4 @- H& Q" n9 Y
2021-07-17 12:36:13.290 10942 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)( w# _) p$ j5 l- i
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint6 ~3 ^. {" z' L) N8 f
2021-07-17 12:36:13.290 10942 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs): z6 x/ P2 C: j/ U$ i6 g
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
5 f4 t$ Z* ^- `& j5 ~" }2021-07-17 12:36:13.290 10942 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')- M& n+ s5 u: U6 A- Y
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required: Z8 G/ g- C! A$ `4 r  s
2021-07-17 12:36:13.290 10942 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
6 t% H) l$ P% w1 O: S; M# i2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
0 o! Q+ A& o5 ?. V) T2021-07-17 12:36:13.290 10942 ERROR nova
5 o3 s- p9 ~1 Z& [# H6 [2021-07-17 12:36:16.311 10952 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative8 j, P7 J4 J/ y5 T
2021-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& J0 Y% Q; {: k/ Z- I. N& }
2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):
4 U9 r* m4 m* V- J4 d. E5 Z2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>. _$ f, ~8 x, e* a
2021-07-17 12:36:16.316 10952 ERROR nova     sys.exit(main())# x6 {! v0 D" p: i
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
2 X2 o6 T+ {9 P) E9 T* D' r. t2021-07-17 12:36:16.316 10952 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
+ Q7 G' e$ \9 h% p( x; n6 j$ X' O2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create: b! X) M8 d5 ?9 i" \8 \9 [
2021-07-17 12:36:16.316 10952 ERROR nova     periodic_interval_max=periodic_interval_max)0 Z9 P0 f: R) p! n
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__& ~, p8 h  S/ o+ y& }! _9 b
2021-07-17 12:36:16.316 10952 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)4 j4 G6 T" E2 L) W2 N. b
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 g, S( e% v# S8 w
2021-07-17 12:36:16.316 10952 ERROR nova     self.placement_client = report.SchedulerReportClient()' I+ y3 a  V/ q1 f9 B
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__
- R; x8 T* l6 T7 D) n7 V9 K2021-07-17 12:36:16.316 10952 ERROR nova     self._client = self._create_client(): s7 O5 v& O, \6 q
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_client1 _' j7 {/ }" e
2021-07-17 12:36:16.316 10952 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
. h8 ^; |. V$ e4 D2021-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( Y* D* n5 G1 |
2021-07-17 12:36:16.316 10952 ERROR nova     return getattr(conn, service_type)( w" C3 s1 `% h
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__/ Z, G2 [. b! F& @# G! ^+ I* h" g! @
2021-07-17 12:36:16.316 10952 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
% B6 C! i) }! E2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
9 H$ V; T; e, h8 W, Z) Z* ^# F2021-07-17 12:36:16.316 10952 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs), D: x; J# Y2 j4 U: e% ?
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint* P3 G1 [: k% [3 O
2021-07-17 12:36:16.316 10952 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
1 u. M, S% G4 W+ H7 x3 w2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
' M1 a0 ?8 ~* a: l, ?2021-07-17 12:36:16.316 10952 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)2 ~$ ]" F. E& h$ m3 r! v
2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
* X6 S4 O" t7 v1 Y$ T2021-07-17 12:36:16.316 10952 ERROR nova
% E, E7 q( O# D! `( H3 E  T- e' K
- q: u' Q- b6 }" `" D: x0 i' C* ~1 I4 J( ^  y1 @& C" Z# n
原因是nova的配置文件中没有添加placement配置- t$ }: t1 j7 R/ Z0 K! A9 K
8 i0 x% t- t5 ^- t/ a
auth_url = http://controller:5000/v37 A0 A% x/ ?1 p
memcached_servers = controller:11211" ]9 q5 j  O& a; K: C
auth_type = password$ r( x( ^/ a/ }2 C1 Z1 e3 U
project_domain_name = default9 F. K) Q* \, u6 A. B" w% w
user_domain_name = default; k6 ?& s1 v* s0 ?9 V+ S, l- E
project_name = service% W$ P- E5 D* w' K
username = placement& s6 g/ ~1 B  B. B0 @% Q
password =   xxxx
0 r% Y% c$ s6 @! \. o/ s- A* d9 |$ lregion_name = RegionOne% o) S! w; Y. d% }. v! b
6 f; ^$ W/ g' S0 q" p# j3 O
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:27 , Processed in 0.222863 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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