易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 3296|回复: 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
. ~5 m- Z2 |" c0 s2021-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
3 K, n. N- A7 T2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):
. T6 H7 v7 S/ d! K2 |2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>
) E0 B! x: V* x2 ~2021-07-17 12:36:13.290 10942 ERROR nova     sys.exit(main())1 a" |1 t9 z5 _
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% Z) h3 y$ F, V3 {* [9 y0 s
2021-07-17 12:36:13.290 10942 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
  |2 p. q2 b7 d6 c! F2 [; Z2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create4 g) B: q( ~) t
2021-07-17 12:36:13.290 10942 ERROR nova     periodic_interval_max=periodic_interval_max)
4 ~/ F' ]- n% q6 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__
6 F# j3 `) w# b+ c" N4 U4 q2021-07-17 12:36:13.290 10942 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
) `  G9 E# R8 Y5 ^) R2 t3 Z# w) }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__' h3 i3 x+ ]; W2 b
2021-07-17 12:36:13.290 10942 ERROR nova     self.placement_client = report.SchedulerReportClient()
1 U3 V) j% K+ U- _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__
2 f' Q  O4 |# g, v6 L2021-07-17 12:36:13.290 10942 ERROR nova     self._client = self._create_client()
3 G5 w9 W3 B) T+ N% j" K+ 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
% D0 O: F; o! ~8 ]( `, Y( n2021-07-17 12:36:13.290 10942 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')' C. S; d4 r7 U
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
3 N! `- k9 H" n7 B" `$ @: J2021-07-17 12:36:13.290 10942 ERROR nova     return getattr(conn, service_type)
! [; A$ i1 ~; @4 N; B, t' |- ?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__
* E' Y5 i: q: b2021-07-17 12:36:13.290 10942 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
/ b3 v6 y, l0 i: X, l- m- W2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint
! d  ]# C( y2 E) }( |8 I2021-07-17 12:36:13.290 10942 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)! N3 T; M& y( v: ^; @0 G, B6 Y
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint2 p6 {0 A( S& c, f
2021-07-17 12:36:13.290 10942 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
5 F7 b, ?7 G7 ^5 G  L2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
$ K" T$ X  c0 D- w2021-07-17 12:36:13.290 10942 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)/ O( T- `  U* H; d# S2 D. u3 G, M3 B
2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
! L$ I9 \) r3 |. P8 K) o2021-07-17 12:36:13.290 10942 ERROR nova / A9 ?& C. n7 l; {& A7 `
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# Z- f$ \1 F! M! J
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
! {  I7 x5 {! I4 e/ a& }2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):3 a6 w! |" m+ q
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>3 k; ]- I/ E" r, `- W2 E" q
2021-07-17 12:36:16.316 10952 ERROR nova     sys.exit(main())
# Q/ w3 t3 r* Z) ^. ?' [" R4 V, x2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main
$ S2 W9 O3 u6 Y2 X2021-07-17 12:36:16.316 10952 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC); }# n% ]4 @9 z* c) p8 ]8 B  H6 c
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create% d) q2 H0 N9 |
2021-07-17 12:36:16.316 10952 ERROR nova     periodic_interval_max=periodic_interval_max)% V) q  c; Y, K- f; Q  _3 t
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__* y+ f/ T, b  O8 M# S( d' j+ k
2021-07-17 12:36:16.316 10952 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
/ M. H) i3 T, V' ^/ u2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 59, in __init__! n2 i" R9 k$ p% P$ r! l
2021-07-17 12:36:16.316 10952 ERROR nova     self.placement_client = report.SchedulerReportClient()
$ ^# N5 R+ Z$ y3 d( q5 s2021-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__) w. r+ Z/ _. z' A* D2 L
2021-07-17 12:36:16.316 10952 ERROR nova     self._client = self._create_client()
6 m. F% V4 [8 s. W! F2021-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 W- t& S0 [# A! V; g$ T+ s2021-07-17 12:36:16.316 10952 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
8 ^3 J2 g5 A6 O9 z" }$ i- 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
+ [4 Z; p5 j) C; N2021-07-17 12:36:16.316 10952 ERROR nova     return getattr(conn, service_type)/ c% D5 V, N, d9 Y$ 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__1 I# t- i5 L. @- w
2021-07-17 12:36:16.316 10952 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
" x; F% n% u9 L* k% \3 Z9 ~8 G# R, 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
/ {( d/ g% f# N- s+ T% R2021-07-17 12:36:16.316 10952 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs). p( d4 ^6 [7 F3 o- P/ y
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
0 e8 w/ `& u/ l/ X4 M2021-07-17 12:36:16.316 10952 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL'). D8 u; V  m' _1 I4 x$ E9 W6 M
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
5 r7 t+ Z6 q: a: s. D2021-07-17 12:36:16.316 10952 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)- ~1 l; I) r8 d8 O& 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
  ^/ j# Q9 ?1 u! a# h2021-07-17 12:36:16.316 10952 ERROR nova ; r& l0 O/ U' |+ R5 q2 m0 [
0 |1 ~8 b6 z: [) s8 x% _
" J' r& l0 F# g7 m; H% s4 O, \
原因是nova的配置文件中没有添加placement配置9 n* Y6 w$ M; a- C5 t# x" x: J" r
$ v3 `: e3 X9 X% E, H7 B
auth_url = http://controller:5000/v34 A, b6 F- ~# o4 }1 i0 G
memcached_servers = controller:11211
& G6 b( Q" e1 i2 X, t/ xauth_type = password' }7 ]* v1 E' Y$ r# w: N# c
project_domain_name = default
! [" Z! a3 S# a+ t6 L( |user_domain_name = default. g3 N4 g3 m% y0 k5 Y( }% F2 H
project_name = service
0 x3 o! e6 [/ Iusername = placement( E8 H; D" t! Q9 v" N
password =   xxxx
1 G8 A8 t9 w8 e' r; Eregion_name = RegionOne
7 K( f5 t, a' T8 ^+ m  Y8 \' A; {% ^* w" n" h$ U9 q
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 17:19 , Processed in 0.041873 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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