易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3295|回复: 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! j1 H! Z' p6 {1 E) Y3 L
2021-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
) Y5 X8 X9 @) J" ^4 ^2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):. _9 |9 \) I6 N( \% L+ R
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module># f5 X; {4 y1 ~" o0 |
2021-07-17 12:36:13.290 10942 ERROR nova     sys.exit(main())
4 G- {- h5 z5 O/ Y2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main# t4 T/ `* A6 @) t! t: `$ x/ z
2021-07-17 12:36:13.290 10942 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
; {+ O0 t4 \: |. z; _2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create( m5 j$ R- ~) U2 h5 J! Y
2021-07-17 12:36:13.290 10942 ERROR nova     periodic_interval_max=periodic_interval_max)
4 g# y1 F8 Q: N5 }* M9 H2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__4 S6 |( j5 `) E) z& Z8 G
2021-07-17 12:36:13.290 10942 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)4 D" U  x: O/ ^8 g1 i
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__/ A( F2 f0 m* ?+ W
2021-07-17 12:36:13.290 10942 ERROR nova     self.placement_client = report.SchedulerReportClient()
' w' T; s+ }- G3 [4 X2021-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__
9 x* o( \- r3 [. T0 Q0 `2021-07-17 12:36:13.290 10942 ERROR nova     self._client = self._create_client(): E* F4 Q0 m/ z1 r7 ^3 ]9 i" m
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
& A7 y4 @4 j# F2 o2021-07-17 12:36:13.290 10942 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
/ R* b1 m7 R* y" Y2021-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
4 Z* c, d, h. `3 s2021-07-17 12:36:13.290 10942 ERROR nova     return getattr(conn, service_type)4 L! O. C3 \7 Q4 k2 W  z2 h
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__
( P" d8 ~8 G+ ?3 [. l+ c6 [4 }2021-07-17 12:36:13.290 10942 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)0 l* l+ b9 w# B8 _- [& c4 N
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint' z3 x7 n1 e4 ?, L. L0 G7 s1 c
2021-07-17 12:36:13.290 10942 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
6 j$ m( _* D5 t9 w+ |4 F% e; y2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint
% F- l; y  T( L/ @' |2021-07-17 12:36:13.290 10942 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')# B+ [( g( _* P- a+ s3 k
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
* Y7 h! k5 Q( q9 w- ^8 f8 L0 b# Q2021-07-17 12:36:13.290 10942 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
, S9 V0 t+ y2 v: ^7 S+ `5 Y1 f. f2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL5 c8 V* H: b' o8 j
2021-07-17 12:36:13.290 10942 ERROR nova
  W% t; \& [! k* F2021-07-17 12:36:16.311 10952 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative
+ [& ?5 }8 T" V, T5 r2021-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& _% d( @) h6 y" q& m1 ^
2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):
' U1 @8 U7 ]8 Z: F8 m9 ?2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>4 R) `* D! R: ^7 \# K4 H; I
2021-07-17 12:36:16.316 10952 ERROR nova     sys.exit(main())2 n9 X& l- G* |2 A6 ]2 b! ]" t+ o. F
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main9 H) Z2 n* C' O! u
2021-07-17 12:36:16.316 10952 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
+ @. j' H0 b3 \7 i6 \0 q7 ~& Q2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create/ }; e* u/ O; ]- J6 r. B
2021-07-17 12:36:16.316 10952 ERROR nova     periodic_interval_max=periodic_interval_max)
* h: y  G5 n, Q0 _2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__* w+ M3 a. s6 \  K+ ^- ]
2021-07-17 12:36:16.316 10952 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)( ?1 x; i& H' N2 ?4 B& |6 h. I
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__/ y4 H# p# \1 ]. M2 ?: f
2021-07-17 12:36:16.316 10952 ERROR nova     self.placement_client = report.SchedulerReportClient()
1 {/ g* n& T6 `' e' a2021-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__
) `& y2 i4 f( t. I( F2021-07-17 12:36:16.316 10952 ERROR nova     self._client = self._create_client()
% s2 ]2 p, ^0 a. T4 g2021-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
0 i- s& W1 _$ H) `2021-07-17 12:36:16.316 10952 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')/ v+ x. ~8 ]" W7 l$ q/ `* \0 l7 g( z
2021-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/ ?+ m# X/ P, p  y6 Y/ ~2 z
2021-07-17 12:36:16.316 10952 ERROR nova     return getattr(conn, service_type)3 V7 t. t6 e; e" c4 l6 M
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__9 w4 ]9 s, z1 f+ E& {
2021-07-17 12:36:16.316 10952 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy); x! r) S5 E9 l  e' v2 h
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint! Q( c, {- u! d+ O* b8 u; H
2021-07-17 12:36:16.316 10952 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs), J, D8 K! o' W# P8 G* ^
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! n. n' s) U$ {+ X- C# U
2021-07-17 12:36:16.316 10952 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
) W* o+ P' q# _. l. l: i0 M2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
0 A/ b( J+ X% p0 a2 P2021-07-17 12:36:16.316 10952 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
- M% t9 ]) x, ?8 |) r* T) X2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
# w# L% g* C3 p* x1 l; |, _' J2021-07-17 12:36:16.316 10952 ERROR nova   ^! c' G) s: h

" H& G+ A* I) C: h) c: i: c/ b  R( r% P
: A! M- S8 L! E+ [. W! a7 a" p! N原因是nova的配置文件中没有添加placement配置3 r8 s/ q% j) w+ c0 P  g6 x

) _0 O6 x" m% }6 R# j' w% H$ aauth_url = http://controller:5000/v35 k5 ~- f! n& N: }7 E
memcached_servers = controller:112116 |6 P+ s! g" d9 U
auth_type = password4 ^3 q1 T" i3 c$ D( N) W# g
project_domain_name = default2 T6 w! f4 u0 _/ @: T! e, a
user_domain_name = default
1 W4 H$ D$ R6 L% L% x; V) ]1 Eproject_name = service  S8 v8 ?9 N! y5 G
username = placement
! N* o- w7 [, @4 bpassword =   xxxx6 ^  w1 s9 c! f  I3 M3 y- ]* n
region_name = RegionOne. h: M* R7 O( t1 m8 J
- J" |( \0 p) U" b$ u
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 15:22 , Processed in 0.128371 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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