易陆发现互联网技术论坛

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

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

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

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

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

x
conductor 日志:
2 J: {7 y: Z3 q2023-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.
/ |* m7 m/ ~' H- dTraceback (most recent call last):
, }( f: @7 u7 W* U% q0 p' T" J: R; V  G6 M
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner
+ E9 O& q8 s/ y" `0 s- m    return func(*args, **kwargs)
) n1 F  s, D! ]6 _9 V- T
0 l+ x) ?: `" U$ P- Y! B  File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations
7 r$ W0 }6 N; H    raise exception.NoValidHost(reason="")
& L$ c0 [5 H1 C) t4 k  _) U
% e3 ~8 o1 t) N5 D5 |nova.exception.NoValidHost: No valid host was found.
0 t$ y8 c6 A1 j9 H" }2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager Traceback (most recent call last):& L% j& L1 {4 ^
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/ Q. n) I/ Z% ]0 ]; e
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     instance_uuids, return_alternates=True)( X3 M' `1 }$ y$ |/ H
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 908, in _schedule_instances: ]3 s! ?; w+ L0 ~& d3 e
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     return_alternates=return_alternates)# m" w8 j: U. t
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 Z1 q7 o3 m( \* o" y1 V  B2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     instance_uuids, return_objects, return_alternates)3 w4 b% O8 N5 v$ b# \7 f
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+ |. w; P" Z: `' h- x5 r
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     return cctxt.call(ctxt, 'select_destinations', **msg_args)
( @5 @' ^, t$ u5 A* j; x  a3 k2023-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- B) _% Y6 p+ I. n. ?# F6 \& [5 F
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     retry=self.retry, transport_options=self.transport_options)
. y- k$ t/ ]: J% [  @- [& L2023-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
% n6 @1 p* l8 |2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     transport_options=transport_options)1 g7 h! ^( s/ H
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 send, ~9 j2 [* y  U$ j
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     transport_options=transport_options)
' h7 D* Y6 Q1 X. u; y2023-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
8 c# ]) l1 v5 s  k; @+ d% g2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     raise result( f& W/ E+ z5 x- n1 w2 z
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager nova.exception_Remote.NoValidHost_Remote: No valid host was found.
8 c3 A( p6 K5 Y$ @. W7 N; k6 b2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager Traceback (most recent call last):
8 \+ Y) |* `$ c2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager : t7 A2 h8 y; X5 L. W0 w4 S; {
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/server.py", line 241, in inner
" }! a) g  K& [" H, R  g2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     return func(*args, **kwargs)
3 t+ x3 l- S. V3 X! I# {: b% o. W2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
' O* ]0 x; E7 E" }$ `% B% P2023-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
3 @( Z4 C; ~/ @- k2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager     raise exception.NoValidHost(reason="")
* D  Z: Y; M$ f0 B) m2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
5 N) s' J0 F. I2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager nova.exception.NoValidHost: No valid host was found. 2 V1 v& q0 {) P' K2 W' D8 j  C
2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
4 |: c( ]& ~; N* v5 k) O2023-04-09 11:33:26.301 21 ERROR nova.conductor.manager
( z+ P0 B5 S2 y4 v4 W2023-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.
/ x& p' q( p! j5 A* yTraceback (most recent call last):
; S; S+ r' [: C0 X; K4 D
! d9 K' f; j/ z2 k7 }2 O* w  File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner) Q7 Q; d" l* X* R1 Q0 b  _
    return func(*args, **kwargs): X: E! U# i  [+ Y. J
! R. `2 L& S" l3 D
  File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations
+ o* j+ u% d- k8 H: O    raise exception.NoValidHost(reason="")
) T3 D# \5 E. s' ]
( S5 G# a1 N! o* z7 W. inova.exception.NoValidHost: No valid host was found. 4 t& d: _. a4 q0 Y! l+ I  Z
: nova.exception_Remote.NoValidHost_Remote: No valid host was found.   d: v  }* I' \8 F* G  D
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. : p+ a/ `, D" P* p, J- s# R
' c7 P, p7 ^3 v7 M! d4 L  Z6 ?

: }' a: c# f- U2 D# E' q
" _9 j# t, E4 Icompute日志:* Z1 f2 ]; F  |$ M" n
- N7 \  v# j! r# h  \( ^
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.
" T9 ]) z! U, y9 Y% U# V% B2023-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.+ A( ^! |0 c- F+ Z; d% g
Command: ceph df --format=json --id nova --conf /etc/ceph/ceph.conf
; \# i( y- O; ?2 N0 V* BExit code: 1! I+ j  S: c  O$ m
Stdout: ''
! P, m; E) E& [! pStderr: '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'
( |  |( J. B5 j2 o2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Traceback (most recent call last):
% p& E3 V$ o' h- G. n2023-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/ M  U4 ]) M# g3 f6 c4 x3 K
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils     out, _ = processutils.execute(*args)3 v8 {$ @& k/ J. U  U5 G
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$ A: F9 h7 b2 Y
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils     cmd=sanitized_cmd)
: s+ I/ q% }8 }( b' V$ O2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command., k& e5 B( |, |/ y
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Command: ceph df --format=json --id nova --conf /etc/ceph/ceph.conf  q0 p  K1 {8 H: v9 r
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Exit code: 1# \7 j! J# K6 m/ p2 Z% Q/ t
2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils Stdout: ''! k& [1 Y9 w  N: K2 a6 E
2023-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'
0 o9 S- B. @1 _5 i4 T0 {2023-04-09 11:33:23.766 6 ERROR nova.storage.rbd_utils 3 ~& ^9 }+ @* x# D6 l5 E8 y7 C! c
2023-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) S2 i5 o$ S7 \. g7 u8 E; w, M4 D
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Traceback (most recent call last):$ ^0 Q% K3 n$ S/ s
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 430, in get_pool_info" v( [( g" l  x9 E  V
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     out, _ = processutils.execute(*args)
$ I0 i2 z9 _6 l% o; \. q" F: y2023-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 execute1 h0 d. z! w2 V: n" Y
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     cmd=sanitized_cmd); j9 n) d/ F! M
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.3 T4 O( C, P* s; p0 U3 x; Y
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Command: ceph df --format=json --id nova --conf /etc/ceph/ceph.conf# {% {+ K% N, ?) [3 `/ W2 }
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Exit code: 1
2 E/ C+ F" c1 X  I& t# J# ^2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Stdout: ''# j7 q9 ?5 v2 Q- L6 Z; G* a
2023-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'& v! }& C0 |1 _9 O3 L
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager
/ W% `% C% ?7 `  I2023-04-09 11:33:23.770 6 ERROR nova.compute.manager During handling of the above exception, another exception occurred:9 u% J- i8 t+ L% j
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager
6 J, B( E! f; |8 }' W2023-04-09 11:33:23.770 6 ERROR nova.compute.manager Traceback (most recent call last):
. g4 X3 C+ ^" t4 c! Z2023-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
7 U% ^3 I' J1 v. T# I( h3 o$ ~2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     startup=startup)
0 V; m- N: H( D" ^- {. c) \2023-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
+ }4 Y, l# |$ R7 p5 j2 u& I% x2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     resources = self.driver.get_available_resource(nodename)3 Y$ l3 Q/ d  X" 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 9021, in get_available_resource' ~- O4 {6 U8 H: [
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     disk_info_dict = self._get_local_gb_info()8 y5 _! s' H2 C8 K' O6 R
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+ _2 C! q7 `# }
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     info = rbd_utils.RBDDriver().get_pool_info()5 L& {% r9 Q' ]  n( ]2 w, t  L
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_info4 \% z5 N+ E  A+ R) z, C+ @
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager     reason='Could not determine disk usage')2 W/ S& w+ `- ~7 I  e! T
2023-04-09 11:33:23.770 6 ERROR nova.compute.manager nova.exception.StorageError: Storage error: Could not determine disk usage
; `3 G0 m$ N% I, q0 q8 M8 H2023-04-09 11:33:23.770 6 ERROR nova.compute.manager
% Z% j+ t( R! v& T9 o* W2 Q0 j
- m# w, A, {! I9 c+ z/ E( \
7 w5 L7 o, h( P* q- G( Y( X# z) N7 h: A+ f: `5 I# Q6 L
  J+ i+ s6 p; @' z! O: E7 L
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-10 17:58 , Processed in 0.042523 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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