找回密码
 注册
查看: 3293|回复: 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 negative3 o1 d9 E" N2 e8 _( `
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
2 {9 d* o5 P7 X2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):7 H- `6 H; T$ {8 |1 ^/ K* B8 r
2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>' _, K7 h- a, l# O
2021-07-17 12:36:13.290 10942 ERROR nova     sys.exit(main())
, E: r; t; h$ j6 B7 J& B2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main; i  _+ v9 W8 z+ v
2021-07-17 12:36:13.290 10942 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)
3 `5 h# o5 r. [. U2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create
* |0 v5 d$ y; p8 u7 I6 x% j! n2021-07-17 12:36:13.290 10942 ERROR nova     periodic_interval_max=periodic_interval_max)
: ~5 ^, C6 ^% T5 j9 c  h" a: e' @5 d2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__7 }9 ]& ~* U: j8 y' H
2021-07-17 12:36:13.290 10942 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
4 T( g7 v- n* S0 E2 u3 j2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 59, in __init__
/ H& x2 i) q4 a* X3 a6 }2021-07-17 12:36:13.290 10942 ERROR nova     self.placement_client = report.SchedulerReportClient()( Y; }# D! ]% R. 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__+ S: \+ v% p' p1 s* w
2021-07-17 12:36:13.290 10942 ERROR nova     self._client = self._create_client()
+ U- F) ^& P" D2021-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_client0 {8 H. G2 p  S: `7 Y7 {# K3 M
2021-07-17 12:36:13.290 10942 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
4 Q  y1 G1 M- X2021-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
, _) q, W6 l4 _2 ~2021-07-17 12:36:13.290 10942 ERROR nova     return getattr(conn, service_type)
) q# t: ]  R' T3 f2021-07-17 12:36:13.290 10942 ERROR nova   File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__
$ }! \, z9 ]+ x5 r+ L$ P2021-07-17 12:36:13.290 10942 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy); v) ~5 {2 o8 [: l, X! p" L1 E
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
; j/ ~* v  |. q4 {2021-07-17 12:36:13.290 10942 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)% b1 _4 }+ a6 k- j0 E% }5 B+ ]) E
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$ x! y. _0 M7 e
2021-07-17 12:36:13.290 10942 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')8 m! ^7 f. o2 V8 }) E/ {
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, o7 X0 o( l% y. G- g
2021-07-17 12:36:13.290 10942 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)
0 g- C0 q8 U+ ^0 f, C2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL* o+ h1 g- ^( F/ [% q
2021-07-17 12:36:13.290 10942 ERROR nova 5 X' o$ l: e$ J* o: J# b, o- @  K9 G
2021-07-17 12:36:16.311 10952 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative5 O; S) u3 n2 t: T  g+ X
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 URL1 y$ U+ j6 g4 v
2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):6 E% Q0 m4 ]# ^3 V7 g3 z8 z9 Z
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/bin/nova-scheduler", line 10, in <module>
* Q1 F6 z0 d8 F, f( |. M' z7 u2021-07-17 12:36:16.316 10952 ERROR nova     sys.exit(main())
  A' I0 l2 @4 ^% |% Y+ @' k* d2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main
" A: E, I  ^) r: n- M3 F6 m6 l! G2021-07-17 12:36:16.316 10952 ERROR nova     topic=scheduler_rpcapi.RPC_TOPIC)8 Q; a9 r" l& N0 \" v' }, i
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create
, K/ l' s& X. z2021-07-17 12:36:16.316 10952 ERROR nova     periodic_interval_max=periodic_interval_max)5 ?0 W2 n9 n! o* T6 F; b0 Q& L
2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__
, g/ ^3 V; q, R. [$ S, `2021-07-17 12:36:16.316 10952 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
, q: V+ @; B, I: t; L& C2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 59, in __init__
/ `! G3 ]/ k' O2021-07-17 12:36:16.316 10952 ERROR nova     self.placement_client = report.SchedulerReportClient()) }$ R( l; B( w! l, d
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__
# `2 X! C' M, u! e* j2021-07-17 12:36:16.316 10952 ERROR nova     self._client = self._create_client()6 c1 `/ A; Q. V4 H: w% |
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 [- ^( U9 A2 J. Y. ]* t$ m" d
2021-07-17 12:36:16.316 10952 ERROR nova     client = self._adapter or utils.get_sdk_adapter('placement')
' q8 ]  L. Y, x' }8 B5 w2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/nova/utils.py", line 1079, in get_sdk_adapter3 b- d/ \$ Y4 G: |, _
2021-07-17 12:36:16.316 10952 ERROR nova     return getattr(conn, service_type)
3 ]- L. m5 K4 W" `9 p2 e5 t2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__$ M- M( K% X! l2 u: U: p5 z  Y
2021-07-17 12:36:16.316 10952 ERROR nova     endpoint = proxy_mod.Proxy.get_endpoint(proxy)
: W7 [* X# u8 V" a2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint; c2 y' `! m! S3 U/ F
2021-07-17 12:36:16.316 10952 ERROR nova     return self.session.get_endpoint(auth or self.auth, **kwargs)
* Q- r+ ^$ W3 S6 t- U. r/ Q& A2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint5 d1 n5 W4 u) W( J4 x( g* F# Q% f
2021-07-17 12:36:16.316 10952 ERROR nova     auth = self._auth_required(auth, 'determine endpoint URL')
3 e) e* }" D# E% v( C+ t2021-07-17 12:36:16.316 10952 ERROR nova   File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required1 s9 |9 _5 D0 N& Q* M
2021-07-17 12:36:16.316 10952 ERROR nova     raise exceptions.MissingAuthPlugin(msg_fmt % msg)& R9 ]6 W+ k+ x' ^; w- T
2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL" W; A6 L& U  a4 {% ]
2021-07-17 12:36:16.316 10952 ERROR nova 1 U6 K$ @* N& E1 K: Q
+ V! t/ k5 s! F% n3 J4 a

% O5 X/ X- N; O. Z9 D; w原因是nova的配置文件中没有添加placement配置
- [' |9 a$ v7 W. O6 Y! S1 z2 U
; b7 U- G$ v9 `& q3 E/ Aauth_url = http://controller:5000/v32 h  E5 m1 G9 [% ^& M
memcached_servers = controller:11211$ V- t, I0 m# X$ k- B- ]
auth_type = password
% |& g$ [6 g, |( _3 a8 aproject_domain_name = default6 a3 F0 h% m& T, d
user_domain_name = default+ {6 @' |: L4 Q* n* B9 V; `
project_name = service
8 m* V. G9 p8 f0 a/ n8 kusername = placement* I* `: e7 P/ y1 X; ~* s0 ?1 N
password =   xxxx. [5 u; L2 P' ]
region_name = RegionOne
2 `1 f$ Z3 F& q% x- Z& t3 |0 E8 t( w& S4 I1 D
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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