易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3290|回复: 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
% t; ^- u0 z  o0 {4 y3 D2021-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. [1 [* _  U5 E5 A- Y* x9 u: p
2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):8 x$ m" s- a: `7 L1 ~: g
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>8 h! c# A% k8 Y: |. R( I& h
2021-07-17 12:36:13.290 10942 ERROR nova     sys.exit(main())) H9 l0 R$ {% {* l5 Z; A% {
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' \8 R  l* I  A2 |( Q* l6 u, ]
2021-07-17 12:36:13.290 10942 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
9 j' \( p) k: w& ?$ j' ?% R2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create; N4 l; c5 Z4 X$ p3 g7 [% g+ _
2021-07-17 12:36:13.290 10942 ERROR nova     periodic_interval_max=periodic_interval_max)- c2 Z, r8 u! Y* i. ^
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__) h* W8 T- v  U8 n1 O
2021-07-17 12:36:13.290 10942 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
. J1 `" l, V4 v! B! ?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__1 z' {! J6 t5 N  h$ |5 E
2021-07-17 12:36:13.290 10942 ERROR nova     self.placement_client = report.SchedulerReportClient(): N: G3 o1 `$ ]- M2 \) v3 L& O
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__
/ Y3 {$ d7 n$ X& M% o' }( }% j6 T2021-07-17 12:36:13.290 10942 ERROR nova     self._client = self._create_client()# Y; g9 M) U1 c8 e+ d: v$ ~, {# e1 B
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
6 H$ a: @% p0 K. }8 J7 z0 M& I2021-07-17 12:36:13.290 10942 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
  k0 n$ z2 E/ R% V8 w% P# }+ o8 I- ~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_adapter0 Z3 s; x3 a0 H* n
2021-07-17 12:36:13.290 10942 ERROR nova     return getattr(conn, service_type)' x& J% `; u8 ?$ P
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__
: L. [& w$ z9 z/ u2021-07-17 12:36:13.290 10942 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
5 }) O" }& b4 H$ z* K& L. e4 Y2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
7 a5 b2 s& {5 e2 a2021-07-17 12:36:13.290 10942 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)7 L% a! Q) p  W' L  D; 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
: h+ _$ I* Q: ^* U2021-07-17 12:36:13.290 10942 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')# X: T% @$ A3 y3 V) F) @8 A1 Q
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% D0 `" Z" E& I7 W
2021-07-17 12:36:13.290 10942 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)) j  N/ a# c  \
2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL  s/ |" V* a" a) I
2021-07-17 12:36:13.290 10942 ERROR nova - `- Q1 s# S' q% }) S
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
. |% L. S( T( ?; p9 S4 f9 ~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: [( e6 _5 ]+ ?
2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):6 F3 a. w7 ^9 _2 C9 A. T8 E
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>
8 }' J1 P- v0 O. K* ?/ `: R  m2021-07-17 12:36:16.316 10952 ERROR nova     sys.exit(main())! J0 j% i% v  ~% v9 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
; T* u: {9 Y$ C: R( _$ V2021-07-17 12:36:16.316 10952 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)% \% d/ N8 P8 T% X
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create
+ Q6 b4 s/ |6 u7 j( D2021-07-17 12:36:16.316 10952 ERROR nova     periodic_interval_max=periodic_interval_max)( [* B1 b6 {* q* K/ D7 J8 r
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__) U$ O3 ]& A& s: I! _* u
2021-07-17 12:36:16.316 10952 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs); d& h; ?( f+ k/ |' a/ d8 q
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__8 X0 L! R1 b- P% m5 v- P6 ?2 L
2021-07-17 12:36:16.316 10952 ERROR nova     self.placement_client = report.SchedulerReportClient()
5 E; l& J+ ?( a! M6 \% [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__
, g+ [+ y& n% o% L# i, K+ Y3 \, l( O2021-07-17 12:36:16.316 10952 ERROR nova     self._client = self._create_client()9 Z% k' X1 G% Z8 ~6 [
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_client
5 K1 u* p1 K- K! o& J& v( ^2021-07-17 12:36:16.316 10952 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
: |5 ~0 b' i  p! e1 v5 U2021-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/ ?! {6 b* w/ N, L
2021-07-17 12:36:16.316 10952 ERROR nova     return getattr(conn, service_type)  P8 n4 F, {: q, [  l& @
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 {4 z! U8 T7 F4 B7 M1 X1 y) j2021-07-17 12:36:16.316 10952 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
! i+ a8 O( `8 M  Y/ [5 p- Q2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
( Z$ K- ?( H0 {* `8 O! c5 P2021-07-17 12:36:16.316 10952 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
( N) Z7 s7 |2 R) ]2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint5 O0 S0 R! ]% U" n
2021-07-17 12:36:16.316 10952 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
( s/ q) I( J2 s% t; I7 c% q2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
4 }9 v+ E( }+ Q2021-07-17 12:36:16.316 10952 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)0 I0 s1 v2 c) W
2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
' n/ R6 P+ U2 j1 }1 Y3 E2021-07-17 12:36:16.316 10952 ERROR nova : p: m) F- O: R% c' r6 e( U% K
8 r5 d+ s( s, B$ j) g% k
5 [* \- e  Y# U0 J* t* b
原因是nova的配置文件中没有添加placement配置: q* I0 q* h; A/ m3 q, R

- X! C/ p& _4 [* z1 ^, \1 R+ cauth_url = http://controller:5000/v37 W  s6 ^  o+ Z  V0 @
memcached_servers = controller:11211
# x! |" E) f1 |8 K( b+ Q( W9 Jauth_type = password
. b7 t+ L* u& C8 l7 X! }8 V9 Xproject_domain_name = default0 H! @5 \" l$ q* l' G4 s5 |) H
user_domain_name = default
- f/ T) u0 |4 u1 i3 g6 Y1 eproject_name = service6 n; m/ K5 i2 I  o/ J
username = placement
* g  m) O! i+ B6 F2 O8 v! J/ Y+ Vpassword =   xxxx/ g5 W: T$ E- _
region_name = RegionOne) O: j: }2 P6 N' j
5 m5 h0 u4 L. n' @5 a
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 21:20 , Processed in 0.051786 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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