找回密码
 注册
查看: 105|回复: 4

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2025-3-7 17:17:25 | 显示全部楼层 |阅读模式
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.5 z8 n1 C0 q" B( D
2025-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: initiator3 N2 \9 w# R3 G4 g: F
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
+ ?9 I! C; P. _# I! p" i( I2025-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_create8 n& n% Z, w! F! H, ^* _3 ?0 z
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     self.driver.validate_connector(connector)( @* S( N  L8 P3 z
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_connector
4 u9 ~( `; ?# n) T5 {2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self.target_driver.validate_connector(connector)
, r/ e# d) z6 ]# ~+ g- g6 m; y! ^2025-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
9 l0 c8 }  ]( v1 M% T/ T% b8 J1 O8 Y2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidConnectorException(missing='initiator')5 _  F" f! r" }# l& A
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidConnectorException: Connector doesn't have required information: initiator
1 h8 g% Y% Q! V( [2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server & J  V4 s" H$ k  q' M
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
5 I. m- e9 }0 J& ?  @1 Y! k" I3 a2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server 0 K" c/ ]; I* c0 d0 a. |, V
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
. f& C; `# r, m# U4 W9 g. i" i# J2025-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
$ D  e& Z+ B; n2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)8 X- H6 _4 Z- P  S$ e9 H
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 309, in dispatch
7 R' t0 \( x( y2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)" o1 N. y' L% a4 X
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_dispatch4 P! t6 g/ i1 Z, m
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
3 {) O; Y$ P( v- g5 b2025-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_update
% c: S. f/ Q+ B2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,/ z# [$ D" }" l
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 4805, in _connection_create' o9 i1 r/ p( x1 o
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidInput(reason=str(err))- q+ W# c: B) q0 E& Y4 w- r
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidInput: Invalid input received: Connector doesn't have required information: initiator
+ D: _2 v' b4 r$ x) K8 t5 b2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server + H  |3 q9 S8 H$ ]. V8 b5 T
) {- r9 |3 I. b& O5 }
% k& G, {; I& P) s, S
" [5 U* U3 v4 |- y
排查原因
# @7 v9 P$ M4 h; v+ q1 ^在cinder中能查询到卷,说明卷没有问题。5 C4 q8 o% }/ \/ W7 }: C; ~
8 K" U2 e8 ]2 d9 x9 Q
6 o  E# ~3 _% n1 ^2 ~

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 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)].

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 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)

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 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./ B9 x! g) t9 _% `+ q, w4 N
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)
" a4 t" Z% K' F2 K6 M; a9 e2025-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)
; f0 `1 r- _, {, ?4 M/ A* I2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] Traceback (most recent call last):7 O, X. o1 s& e  T
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/compute/manager.py", line 2174, in _prep
2 ?0 S9 G% b5 V# x! f0 C& X* J6 R2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     driver_block_device.attach_block_devices(
& ^, C; M% ]" u  B( s3 _# _: g# h2025-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 atta
, W: _7 K5 h. ?) b2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     _log_and_attach(device)
- z- k+ f9 E1 X5 f2 ]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: V4 ^. s. k5 y& Q) A
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     bdm.attach(*attach_args, **attach_kwargs)- i# ~8 P/ `1 U$ L6 \. S8 x
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$ q8 S( c% @; q: V# c% t! v
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     super(DriverVolImageBlockDevice, self).attach(5 y) \7 ]  r7 M2 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/virt/block_device.py", line 46, in wrapp
* [. f. u: I$ D& s4 A, o2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     ret_val = method(obj, context, *args, **kwargs)- c7 b7 i* s: |8 s! N% ?" B% r
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 734, in atta7 l$ J, I3 B- n+ c0 O
2025-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,
, c: \% ^# M; _4 N# T/ D4 P8 G2025-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_. _+ R6 m8 ^# |2 h
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 f+ G. ?8 e2 S; O0 h2 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 633, in _vol
6 u/ F6 g, y8 X  Y8 m8 F2 n( c2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     connection_info = volume_api.attachment_update(
" X0 H6 d$ B& j2 E/ V8 R6 z4 R( 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/volume/cinder.py", line 397, in wrapper
/ @! O( z9 ~0 c; r2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     res = method(self, ctx, *args, **kwargs)+ g  F3 q" W7 D1 U% V4 J( M; 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 451, in wrapper" G8 y7 F" H" @8 O7 W% V
2025-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)0 ~: C# B; z" j: @  P
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
7 o1 V+ u- o; R2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     LOG.error('Update attachment failed for attachment '% U6 G  X( J) a' i( j
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_& W8 o5 c9 Y: u: Y! V6 I4 _$ s
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self.force_reraise()
, t* d+ j% E/ ?" y/ C1 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/oslo_utils/excutils.py", line 200, in force_r0 r* J. B% U5 m- L# x
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise self.value6 {+ a1 v8 e8 a1 `" |
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
" b& @0 z& l" L8 W2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     attachment_ref = cinderclient(" N7 {, o- s- S
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/api_versions.py", line 421, in s7 N) R' U4 Y3 A) j
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return method.func(obj, *args, **kwargs)
& A( \% Z0 ~" P, j+ b, 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/v3/attachments.py", line 75, in / {& I  q9 y6 O3 p- x
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)
$ e2 s# o( s* {, 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/base.py", line 318, in _update
# a4 ]& g# `9 O& J1 l% p# Z+ f2025-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)1 r0 U& s! I! f
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/client.py", line 226, in put
$ V) t9 j7 J& x% p' O4 u7 L* e+ e) \2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self._cs_request(url, 'PUT', **kwargs): s( V8 a$ f$ g* B1 ?
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/client.py", line 211, in _cs_req
5 _% C+ s) I- s2 [3 o: w0 s2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self.request(url, method, **kwargs)8 z) I# Y, |& t; Q/ 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/cinderclient/client.py", line 197, in request
# u, ^, \2 H4 a! u1 e- E# w6 d2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise exceptions.from_response(resp, body)* K2 ~/ M9 H! h4 e0 i* N
2025-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)
# {# L8 _. ]- b9 z, @$ ]) }2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] 4 U$ A' ^$ ?$ w" s7 e* V) U$ ^
2025-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)
* W3 k. T$ l1 U0 U" Y2025-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']  V6 H' J( @1 G) [. I
2025-03-07 21:09:47.165 1805 INFO oslo.privsep.daemon [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Spaap+ c7 y$ O' q, _7 ?
2025-03-07 21:09:47.032 1953 INFO oslo.privsep.daemon [-] privsep daemon starting$ X8 v: P8 \  F& N8 P1 c; c9 U
2025-03-07 21:09:47.038 1953 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
& j7 O& m! x" K+ _" }2025-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
5 l4 V) m! f! o2025-03-07 21:09:47.041 1953 INFO oslo.privsep.daemon [-] privsep daemon running as pid 1953
- Y8 N. S' T4 I2025-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')
2 L7 u3 O1 t' d$ h' x! e* g2025-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.5 a! W( {+ s3 _1 O
2025-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-dba1490ef9ca7 y5 r. N# M+ Y7 z, N* S
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  v. Z  N9 m- g
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/ K# p6 n" J. N8 j7 t1 D, ^4 l, d

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-7 21:42:02 | 显示全部楼层
上面的日志其实都没有啥帮助:
% i; d* ~; s) w8 K% v0 ^主要是这个日志最主要:
$ y' B. `7 }7 W ! d2 @0 G  e1 H" D" ~5 n" |
iSCSI Initiator File /etc/iscsi/initiatorname.iscsi: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.  
" w: s0 n  B3 |0 _0 b6 l  s1 g# L9 C3 Y  z- W8 V4 P# N& M, u- F
这个呢,我便去节点上看看,想这个怎么回事呢?难道要启动iscsid服务?
9 x/ z- R  ]# ~带着这个问题,我就去检查:initiatorname.iscsi5 d% j% p* _" P9 W+ g3 Y" W

+ z. T' U0 u4 h  i* ?* I6 R[root@compute3 ~]# vim /etc/iscsi/iscsid.conf
( r* U& q" g2 B, y0 T! Danaconda-ks.cfg  .bash_history    .bash_logout     .bash_profile    .bashrc          .cache/          .cshrc           .lesshst         .ssh/            .tcshrc          .viminfo   
: T4 x# L" a/ V+ m$ `& F& m; }  f5 W% w) u2 d4 b1 A
只有iscsid.conf 文件,那就是没有生成这个文件:
$ k% |% l- F" ^3 ^' h6 m那我只能尝试创建这个文件:   会不会是iscsid这个服务给创建的呢?
* c  F5 o; m9 P6 k2 p: f于是检查状态:8 ]# O' m& {! _
[root@compute3 ~]# systemctl status iscsid.service
9 M2 x# M1 h5 b& K7 U; s* H○ iscsid.service - Open-iSCSI, `, \2 }( U5 |
     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)! a4 N( N# R  F5 C: H& H
     Active: inactive (dead)1 n) {8 H: P2 N" Q9 O
TriggeredBy: ● iscsid.socket$ V0 M6 r3 u; b5 s  T+ G8 i
       Docs: man:iscsid(8)  }2 c& P9 h: L7 a, d, v) y( Q
             man:iscsiuio(8)
$ Q8 j  z* J) i7 D             man:iscsiadm(8). y4 m$ q8 ]' a4 }

" K6 j, G/ T) r/ i4 m4 M( v4 _5 I
; o7 H1 `0 k6 M( pservice not on  ,next step ,we start  iscsid  service :
! m! z6 }/ S4 f- m! b  ^0 ^for example: 3 E; \; }, E: r
[root@compute3 ~]# systemctl start iscsid.service/ Z4 L, I9 s( A3 V4 m5 w
& T: j% O6 a/ J; E
check The iscsid service
0 H# s2 S: j4 g' A% W4 l  
  l1 p1 c" h5 l, k) \[root@compute3 ~]# systemctl status iscsid.service & S$ n7 J' [6 r# V. Y
● iscsid.service - Open-iSCSI
) n5 N! ^7 V4 M4 u     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)% \8 E% H1 I% ]* b4 l
     Active: active (running) since Fri 2025-03-07 21:25:07 CST; 1s ago
. Y* Y/ F) _, c3 |1 Z: w$ v9 ETriggeredBy: ● iscsid.socket
; m( c: z* O' t# \( X2 D       Docs: man:iscsid(8)
- F( ]- b6 a/ H) e0 r' [4 b# Z             man:iscsiuio(8)" k, \# c; c4 {1 s) s# `% P
             man:iscsiadm(8)
% b; j* {! v0 T! M   Main PID: 2375 (iscsid)
  U9 {" f; D; B8 u  R. V  m$ {' W     Status: "Ready to process requests"$ O4 f& p9 l8 Y& L
      Tasks: 1 (limit: 100207)+ K+ C' g- Y; W$ G$ U* y+ k
     Memory: 3.0M  y) C$ l7 g- j$ F3 S# _
        CPU: 8ms
- |) |1 Q5 }9 W7 W5 |/ G2 w; B! c& K     CGroup: /system.slice/iscsid.service$ c% D+ G' b* I
             └─2375 /usr/sbin/iscsid -f$ ]5 Q5 B# d5 x: g! r( t& F# B+ l0 c

! S* _* q% c* l, Z# _Mar 07 21:25:07 compute3 systemd[1]: Starting Open-iSCSI...
0 i3 ^+ j- m0 x/ j6 |Mar 07 21:25:07 compute3 systemd[1]: Started Open-iSCSI.3 y5 t; G: x4 K; Z
# j( j1 w" F! v* n2 D$ N

: {5 Y  R& r; N- ?9 m再次检查 initiatorname.iscsi 文件,果然存在了:
  L/ v& g6 g& `4 o& \% {" ]: q1 S3 y& x) x( l. n3 y- ~$ [. b
once again check the initiatorname.iscsi file
6 P4 r6 P& q2 @
1 L& U; K( R% y0 A; p6 \[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi
- p$ O6 [9 \6 Z) s/etc/iscsi/initiatorname.iscsi
$ q6 E" j! L/ X, @* @[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi5 ^' B, i7 ^0 x! Z, K0 ]! _
/etc/iscsi/initiatorname.iscsi
7 D% f" r) _4 i! e1 x
' ]; \* J+ |& o6 Z8 B# k9 z9 y
3 c! T; O# `* W5 y" X9 m; N
7 ?4 u; f+ |* j再次创建虚机,不再报错了。1 ~0 m1 X) A* j, k6 Y9 c

2 T# j. U3 Y/ }# _5 [
9 z$ R# n! w* n! L( k) C& R% m8 E
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']' N  t5 X9 t0 _+ [( v
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 rootwrap
5 N# C/ g+ t- W2 f: X) w4 o2025-03-07 21:28:49.818 2244 INFO oslo.privsep.daemon [-] privsep daemon starting0 W5 b  U* `* a* V! U
2025-03-07 21:28:49.823 2244 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
9 I* a4 ?- m( }2025-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: h0 F* `6 F1 z# a: \
2025-03-07 21:28:49.826 2244 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2244
3 B6 v% L9 }5 P1 `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)' O7 i: V% \# y/ ?! S6 K: Q1 v
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., q* Q* G$ N: F+ I
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
$ `( p2 N" j6 v$ c2 C) F# b! ]2025-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/ q0 T5 Y8 ^% d3 Z
2025-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
! O+ r( L6 D9 m* O( I/ M3 K, r; z2025-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.
  b- _; B' e5 W! h0 C$ a7 h8 t
6 _( o; O* o) l% U2025-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']& U3 u  {' j  A* h! i% n$ ^9 P
2025-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 rootwrap2 p' t1 G: g1 {7 ?4 h# `+ X) a
2025-03-07 21:28:56.306 2297 INFO oslo.privsep.daemon [-] privsep daemon starting1 C# A: ]5 P* y# {
2025-03-07 21:28:56.312 2297 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/00 d  u5 z! V- e$ q1 _6 Y; @
2025-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' y6 \+ b  K* n5 i/ ~
2025-03-07 21:28:56.315 2297 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2297
8 q- g) u6 v6 i) y% c7 [3 }& c. G* Z, I3 K+ m
. w- z- q* M. F3 R
创建虚机这一步问题解决了。
* ^3 e: W9 s7 G' \! E1 R
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 01:05 , Processed in 0.020021 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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