易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 561|回复: 0
收起左侧

openstack创建虚机报错 nova.exception.NoValidHost: No valid host was found.

[复制链接]
发表于 2023-4-9 11:36:41 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
conductor 日志:
/ S/ h! m) p& s" [; V0 R8 ^2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager [req-50fa7432-2666-4cda-9712-151321519600 4e5dbd37d7d34992bac0217f5f6dc462 bd230134367943099e27b872e8b1ec53 - default default] Failed to schedule instances: nova.exception_Remote.NoValidHost_Remote: No valid host was found. 8 h* e6 B) p7 m" a9 w4 p* L
Traceback (most recent call last):- t1 Z8 B; E$ z& x

9 L* G% w! _6 K  z: h; o  File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner
  q; R) ~7 h" v9 g% ]3 \1 l1 O: N    return func(*args, **kwargs)8 u1 Q) K+ J, M4 b& j3 o

( G6 R. u+ b8 e1 V& H4 n  File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations
! h! @& K  M/ `& t+ M4 D    raise exception.NoValidHost(reason="")
" e! @. I" M1 e+ S! s- A
' W# k7 m  I5 I6 W4 K4 i7 V7 Znova.exception.NoValidHost: No valid host was found.
) H* ?9 O: r: D  l) x" y2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager Traceback (most recent call last):$ q- [% c0 t3 [4 r9 r, D
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1547, in schedule_and_build_instances. s/ P: J( f5 C
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     instance_uuids, return_alternates=True)
- y" E) l6 P1 ~( F2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 908, in _schedule_instances
& W' o9 I1 B- r: q: Y1 b' s5 x2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     return_alternates=return_alternates)/ h8 }: W+ ]* O4 e3 W
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations
7 x: J# j5 Z5 e! o: S7 b2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)
: Y/ D' X& |/ ?& ]8 l1 }2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations. p6 m( D( `  b, X0 V% J
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     return cctxt.call(ctxt, 'select_destinations', **msg_args)' U# e# ?' X2 k. H; A9 t0 A: u+ ]
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call
; l" g/ s. @" @. _% A2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     retry=self.retry, transport_options=self.transport_options)3 [- h. z" }% a/ f+ r1 i" J; T) W
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send) \3 T& e+ J; u+ V
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     transport_options=transport_options)3 M" J! Z1 ^. e4 @/ v* ?
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send4 {$ y+ H; G4 z' E, v
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     transport_options=transport_options), [2 ?+ K* D- O- v' W
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send
; x' k; F8 {8 A2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     raise result
, h5 D2 M5 F/ |8 O: d2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager nova.exception_Remote.NoValidHost_Remote: No valid host was found.
( W7 \# v$ I% b. @: J7 j+ l2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager Traceback (most recent call last):
5 W- y, H" s6 I; _" ~7 r1 e2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
) N! q8 |4 ]/ ~; l9 ?* n2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner/ Q; u/ b; |8 \! ^; w. J
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     return func(*args, **kwargs)- T& }$ I, ]. n
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
# S! V" ~. g: ^0 i- C2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations* n& F0 I. W4 R8 z( N. S" F$ Z
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     raise exception.NoValidHost(reason="")
$ b( i; P) f) v8 {' g. ^2 F4 G/ K2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager : P$ [* N" w+ k/ L" E* b
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager nova.exception.NoValidHost: No valid host was found.
; {1 h( Y% E( ~) ]2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
* E4 A& v1 a" L9 w2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager * b+ ?  f  m& G' j9 L/ Y
2023-04-09 11:33:26.745 21 WARNING nova.scheduler.utils [req-50fa7432-2666-4cda-9712-151321519600 4e5dbd37d7d34992bac0217f5f6dc462 bd230134367943099e27b872e8b1ec53 - default default] Failed to compute_task_build_instances: No valid host was found.
8 n3 E' U5 W- r9 x* RTraceback (most recent call last):
: ^1 U8 ^, o- L5 v: L' t+ |# V" r7 ]1 Z4 `$ M
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner
& m, ~! E6 a, r$ R: y4 Q5 Y    return func(*args, **kwargs)8 O% a# G2 N' n6 e
6 O# z1 Z8 X9 Z* d1 ~" N& `5 W
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations
$ P) U# h$ H: d/ ~0 U, ^- Y) s! g    raise exception.NoValidHost(reason=""). s+ L. |( b  N4 X. K( o" l! V% s% t

) V' K- _( [$ inova.exception.NoValidHost: No valid host was found. % r/ i% r  S! _/ s1 {) o! O+ ^
: nova.exception_Remote.NoValidHost_Remote: No valid host was found.
* B+ V: A5 Q! \. \& `9 G1 {# }/ f8 \2023-04-09 11:33:26.747 21 WARNING nova.scheduler.utils [req-50fa7432-2666-4cda-9712-151321519600 4e5dbd37d7d34992bac0217f5f6dc462 bd230134367943099e27b872e8b1ec53 - default default] [instance: 1b944501-f52c-42e1-8c75-4c54b9238b1e] Setting instance to ERROR state.: nova.exception_Remote.NoValidHost_Remote: No valid host was found. 2 J- G2 a  P# B( d

" n+ B; s, F% r7 ~
6 A# |3 q0 \; y( x8 F4 g7 v+ r* P: S2 Q+ q, z% M
compute日志:
: ^% p! w3 N" a: i) Z: @3 _: r5 I& `2 ]2 t
2023-04-09 11:33:23.351 6 ERROR nova.compute.manager [req-d046ac01-9bb6-43a4-97a7-b6510f3c3de7 - - - - -] No compute node record for host compute01: nova.exception_Remote.ComputeHostNotFound_Remote: Compute host compute01 could not be found.. b3 O7 u! }1 u. M: G" z* D; _
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils [req-d046ac01-9bb6-43a4-97a7-b6510f3c3de7 - - - - -] Could not determine disk usage: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.7 o3 F  N: Q5 b) r
Command: ceph df --format=json --id nova --conf /etc/ceph/ceph.conf1 N  G* v. S; h5 P
Exit code: 1" Y2 ]9 U* r9 \& W
Stdout: ''
2 O1 @; }0 H# S8 s$ L# y5 q% mStderr: '2023-04-09T11:33:23.743+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.743+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cbc05bcc8) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n2023-04-09T11:33:23.751+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.751+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cbc060bf8) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n2023-04-09T11:33:23.756+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.756+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cc2ebbe90) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n[errno 2] RADOS object not found (error connecting to the cluster)\n'7 Y: n, {( r  y# U. g8 d* E3 `; Y
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Traceback (most recent call last):
+ q' M( b  M3 V$ x) E4 `2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/storage/rbd_utils.py", line 430, in get_pool_info
" ^# w5 _* x+ k% E3 m- e8 D* Y  M2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils     out, _ = processutils.execute(*args)  d! u2 S& P" }* a+ T
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_concurrency/processutils.py", line 441, in execute
9 k* ?  k$ ~3 P- ^2 \. a( T2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils     cmd=sanitized_cmd)
3 C4 `1 r" E1 E# p4 r- O2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
2 s2 B2 k1 ]. R/ R" x2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Command: ceph df --format=json --id nova --conf /etc/ceph/ceph.conf
$ l4 t! q5 R& o+ `5 X- F% R, Q2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Exit code: 1
0 D) L8 Y2 M; W5 q; x* g( u2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Stdout: ''
( z$ X0 d  @& T' S2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Stderr: '2023-04-09T11:33:23.743+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.743+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cbc05bcc8) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n2023-04-09T11:33:23.751+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.751+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cbc060bf8) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n2023-04-09T11:33:23.756+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.756+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cc2ebbe90) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n[errno 2] RADOS object not found (error connecting to the cluster)\n'# x0 B- X' o' P7 j
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils
' I# `7 e& d6 q. Q0 G; D8 c$ k) y* Y2023-04-09 11:33:23.770 6 ERROR nova.compute.manager [req-d046ac01-9bb6-43a4-97a7-b6510f3c3de7 - - - - -] Error updating resources for node compute01.: nova.exception.StorageError: Storage error: Could not determine disk usage
' V' z3 X4 t, w$ N( L; U2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Traceback (most recent call last):
9 t$ t9 ?  P( E5 Q& k  r2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/storage/rbd_utils.py", line 430, in get_pool_info
- d$ L& O1 o" ~" ]+ U2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     out, _ = processutils.execute(*args)8 J) D' }; w* ?$ Q. u, m* \
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_concurrency/processutils.py", line 441, in execute
+ c9 g' T7 ?; N/ T2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     cmd=sanitized_cmd)
" `% N9 D! c5 G! T8 {; T2023-04-09 11:33:23.770 6 ERROR nova.compute.manager oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.
1 z* i7 M. U3 }" M: ?2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Command: ceph df --format=json --id nova --conf /etc/ceph/ceph.conf
: o/ ]% @& s) R2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Exit code: 13 B. t& ~/ i% z+ k6 N
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Stdout: ''
5 O( V# F5 H, q0 c2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Stderr: '2023-04-09T11:33:23.743+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.743+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cbc05bcc8) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n2023-04-09T11:33:23.751+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.751+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cbc060bf8) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n2023-04-09T11:33:23.756+0800 7f8cc2ebd700 -1 auth: unable to find a keyring on /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,: (2) No such file or directory\n2023-04-09T11:33:23.756+0800 7f8cc2ebd700 -1 AuthRegistry(0x7f8cc2ebbe90) no keyring found at /etc/ceph/ceph.client.nova.keyring,/etc/ceph/ceph.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,, disabling cephx\n[errno 2] RADOS object not found (error connecting to the cluster)\n'* N: G' f( k. ?4 {9 E1 e, Z
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager
4 v. ?0 _! r/ Z  p, \* N5 I. w. b2023-04-09 11:33:23.770 6 ERROR nova.compute.manager During handling of the above exception, another exception occurred:  X4 p1 @3 O. x' B5 q
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager 0 \8 p% c6 y% j0 C
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Traceback (most recent call last):
  n% z6 n4 A5 ~3 _2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/manager.py", line 10057, in _update_available_resource_for_node
2 r0 D: E+ d; s/ y8 e2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     startup=startup)
4 b6 B7 k" D4 M: R8 l2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/compute/resource_tracker.py", line 884, in update_available_resource
+ ~9 l- v8 [  \5 m' E! X* i2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     resources = self.driver.get_available_resource(nodename). W" q( @, N: `8 E  T" ?  w
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 9021, in get_available_resource! ^6 e  c% |2 a: j& f' U% I
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     disk_info_dict = self._get_local_gb_info()( I/ O  N; B1 S; ~, f" s
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/virt/libvirt/driver.py", line 7385, in _get_local_gb_info. g% b* U. \' ^& s
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     info = rbd_utils.RBDDriver().get_pool_info()* `: h' a6 L$ K, e9 Z1 R: o, m5 J
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager   File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/storage/rbd_utils.py", line 434, in get_pool_info
5 `2 n4 J: C3 P% w4 t1 I2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     reason='Could not determine disk usage')
! L+ l' X* H8 V2023-04-09 11:33:23.770 6 ERROR nova.compute.manager nova.exception.StorageError: Storage error: Could not determine disk usage7 W6 U$ Z. ~1 p
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager
4 e2 w0 E0 ?) k- N6 `; c$ f8 z: o5 Q3 q5 U8 e' d, W- M( x

% Y  t* h! v  U0 h1 r/ O9 |- P
: X4 B  |! X! ~. m0 r! S: \+ u5 g: h0 H) H
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

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

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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