易陆发现互联网技术论坛

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

ERROR cinder.volume.targets.iscsi The volume driver requires the iSCSI initiato

[复制链接]
发表于 2025-3-7 17:17:25 | 显示全部楼层 |阅读模式

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

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

x
2025-03-07 17:05:14.756 2428 ERROR cinder.volume.targets.iscsi [req-a2d56291-b9de-45c4-b211-1e8185c503a9 req-3d974883-1ef5-40ce-9c27-10c7b3f68dbb a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - - -] The volume driver requires the iSCSI initiator name in the connector.
* g( d3 s  i  R2 ^2 |+ G7 p2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server [req-a2d56291-b9de-45c4-b211-1e8185c503a9 req-3d974883-1ef5-40ce-9c27-10c7b3f68dbb a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - - -] Exception during message handling: cinder.exception.InvalidInput: Invalid input received: Connector doesn't have required information: initiator
: Y' r& a- H1 C% c# D2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):& x$ ^% m3 ^3 I
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/cinder/volume/manager.py", line 4803, in _connection_create
  w/ S3 `4 f- ]' y1 J2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     self.driver.validate_connector(connector): v: d7 n( A& w" {% e3 T+ k
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/cinder/volume/drivers/lvm.py", line 862, in validate_connector3 C7 l6 N* `; D/ N5 h
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self.target_driver.validate_connector(connector)
, _8 ~/ u) }9 x( K2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/cinder/volume/targets/iscsi.py", line 289, in validate_connector
. ?6 c; @4 b2 a( V2 G# }+ d9 ]% s2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidConnectorException(missing='initiator')3 L) u+ j( b5 Z6 P3 e6 t" x: f
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidConnectorException: Connector doesn't have required information: initiator$ I3 D  N2 e3 U3 w
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server
, `4 ~0 ~! W: U) [- o2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:6 D% r5 [& _# x+ \: A+ `( P# S
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server . P+ R+ a/ F4 L" {. v) c
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
4 E& a2 [+ x" v1 z9 _2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming% ^5 b' `8 g) h0 o& K" C
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
0 T7 O  Z; ]7 O$ x2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch* Q% O) D" ~; P; C6 b! J# m
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)% D8 _" U% I& K6 H1 p0 a
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/oslo_messaging/rpc/dispatcher.py", line 229, in _do_dispatch
5 T$ x% W  Z; \! M2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
' h3 S) O: S: ?2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/cinder/volume/manager.py", line 4886, in attachment_update6 |3 Y6 i( V8 d# G, P9 U$ ?' r" h5 _
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,
6 P: n7 g7 }4 g2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server   File "/usr/lib/python3.9/site-packages/cinder/volume/manager.py", line 4805, in _connection_create
9 B' \9 Q! q: [2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidInput(reason=str(err))
1 ^( f$ T9 ^* T8 `6 a9 l9 f2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidInput: Invalid input received: Connector doesn't have required information: initiator9 R9 b) r9 m5 Y. \2 h4 b! C- M- t
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server * ], S! s# K4 w: e4 T
8 z  [7 \4 }! ], w0 Q- ~
! Q1 a8 x. i: b( Y& n, \( @  x( L
. I2 N1 Y, M) N! B$ U* U, g
排查原因# b+ i) m( J6 i) b
在cinder中能查询到卷,说明卷没有问题。
9 A9 Q: B$ |% @5 n: i8 l$ r% ?& I3 K  V

' ^& J; o& N1 S) `3 y  p! t# V6 m
 楼主| 发表于 2025-3-7 17:18:48 | 显示全部楼层
错误: 实例 "llllllll12ss" 执行所请求操作失败,实例处于错误状态。: 请稍后再试 [错误: Build of instance 3ca41ef9-7054-4781-9618-54cb7af26594 aborted: Unable to update attachment.(Invalid input received: Connector doesn't have required information: initiator). (HTTP 500) (Request-ID: req-1e7882e6-c22d-49a2-b130-5b8b0a4448e8)].
 楼主| 发表于 2025-3-7 17:26:52 | 显示全部楼层
Build of instance 87 aborted: Unable to update attachment.(Invalid input received: Connector doesn't have required information: initiator)
 楼主| 发表于 2025-3-7 21:13:50 | 显示全部楼层
2025-03-07 21:09:45.880 1805 WARNING os_brick.initiator.connectors.iscsi [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - d iSCSI Initiator File /etc/iscsi/initiatorname.iscsi: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.' n6 S7 K8 _& h2 D, \
2025-03-07 21:09:46.023 1805 ERROR nova.volume.cinder [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Updnt f9b4c1ee-8d11-41b5-9f9c-667b67cce326. Error: Unable to update attachment.(Invalid input received: Connector doesn't have required information: initiator). (HTTP 500) (Request-ID: req-c7225ode: 500: cinderclient.exceptions.ClientException: Unable to update attachment.(Invalid input received: Connector doesn't have required information: initiator). (HTTP 500) (Request-ID: req-c7)
3 Y1 ?8 ^) ~2 G/ ^* F8 D; [2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] [a5361aec901d] Instance failed block device setup: cinderclient.exceptions.ClientException: Unable to update attachment.(Invalid input received: Connector doesn't have required information: inreq-c7225141-725f-4d3a-ad47-3013f4182388)* g1 s8 x7 z% x- W  N% X
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] Traceback (most recent call last):
1 e# b! p: z; E+ x9 a2 T! M2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/compute/manager.py", line 2174, in _prep
: G* p; Q9 s) [2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     driver_block_device.attach_block_devices(
$ s! Q' b+ }* b# ^7 _2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 936, in atta5 f4 w% U0 j" O: ]' @
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     _log_and_attach(device)6 c: o7 t' X: m% b
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 933, in _log' H6 b% P9 X+ n- f1 L' r
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     bdm.attach(*attach_args, **attach_kwargs)9 ?' B, Z$ \+ S5 c* ^$ P& X7 H
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 835, in atta
+ b7 J) [( |* z) o- `2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     super(DriverVolImageBlockDevice, self).attach(
& z% S9 ^& E$ A' [2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 46, in wrapp
; z& d+ c: T$ Q$ F5 d' J% h; g4 E2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     ret_val = method(obj, context, *args, **kwargs)
  k( }3 k) V% ?5 u' S# w; m2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 734, in atta
( J- k- V4 Z4 C9 J7 U2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self._do_attach(context, instance, volume, volume_api,$ k* M8 D+ V' A! F/ ~6 T* o
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 719, in _do_$ m2 n2 u; i, q. \- V7 h) p
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self._volume_attach(context, volume, connector, instance,
7 l% h" J% w# c2 E2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/virt/block_device.py", line 633, in _vol4 R, R% x# `! C" c
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     connection_info = volume_api.attachment_update(
5 `" z/ d/ \" O) o9 _2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 397, in wrapper
" l" f: k2 x4 X# j2 \3 t2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     res = method(self, ctx, *args, **kwargs)
5 X7 {5 |" o: b' w9 e8 c; i) ?! C+ n0 I- V2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 451, in wrapper
' @" ]6 G8 N8 @" l& a2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     res = method(self, ctx, attachment_id, *args, **kwargs)5 ^) e0 o: {4 C6 K3 v' c! f+ P, L
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 916, in attachme+ i9 S0 s* P$ l; V7 T3 u4 @+ V
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     LOG.error('Update attachment failed for attachment '9 F0 ~9 y' f! ~2 G* c- G; Z9 v% D) k
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 227, in __exit_
4 o  V$ H: F" i' }- A$ ]2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self.force_reraise()
6 f" Z- B" C; @2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/oslo_utils/excutils.py", line 200, in force_r
. d4 D7 P8 x; z0 @2 t2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise self.value0 N- r; o3 V/ T2 s% t+ k
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/nova/volume/cinder.py", line 908, in attachme
, g, n8 D6 D3 d2 J- ]  k2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     attachment_ref = cinderclient(
5 v* E3 V5 }1 d# k5 N; ]8 t  I2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/cinderclient/api_versions.py", line 421, in s# |8 o5 E! g- a+ w% f
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return method.func(obj, *args, **kwargs)3 N4 j8 A6 e" `7 s  Z0 W
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/cinderclient/v3/attachments.py", line 75, in ; P3 ]3 |* f; S0 ^
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     resp = self._update('/attachments/%s' % id, body)
3 d0 O9 H7 `% N: c8 H( J2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/cinderclient/base.py", line 318, in _update4 k& X& r7 M4 n2 P0 B
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     resp, body = self.api.client.put(url, body=body, **kwargs)
" j! r! L+ X% ~; l. b2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/cinderclient/client.py", line 226, in put
/ B% H8 x$ y9 ]$ X7 m  S2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self._cs_request(url, 'PUT', **kwargs)
% T/ J' z1 g# q+ a2 w! w2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/cinderclient/client.py", line 211, in _cs_req  g8 O: z; v7 s4 D
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self.request(url, method, **kwargs)
1 ~( x& G, L+ }5 j. R2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]   File "/usr/lib/python3.9/site-packages/cinderclient/client.py", line 197, in request, a( [& w% m- \" q5 i7 x5 D# \
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise exceptions.from_response(resp, body)
/ e' ~& m' r- n' U, p; U2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] cinderclient.exceptions.ClientException: Unable to update attachment.(Invalid input reuired information: initiator). (HTTP 500) (Request-ID: req-c7225141-725f-4d3a-ad47-3013f4182388)
5 h% ]9 z, Z/ j$ Y4 x# M2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]
! p$ `4 p8 A7 F; @, B1 w4 h# G( M2025-03-07 21:09:46.227 1805 ERROR nova.compute.manager [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] [a5361aec901d] Build of instance 6192405a-f503-4292-8634-a5361aec901d aborted: Unable to update attachment.(Invalid input received: Connector doesn't have required information: initiator). (HT725f-4d3a-ad47-3013f4182388): nova.exception.BuildAbortException: Build of instance 6192405a-f503-4292-8634-a5361aec901d aborted: Unable to update attachment.(Invalid input received: Connecton: initiator). (HTTP 500) (Request-ID: req-c7225141-725f-4d3a-ad47-3013f4182388)! W! l3 @( h( b
2025-03-07 21:09:46.230 1805 INFO oslo.privsep.daemon [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Runa-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/nova/nova.conf', '--config-file', '/etc/nova/nova-compute.conf', '--privsep_context', 'vif_plug_ovs.privsep.vitmp/tmp0ldl_awi/privsep.sock']6 i' b4 ^* p' M9 e1 M
2025-03-07 21:09:47.165 1805 INFO oslo.privsep.daemon [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Spaap( }9 c/ ~% m: |- {2 Q( ^
2025-03-07 21:09:47.032 1953 INFO oslo.privsep.daemon [-] privsep daemon starting& W8 E) K/ Y% N9 |# b4 i
2025-03-07 21:09:47.038 1953 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
" `7 i9 m7 u$ e/ H9 C2025-03-07 21:09:47.040 1953 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_DAC_OVERRIDE|CAP_NET_ADMIN/CAP_DAC_OVERRIDE|CAP_NET_ADMIN/none
) Z) i' V% S- {2025-03-07 21:09:47.041 1953 INFO oslo.privsep.daemon [-] privsep daemon running as pid 19538 i* ^7 s* ]! V6 ~* u
2025-03-07 21:09:47.610 1805 INFO os_vif [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Successfully unpaddress=fa:16:3e:e5:0a:28,bridge_name='qbrd0475db0-4b',has_traffic_filtering=True,id=d0475db0-4b9a-4930-af14-21f10de35a8f,network=Network(85ebb9fc-ee9f-4958-9541-914818b23864),plugin='ovs',poch,preserve_on_delete=False,vif_name='tapd0475db0-4b'): l: J; O% y( `
2025-03-07 21:09:48.033 1805 INFO nova.compute.manager [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] [i5361aec901d] Took 0.42 seconds to deallocate network for instance.
" M# V8 ^, q+ e0 M* z( Z2025-03-07 21:09:48.123 1805 INFO nova.compute.manager [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] [i5361aec901d] Detaching volume 86ac272f-4a6e-435f-9cfa-dba1490ef9ca4 w1 P% K9 s7 K8 _! Q9 m
2025-03-07 21:09:48.166 1805 ERROR nova.virt.block_device [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default]4-a5361aec901d] Unable to call for a driver detach of volume 86ac272f-4a6e-435f-9cfa-dba1490ef9ca due to the instance being registered to the remote host None.: nova.exception.BuildAbortExcep503-4292-8634-a5361aec901d aborted: Unable to update attachment.(Invalid input received: Connector doesn't have required information: initiator). (HTTP 500) (Request-ID: req-c7225141-725f-4d3% k8 r' b- U  _' u* K, `: @
2025-03-07 21:09:48.389 1805 INFO nova.scheduler.client.report [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default defance 6192405a-f503-4292-8634-a5361aec901d
9 L8 F$ ]$ N6 X+ {- {
 楼主| 发表于 2025-3-7 21:42:02 | 显示全部楼层
上面的日志其实都没有啥帮助:0 {- c2 _( h& F2 |- ~
主要是这个日志最主要:
' i  K1 a& c2 [6 P
, Z3 x) f" e' V1 V+ m/ u2 \iSCSI Initiator File /etc/iscsi/initiatorname.iscsi: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.  ; Y1 U+ w2 s: J1 l9 O
- X* i8 c% a; p
这个呢,我便去节点上看看,想这个怎么回事呢?难道要启动iscsid服务?
$ v; l' e8 v$ }$ @带着这个问题,我就去检查:initiatorname.iscsi
# u2 ^$ y/ O# [9 Y
$ N  I$ F1 f9 z[root@compute3 ~]# vim /etc/iscsi/iscsid.conf ) |1 i2 l2 R# \) e4 P0 @7 p
anaconda-ks.cfg  .bash_history    .bash_logout     .bash_profile    .bashrc          .cache/          .cshrc           .lesshst         .ssh/            .tcshrc          .viminfo   
  Y. `' N6 s% [. f  L) i- V; A6 R* Y9 b( y& S- \$ B
只有iscsid.conf 文件,那就是没有生成这个文件:
  e. l% ~1 g+ o$ q5 {9 v# {8 U( R/ g那我只能尝试创建这个文件:   会不会是iscsid这个服务给创建的呢?# }- v  K5 S; \) w' x( {5 B
于是检查状态:
6 Q. H1 u3 J; {, N. r[root@compute3 ~]# systemctl status iscsid.service
% @# f7 \7 `8 P0 z$ H, H○ iscsid.service - Open-iSCSI
& R/ c# R/ l1 c. f/ S2 B# r6 U0 U3 }     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)6 O5 W# ?6 T7 O2 _7 L9 l' z
     Active: inactive (dead)$ |0 u) w$ \! ?) x3 l& v( O+ ]# q
TriggeredBy: ● iscsid.socket
/ o& ]" Y, X' }       Docs: man:iscsid(8)2 `4 |- r) t$ R" i
             man:iscsiuio(8): K2 K  H6 f) y/ {' R  ]' v
             man:iscsiadm(8)
7 ]( V$ c( ]9 y1 H4 k, u" N- q; D3 J& N2 |- j: e% z" L

8 e9 I3 ~. ^/ O0 z$ N! ^service not on  ,next step ,we start  iscsid  service :
3 b8 _2 _1 Y5 E4 S2 g% Tfor example:
2 m! d: _* y9 o" ?[root@compute3 ~]# systemctl start iscsid.service5 D2 I) @1 K2 m: R$ r7 ^8 T) U3 \+ s" E
! Z9 S: n: v' S5 T
check The iscsid service. l' _# }3 s1 m0 n. Y; A
  
; X- y3 U$ K  L' W[root@compute3 ~]# systemctl status iscsid.service
* E9 z: q5 |( t/ [& d& @2 D- y● iscsid.service - Open-iSCSI/ y# V" w0 ^1 B* q+ B: D
     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled): c+ K, R# ^' @3 F: k, I
     Active: active (running) since Fri 2025-03-07 21:25:07 CST; 1s ago
- `: Y" _( |+ a8 S9 H5 h8 T4 b" iTriggeredBy: ● iscsid.socket
0 m* `8 o. T; }: y       Docs: man:iscsid(8)) z+ o, p& `* H1 E8 f
             man:iscsiuio(8)
4 @2 N  [- Z, g3 t. j; @             man:iscsiadm(8)
8 \1 a# O' ~1 S$ q   Main PID: 2375 (iscsid). Z. l* E1 B& W! H
     Status: "Ready to process requests"- ~9 H5 S6 {6 Y! z% Y- K
      Tasks: 1 (limit: 100207)6 Y8 y9 ]: v- k2 Y# B
     Memory: 3.0M
$ q- T9 p$ d& l9 `7 U        CPU: 8ms/ P1 a* _9 s; ~1 |
     CGroup: /system.slice/iscsid.service( F2 f8 _7 u! w& u) J. @+ f$ F
             └─2375 /usr/sbin/iscsid -f
$ S* h, {) r( g! ^9 ?, y' J( `, `! n! ~' e* G% U
Mar 07 21:25:07 compute3 systemd[1]: Starting Open-iSCSI...: m$ m. `' \! Z4 U, ^
Mar 07 21:25:07 compute3 systemd[1]: Started Open-iSCSI.
6 |* I; ~% ?( d5 f. H6 }: r; n) _% p2 `7 F9 c
& f/ X8 `; A; l& b
再次检查 initiatorname.iscsi 文件,果然存在了:, N9 y+ x5 |: N7 ?

( s" E: |1 O' {3 honce again check the initiatorname.iscsi file ( h! x8 a+ N: t1 }% M$ i0 h

& V  ?6 ^) c9 F/ d$ F3 k[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi1 U2 |. z& F( T
/etc/iscsi/initiatorname.iscsi" V% K- u% N2 P+ J4 Y" J
[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi- n, L2 f- W6 {4 Y' |
/etc/iscsi/initiatorname.iscsi! X% K6 r8 w: R" i1 X

! [  d2 c3 v) w: s( d$ L/ u' o# ?$ e
5 X" {8 a" l4 ?( |; \3 c
9 n6 d! B( v& ~; s再次创建虚机,不再报错了。
; @, m3 ^( R1 C( T& P* ~9 j: E * ?" T; ^* _& H( {& o' c
$ g! f% p9 f) E4 s! ^4 f
& v1 o% o' W% J) }& p
2025-03-07 21:28:49.007 1948 INFO oslo.privsep.daemon [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/nova/nova.conf', '--config-file', '/etc/nova/nova-compute.conf', '--privsep_context', 'os_brick.privileged.default', '--privsep_sock_path', '/tmp/tmppehi390x/privsep.sock']: B6 B/ f3 ?8 }/ R1 D* w  w
2025-03-07 21:28:49.960 1948 INFO oslo.privsep.daemon [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Spawned new privsep daemon via rootwrap3 m, J( n7 ~: ~8 ]4 T. Q8 N
2025-03-07 21:28:49.818 2244 INFO oslo.privsep.daemon [-] privsep daemon starting
( l& z- Y1 T! [0 Y' \5 T+ C% w2025-03-07 21:28:49.823 2244 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
: V5 z0 K9 B8 u* _+ @. \3 z2025-03-07 21:28:49.826 2244 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_SYS_ADMIN/CAP_SYS_ADMIN/none& C7 Y; F( D/ H$ ~4 O
2025-03-07 21:28:49.826 2244 INFO oslo.privsep.daemon [-] privsep daemon running as pid 22446 B0 T6 x- Z& ]! T$ u% z
2025-03-07 21:28:54.146 1948 INFO nova.virt.libvirt.driver [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] [instance: f6f00bf2-4e84-4f9d-958b-694b86988a13] Creating image(s)' L5 }, Z: e0 x. z) F
2025-03-07 21:28:54.157 1948 WARNING nova.virt.libvirt.driver [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] This host appears to have multiple sockets per NUMA node. The `socket` PCI NUMA affinity will not be supported.$ R$ u" q7 @9 [* k9 k
2025-03-07 21:28:54.190 1948 WARNING os_brick.initiator.connectors.base [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Service needs to call os_brick.setup() before connecting volumes, if it doesn't it will break on the next release
/ U' N& m1 y, R2025-03-07 21:28:54.192 1948 WARNING os_brick.initiator.connectors.base [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Service needs to call os_brick.setup() before connecting volumes, if it doesn't it will break on the next release
8 e% f+ G/ R& p& {0 ]. C5 n2025-03-07 21:28:54.192 1948 INFO os_brick.initiator.connectors.iscsi [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Trying to connect to iSCSI portal 192.168.8.201:3260- q6 t) h3 h( U* c
2025-03-07 21:28:54.261 1948 WARNING os_brick.initiator.connectors.iscsi [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] iscsiadm stderr output when getting sessions: iscsiadm: No active sessions.
) P3 J' U8 m8 Z: D# w: d0 S; F
: D, K9 h5 I1 l) d0 Z+ }! e2025-03-07 21:28:55.470 1948 INFO oslo.privsep.daemon [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Running privsep helper: ['sudo', 'nova-rootwrap', '/etc/nova/rootwrap.conf', 'privsep-helper', '--config-file', '/etc/nova/nova.conf', '--config-file', '/etc/nova/nova-compute.conf', '--privsep_context', 'vif_plug_ovs.privsep.vif_plug', '--privsep_sock_path', '/tmp/tmp94ppz30p/privsep.sock']
3 k" \3 L; x! B- @9 V3 S2025-03-07 21:28:56.489 1948 INFO oslo.privsep.daemon [None req-5114c9c8-5f2c-4644-98bd-bf344dc8a7e9 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Spawned new privsep daemon via rootwrap3 D% n. @. j/ n3 \% N& x( s3 W
2025-03-07 21:28:56.306 2297 INFO oslo.privsep.daemon [-] privsep daemon starting
5 Q0 L6 |$ w" n" q2025-03-07 21:28:56.312 2297 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
: e, g7 e5 [& z. [9 J2025-03-07 21:28:56.314 2297 INFO oslo.privsep.daemon [-] privsep process running with capabilities (eff/prm/inh): CAP_DAC_OVERRIDE|CAP_NET_ADMIN/CAP_DAC_OVERRIDE|CAP_NET_ADMIN/none
, y$ h) T7 e0 T$ b5 J' P, f1 {2025-03-07 21:28:56.315 2297 INFO oslo.privsep.daemon [-] privsep daemon running as pid 22979 z2 i2 f" I; X9 o* \- ~. \

! O/ @3 h. ]2 C8 A! Q" U# x
# t1 ?1 {) [; s1 J0 v0 d创建虚机这一步问题解决了。1 v' [. o9 k7 Y/ g. h
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 13:43 , Processed in 0.042371 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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