|
|
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
9 `: \! } }# s: F- W2021-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
) y* s' F" u1 i0 N6 y" k2021-07-17 12:36:13.290 10942 ERROR nova Traceback (most recent call last):
) ^( V8 Y- {" S0 X% r- L3 N0 u# h2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module>
0 o' _7 E% x& I! m& U1 f) V2021-07-17 12:36:13.290 10942 ERROR nova sys.exit(main())
+ q- T8 x' z7 K) ~6 L+ J2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/nova/cmd/scheduler.py", line 46, in main. V3 B/ U8 @* A- ]# y6 p. Z, l! W7 u
2021-07-17 12:36:13.290 10942 ERROR nova topic=scheduler_rpcapi.RPC_TOPIC)4 Y, n: d" f4 s: k9 m! d
2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create W/ B* l! ~4 e8 W7 s
2021-07-17 12:36:13.290 10942 ERROR nova periodic_interval_max=periodic_interval_max)* L+ X# x8 q2 u2 X& 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__4 T, f- G& }' E5 T
2021-07-17 12:36:13.290 10942 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)
$ {- v e* Z. U) E2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/nova/scheduler/manager.py", line 59, in __init__
/ w n9 R+ C& E* x0 X% \3 j& O) X2021-07-17 12:36:13.290 10942 ERROR nova self.placement_client = report.SchedulerReportClient()
% @8 K- I) b) c/ q- _- z2 v2021-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 I" U5 a" M6 D) x2021-07-17 12:36:13.290 10942 ERROR nova self._client = self._create_client()( y- ~8 T" A2 s9 K* j$ Y8 Q7 i( I
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* p: V/ q& S; y3 u C; a) f
2021-07-17 12:36:13.290 10942 ERROR nova client = self._adapter or utils.get_sdk_adapter('placement'). ]+ K2 c2 f9 r8 N5 ]
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
0 _. L1 ?$ r$ L6 L! d8 S b7 {2021-07-17 12:36:13.290 10942 ERROR nova return getattr(conn, service_type); A! a3 L! d/ ~3 O8 h, F% 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__
) N. D0 J3 K- m1 c+ F2 V# O6 H/ E2021-07-17 12:36:13.290 10942 ERROR nova endpoint = proxy_mod.Proxy.get_endpoint(proxy)2 Q" ^) ]' | N" @; I+ k
2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint7 b( ~( O- P% | F( [ |
2021-07-17 12:36:13.290 10942 ERROR nova return self.session.get_endpoint(auth or self.auth, **kwargs)
1 F& I, X" L7 Z2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1223, in get_endpoint
% w2 v& N3 H+ ?& v3 a2 T9 X' u2021-07-17 12:36:13.290 10942 ERROR nova auth = self._auth_required(auth, 'determine endpoint URL')
4 {! A# s' j/ p8 N2021-07-17 12:36:13.290 10942 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required
# J$ h) {3 K+ K" d3 i, ^2021-07-17 12:36:13.290 10942 ERROR nova raise exceptions.MissingAuthPlugin(msg_fmt % msg)3 p) J7 k/ H# a; L
2021-07-17 12:36:13.290 10942 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL
7 I: R: u) M' l( b; H8 u5 m5 q2021-07-17 12:36:13.290 10942 ERROR nova
/ F+ H* q3 t( V3 s8 X' e# Z2 Q3 d2021-07-17 12:36:16.311 10952 INFO oslo_service.periodic_task [-] Skipping periodic task _discover_hosts_in_cells because its interval is negative9 j3 u2 t& T G* n/ D7 T+ `6 F. M+ t
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
1 G' u( ]' N3 V" N% U, a9 \5 _2021-07-17 12:36:16.316 10952 ERROR nova Traceback (most recent call last):
' f! U' U1 M" Y/ ?4 ^2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/bin/nova-scheduler", line 10, in <module>
7 k; b e3 B* K' t, C, R2021-07-17 12:36:16.316 10952 ERROR nova sys.exit(main())# {, I# E" `) E7 L0 L
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
4 y# C7 W f& B% C W$ j2021-07-17 12:36:16.316 10952 ERROR nova topic=scheduler_rpcapi.RPC_TOPIC)
# a4 Q6 R" p# ? V0 E. N) T2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 270, in create+ w) G7 @. d9 \ E
2021-07-17 12:36:16.316 10952 ERROR nova periodic_interval_max=periodic_interval_max)' u/ o0 A7 j9 V' ~
2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/nova/service.py", line 128, in __init__9 V0 F/ A$ M! n" N9 r
2021-07-17 12:36:16.316 10952 ERROR nova self.manager = manager_class(host=self.host, *args, **kwargs)8 E9 @ K0 f$ p$ h
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__
3 x& `4 l$ D3 D n2021-07-17 12:36:16.316 10952 ERROR nova self.placement_client = report.SchedulerReportClient()/ q1 t( y; m1 N' k
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__
8 T: Q9 O1 `5 M8 y9 r$ J! S2021-07-17 12:36:16.316 10952 ERROR nova self._client = self._create_client()5 @3 k, W: s/ s3 z; X
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
8 Z( K4 F1 W3 d# D5 ?6 v2021-07-17 12:36:16.316 10952 ERROR nova client = self._adapter or utils.get_sdk_adapter('placement')* Q! \9 j8 I5 H* [
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( U' `- ?6 S7 {2 A; m$ e1 E9 L
2021-07-17 12:36:16.316 10952 ERROR nova return getattr(conn, service_type)
, o' C0 f+ `* W2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/openstack/service_description.py", line 93, in __get__) h# N* O& }+ {& b
2021-07-17 12:36:16.316 10952 ERROR nova endpoint = proxy_mod.Proxy.get_endpoint(proxy). O# B( X6 q; {& {4 Z
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
8 J6 H1 Y( \3 {! L2 g* ]( h6 N: B2021-07-17 12:36:16.316 10952 ERROR nova return self.session.get_endpoint(auth or self.auth, **kwargs)
9 v. ~: O8 f/ x% _ S! @5 n1 u, k: A8 `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' X7 {& y& T' T" y: I: `3 l
2021-07-17 12:36:16.316 10952 ERROR nova auth = self._auth_required(auth, 'determine endpoint URL')
7 x2 A/ f5 A. E6 B; m- B0 B& z0 C2021-07-17 12:36:16.316 10952 ERROR nova File "/usr/lib/python3.6/site-packages/keystoneauth1/session.py", line 1163, in _auth_required6 z9 c, y+ R2 ~* ?# S
2021-07-17 12:36:16.316 10952 ERROR nova raise exceptions.MissingAuthPlugin(msg_fmt % msg)
. J- K0 J, r0 P# N, r W2021-07-17 12:36:16.316 10952 ERROR nova keystoneauth1.exceptions.auth_plugins.MissingAuthPlugin: An auth plugin is required to determine endpoint URL& ^' W7 D2 @# F. Z! _: X
2021-07-17 12:36:16.316 10952 ERROR nova
7 S0 ~) ~4 i) f$ p4 @6 x/ ^" l% E+ a! ^
4 w; q; A+ |! A/ [! P# C原因是nova的配置文件中没有添加placement配置
1 L. r" a) X$ d7 s3 X* K# l& I- N
auth_url = http://controller:5000/v3
; N5 j5 x9 R7 l8 z2 c7 ]memcached_servers = controller:112110 i3 u0 O$ Q8 O2 H
auth_type = password) [1 D2 g; Z1 o6 c: R% @6 e
project_domain_name = default" N. l; B9 T" H$ L- [7 H8 R
user_domain_name = default
$ C5 ]' E( ^( j1 aproject_name = service9 ^$ h ]! u) A/ ]7 N0 f
username = placement
; h! \2 Q, N I' lpassword = xxxx
7 i' h# v: c5 i* W. f7 H1 Bregion_name = RegionOne; |* u$ \+ V2 E. G, u
# I' K4 D1 }& U6 Q7 S1 O
|
|