|
|
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# g% f$ \( }4 ]
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
8 P0 P p9 s9 z2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):
7 P. }7 t% t: h5 d2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module>
' g9 M/ L) }9 {* l2021-07-17 12:36:13.290 10942 ERROR nova sys.exit(main())8 H4 T$ G5 Z: @, V' O% \
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 n* K: S$ q5 @* ^+ z2021-07-17 12:36:13.290 10942 ERROR nova topic=scheduler_rpcapi.RPC_TOPIC)
" X1 ~+ S6 @7 B; s- f" a; f2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create
3 ]7 D V" k1 o1 A: H2021-07-17 12:36:13.290 10942 ERROR nova periodic_interval_max=periodic_interval_max)
' \2 L* k" Z0 X5 i2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__
! c5 E- d1 [/ S4 |. q. F7 s$ P2021-07-17 12:36:13.290 10942 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)7 D7 q! ?; R' i+ Z3 H, V2 u
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__
7 W8 O% B5 x9 o3 r9 S2021-07-17 12:36:13.290 10942 ERROR nova self.placement_client = report.SchedulerReportClient()7 h( b/ v* g5 M; a# h% _
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__
4 Z& ^2 M' k4 L; C' c" j* P2021-07-17 12:36:13.290 10942 ERROR nova self._client = self._create_client()
" B3 A5 T! N n5 |8 f2 @7 }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
u' } A8 t u+ H$ K \2021-07-17 12:36:13.290 10942 ERROR nova client = self._adapter or utils.get_sdk_adapter('placement')
4 b' f3 f4 R" [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' {$ f8 i4 m8 @- v0 S
2021-07-17 12:36:13.290 10942 ERROR nova return getattr(conn, service_type)
- i# O1 R1 B B4 ~: N2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__
8 N# \1 D# f! U2021-07-17 12:36:13.290 10942 ERROR nova endpoint = proxy_mod.Proxy.get_endpoint(proxy)2 Z5 W' |% g) H# M, q
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% I- n0 V& T% m& i7 D& R, }
2021-07-17 12:36:13.290 10942 ERROR nova return self.session.get_endpoint(auth or self.auth, **kwargs)5 w9 ], R; Q7 L* \
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
4 N' u% j3 g+ {( [' g D( `2021-07-17 12:36:13.290 10942 ERROR nova auth = self._auth_required(auth, 'determine endpoint URL')- Q* M$ @( S" B
2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required8 h0 ^( p. ^6 V7 W! Q/ c
2021-07-17 12:36:13.290 10942 ERROR nova raise exceptions.MissingAuthPlugin(msg_fmt % msg)
6 J' F5 Q" _$ h4 y& h) X" s2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
' \. _* e, |5 T- {. s2021-07-17 12:36:13.290 10942 ERROR nova
( T Q$ P; _# F. ~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
' c( `7 W3 l$ s' s2021-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
2 Q3 F- P& N# C3 P8 e2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):
- L$ _$ P% w5 N6 m2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module>0 Q- Q; t# B. j; I8 ]
2021-07-17 12:36:16.316 10952 ERROR nova sys.exit(main())5 {% L& p4 z, N4 Y" x. z
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
: s6 q+ O; u5 @2021-07-17 12:36:16.316 10952 ERROR nova topic=scheduler_rpcapi.RPC_TOPIC) Y% S. \2 {" Y, q. v3 w s8 ~4 [/ L
2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create' Z p8 |5 T- O U& c5 p/ d w! }
2021-07-17 12:36:16.316 10952 ERROR nova periodic_interval_max=periodic_interval_max)
/ h1 U- y5 Q* P( d2 z+ B2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__4 z7 c [% l9 Y" r
2021-07-17 12:36:16.316 10952 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)- D) {* y+ z6 L- s5 ~# I# D% J
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__; K1 o( p7 _) ^. E2 p/ G
2021-07-17 12:36:16.316 10952 ERROR nova self.placement_client = report.SchedulerReportClient()" |( b0 I7 ^! u, C4 V+ Q+ f
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__5 i6 \8 A) m- q3 U4 D* @- u/ G# u5 G
2021-07-17 12:36:16.316 10952 ERROR nova self._client = self._create_client()0 H0 s* \/ P+ \( l. y# J% P- V8 L
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
& r) t- K. k, |* M& Z8 \2021-07-17 12:36:16.316 10952 ERROR nova client = self._adapter or utils.get_sdk_adapter('placement')
. R5 _2 }7 W# ^4 Y" B9 C2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/nova/utils.py", line 1079, in get_sdk_adapter8 [: L) W5 g, m3 X1 d0 Z. p
2021-07-17 12:36:16.316 10952 ERROR nova return getattr(conn, service_type)& N3 ?# E c6 ~0 L) N. Q
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__
$ q3 g3 f' u2 }6 \2021-07-17 12:36:16.316 10952 ERROR nova endpoint = proxy_mod.Proxy.get_endpoint(proxy)
0 Y+ E z/ |5 \) S$ ]- B2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint3 x3 K; M" @7 y0 G# G
2021-07-17 12:36:16.316 10952 ERROR nova return self.session.get_endpoint(auth or self.auth, **kwargs)
/ O, u2 i( s; Q0 \ s" H2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint
: K u3 i7 G" O5 v; @1 q8 o2021-07-17 12:36:16.316 10952 ERROR nova auth = self._auth_required(auth, 'determine endpoint URL')
. M* P G( A7 p: v _( O2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required+ E) o. w" v, U' q: O: `2 u( Q
2021-07-17 12:36:16.316 10952 ERROR nova raise exceptions.MissingAuthPlugin(msg_fmt % msg)
7 J% k* N7 ^7 U2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL0 q, O# I4 H- J* j) w2 G
2021-07-17 12:36:16.316 10952 ERROR nova
! c$ D5 B$ k$ q" A; _+ M( s1 Z; N! A
3 S }5 [. I9 i1 x4 p; w' r2 K( {0 A5 {! V$ O3 r9 f; @
原因是nova的配置文件中没有添加placement配置4 A/ b; \5 H9 T2 f% z' G
1 H/ F* r& d! S* ]. s9 t2 I. g
auth_url = http://controller:5000/v37 E5 Z9 m* j, _; v
memcached_servers = controller:11211
! M7 d; H, [, i8 p: L. f6 yauth_type = password
/ b5 P% t) |' D; B+ ]project_domain_name = default, O6 F# o) C) I$ f% o
user_domain_name = default( O. B) h0 a7 Z( y* I( ~9 L
project_name = service$ E- P0 Z' G6 y# W; n* z
username = placement" [6 f& i& H; s. \# E ]5 y N) S
password = xxxx- x1 a& j2 ~! {8 E
region_name = RegionOne
' ?; ^" B1 o3 s# {' X- ?. c: n8 L) @* u7 b" E3 N
|
|