找回密码
 注册
查看: 103|回复: 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.  d6 ~; @, t0 r$ s( j+ L
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: initiator
' ?9 B% u9 R' ~; {( B8 I' M2 J9 r2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
; k, E- |1 D8 e; |7 }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; i/ I4 Q8 ~+ V
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     self.driver.validate_connector(connector)
2 M# J/ I; c2 d! Q, t2025-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
0 Y: K$ g5 y; E9 g, `/ w. ?2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self.target_driver.validate_connector(connector)8 u0 C, z% t) X5 ^; @, e# V
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_connector8 N4 `6 t6 d: B6 [8 e% ?
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidConnectorException(missing='initiator')
0 m6 C6 M2 @# o- ?" d2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidConnectorException: Connector doesn't have required information: initiator8 Z6 Q: R* f7 H
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server . c# V4 C, r( b: w* \( z3 G" J
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:( S7 g4 R1 T1 @
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server 7 I4 H; Q9 |! A8 t( d! Y
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
9 {0 j: A7 N6 T/ S3 r) e: u- s2025-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
( i5 t3 m: r9 z4 ]; ^9 F2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)/ A' N& r  [, E6 O
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" C7 n5 F- P+ W$ E% j" A& Z. I
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)$ c) A0 o0 q( p4 f: n- U2 B
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
1 p- ~. |/ u/ x2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)5 f8 m& }/ x9 f: i8 @
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_update# s. t+ w+ b  C9 d1 s
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,
' P( f# [+ D# x8 Y6 R- Y2025-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
# B5 k3 k% k; l- D2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidInput(reason=str(err))4 E% R  ~1 O2 B1 ^5 B; V
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: initiator2 j! ~) G# b' S* Q5 v" [# u
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server
/ A0 {% J+ f1 [0 Y5 e
- C( v! y) ]6 P; j) `4 m. B1 ~
4 o, j$ F- \  x7 x/ D
) ^( z6 T0 F' S4 M! w2 ^6 W排查原因. V8 j3 Q* o; \! |) O
在cinder中能查询到卷,说明卷没有问题。
: s0 Z/ n5 |/ c( R' Z! f2 q9 b' e+ i: V

! o$ P9 L! T8 m

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.
! D: P* d7 X, T) q2025-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)
/ b& s" v. t: C" J% c2025-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)
9 f  V0 H( n( S6 T1 O+ A/ d  m2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] Traceback (most recent call last):7 G3 x( s! ?! |( d
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! g; @! G8 `" ^/ T% Z( Z4 m3 T9 K
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     driver_block_device.attach_block_devices(3 B8 I3 B9 [9 t1 ^; I" a) z
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 atta
* E8 _0 F2 g& O2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     _log_and_attach(device)
4 r) h1 X' Q: V+ [6 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/virt/block_device.py", line 933, in _log
" ?  @6 R0 n+ n6 ]2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     bdm.attach(*attach_args, **attach_kwargs)
' N- _  T# e7 ^3 W7 q2025-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+ M) S4 P  \4 N/ v! O  R+ N
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     super(DriverVolImageBlockDevice, self).attach(6 s) T8 ^* h, 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 46, in wrapp) B; X! B1 N% V$ k4 Q
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     ret_val = method(obj, context, *args, **kwargs)
& v1 T% C! j' e7 B% k% Q" 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 734, in atta4 ~: C9 @$ f- F) Y* K3 w* }
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,: Y2 ]' u5 H( @8 O6 P2 C1 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/nova/virt/block_device.py", line 719, in _do_
+ x* G8 p% i: m1 b, D2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self._volume_attach(context, volume, connector, instance,5 e8 X2 i' r8 R" I* s8 |
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- @+ x; t; }1 Y/ i) w( f! B; 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 [; O& E4 g* H6 w1 ]
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 wrapper3 A/ b. z7 \7 Z; {) v* E
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     res = method(self, ctx, *args, **kwargs)
' b/ E9 ?' d8 D2025-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
, L2 G) C+ y' H+ d2 b% Q* I" H2025-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)( U  Q0 |* I2 x" v5 I
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( B- U% c- p4 O% W
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 ': {; ], G& D3 t: X7 Q2 k; 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/oslo_utils/excutils.py", line 227, in __exit_; ?8 G! b; M6 y4 [! R  p
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self.force_reraise()8 _& [  ]* 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/oslo_utils/excutils.py", line 200, in force_r
& o+ C4 j! j4 l. n5 O2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise self.value
- M' Z3 w9 w' v! X# q* 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/nova/volume/cinder.py", line 908, in attachme9 p" P' S2 ~) p. J
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     attachment_ref = cinderclient(
* o. x2 q6 s' 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/cinderclient/api_versions.py", line 421, in s
: k; p. ^% K! E4 `) a6 s2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return method.func(obj, *args, **kwargs)/ T5 S- x( j) j! P) g! Y) 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
( D/ [0 i; S9 h! J2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     resp = self._update('/attachments/%s' % id, body)
5 q+ B' f1 W" m- [  }+ S% Z2025-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" }% L( n; W. a& f. K: |/ E0 f
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)" `& e& N, b9 D1 R' u
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
4 z5 h7 T: ~1 [1 G: z2025-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/ N6 y) K6 C, x2025-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
# w. ~+ F2 z5 U( C% x: X$ x2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self.request(url, method, **kwargs)& r$ S/ U! M% h1 b8 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/cinderclient/client.py", line 197, in request1 t0 U  X" d! J& d% t
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise exceptions.from_response(resp, body)+ ]! j' f9 l+ O; t1 D
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)
: s( U* ]* ^' ~7 \2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]
+ g3 C/ l7 T5 J. U' W2 F2025-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)
; P1 q! n- E9 o6 P2025-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']0 I* d+ ]4 h% Q/ g
2025-03-07 21:09:47.165 1805 INFO oslo.privsep.daemon [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Spaap
7 p6 D. ^: ?" f& C* D3 A* r2025-03-07 21:09:47.032 1953 INFO oslo.privsep.daemon [-] privsep daemon starting
% z8 w% A5 ^& R' Z# o  G2025-03-07 21:09:47.038 1953 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/09 a, l& I4 n4 E7 C
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
) A( R' l8 l" I" b2025-03-07 21:09:47.041 1953 INFO oslo.privsep.daemon [-] privsep daemon running as pid 1953
" L+ `3 S5 |2 P* O2025-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')$ |: s% b, P0 Q$ e3 Q8 W, Z
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.
; h7 t3 E  `" U$ O; O  b: \7 c2025-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-dba1490ef9ca3 _( {- U6 d7 m% ^/ r, k
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; Y9 u0 E3 C( T4 H! i( j
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 a* ]' l6 n- c' \" A5 u

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-7 21:42:02 | 显示全部楼层
上面的日志其实都没有啥帮助:! I# `$ z4 @" \( y, Z! t# f. l
主要是这个日志最主要:# U% _) r7 v; K, `- Y# u; u
# u, \' K! Q4 F: c
iSCSI Initiator File /etc/iscsi/initiatorname.iscsi: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.  
$ R9 I8 j. o0 `
9 f) E9 d2 f& d9 c这个呢,我便去节点上看看,想这个怎么回事呢?难道要启动iscsid服务?3 s* p5 S2 T4 x
带着这个问题,我就去检查:initiatorname.iscsi+ n# Y7 d# K: b

4 t5 a8 t% j1 R[root@compute3 ~]# vim /etc/iscsi/iscsid.conf + U  s& _9 e+ E! X- v, C" \
anaconda-ks.cfg  .bash_history    .bash_logout     .bash_profile    .bashrc          .cache/          .cshrc           .lesshst         .ssh/            .tcshrc          .viminfo    ) @* M1 T$ W. h3 e6 p! b4 y
+ `2 @6 M( D1 H& T" K
只有iscsid.conf 文件,那就是没有生成这个文件:
/ s0 c/ |# t5 W# b那我只能尝试创建这个文件:   会不会是iscsid这个服务给创建的呢?3 e  M/ {/ M# a  D
于是检查状态:$ N2 _" O% m' d" x8 d
[root@compute3 ~]# systemctl status iscsid.service # U, u6 q, n; z5 r- ], g
○ iscsid.service - Open-iSCSI
1 k! w  L3 T  s     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)& ?8 R* n8 r) v$ h. S* q2 v
     Active: inactive (dead)
5 a; R  D' S! RTriggeredBy: ● iscsid.socket
  Y8 [, y3 i+ d% e2 o( d  i* H       Docs: man:iscsid(8)
7 P6 i& b3 ^' L5 W             man:iscsiuio(8)2 z- e/ R! K% u
             man:iscsiadm(8)% P/ n0 _' W& b$ e9 V
  e# b9 I  Y& B7 `+ V

# f0 @3 F# B: H7 u+ Eservice not on  ,next step ,we start  iscsid  service :
6 q  i+ ^0 y4 [( }0 sfor example: 7 l7 e9 B3 g( ?% O6 d  Y3 j
[root@compute3 ~]# systemctl start iscsid.service
0 O3 U3 t! g9 b/ }+ f
6 P- H! Y' m% h; o! n3 xcheck The iscsid service
9 ]. q1 `! V; _1 X* O  9 |0 W: ]! F' W5 P* y1 s: m% f
[root@compute3 ~]# systemctl status iscsid.service
+ n, n3 C0 A1 P/ S● iscsid.service - Open-iSCSI7 b) T* B7 x$ H4 Y3 W
     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)) |  s2 o) x& E3 S4 X
     Active: active (running) since Fri 2025-03-07 21:25:07 CST; 1s ago
4 ?& q% }8 _! a- y' uTriggeredBy: ● iscsid.socket
- \( h. [6 d( _) D       Docs: man:iscsid(8); E: N+ Y0 m- U( v, t1 b) g
             man:iscsiuio(8)0 Q1 f& W/ y" M7 l) T
             man:iscsiadm(8)
( I' `. A4 H0 k. P# p( e4 N   Main PID: 2375 (iscsid)1 j5 F' `5 Z& c/ u1 X' {' W( H9 y9 w0 D
     Status: "Ready to process requests"; Z% w6 C2 |, d; E& A6 g0 ^; i
      Tasks: 1 (limit: 100207)
2 J* K$ H, h9 V% _/ [     Memory: 3.0M. ]0 O9 `8 ]0 {
        CPU: 8ms( V1 j. W* p' \+ G, Q- h
     CGroup: /system.slice/iscsid.service
+ Q& O. E( }! ]' ]$ f* L2 y2 t             └─2375 /usr/sbin/iscsid -f( d9 s) k4 }, U! c: |0 w
  ^: w# P: x7 `; l- i1 Q/ H
Mar 07 21:25:07 compute3 systemd[1]: Starting Open-iSCSI...
- X+ M7 r: B1 d5 oMar 07 21:25:07 compute3 systemd[1]: Started Open-iSCSI.
  H- O+ B$ t2 o0 ]1 Q. f2 ?  V# }& ~1 k2 ^. G( o
. ]6 A! ]7 R; A4 L1 u3 x6 M  N8 K
再次检查 initiatorname.iscsi 文件,果然存在了:
/ E0 l  [% q9 x. A/ L( z0 o' Q# Y$ i
once again check the initiatorname.iscsi file $ I5 C0 a+ O& c$ i0 y$ R4 V: [

' ~. P! M3 b3 a+ Q% ]( h: Q[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi/ {; b. _: x, K7 {2 }/ C8 A- w3 Z% n
/etc/iscsi/initiatorname.iscsi
" w# A! J; c* y2 V/ E[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi
0 B+ U. h  E$ r  Y/etc/iscsi/initiatorname.iscsi
/ z; b  |! c9 h6 i4 e! O
: I5 |9 n% i) l& P7 H+ j& [4 n# h4 l. o: e3 K
" j' `/ E5 W' P5 i; R3 i: ]
再次创建虚机,不再报错了。
1 ?8 [4 g3 ]3 o  `% X9 d% ^; q8 V" C
% w5 V5 c4 [% P" p/ U3 }
# T7 g, Y; C1 B5 g1 b: O' \4 t
9 V+ _; t2 j- N( p8 `5 i- \4 s( w/ l2025-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']
. g. ~6 B) T- ]* s9 S. I2025-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* B. x# j4 @- L8 P9 v
2025-03-07 21:28:49.818 2244 INFO oslo.privsep.daemon [-] privsep daemon starting. A8 T8 C0 O  I. R9 {  k) w8 _
2025-03-07 21:28:49.823 2244 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
/ ?/ K* q# E/ K6 j. d1 r& ]  S2025-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
" d- M$ Y5 X: m2025-03-07 21:28:49.826 2244 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2244
- ]1 a) S# K( Q7 \5 G( ?. A2025-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)& Q6 i& H/ }$ `' M) U( J+ a
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.
  j4 m4 K' m( {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
$ Q2 c: S+ e# z! `/ Y7 Z8 H# v5 \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 release6 D7 f) L- t% d( y% 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, x- B7 ^. G( r
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.9 u( D! v5 d# ?- J

+ g- b3 g7 `  M' S9 m& U* Z6 u) O2025-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']5 q8 h2 f3 m! s" f8 o
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 rootwrap! `3 q7 c8 h: }1 i
2025-03-07 21:28:56.306 2297 INFO oslo.privsep.daemon [-] privsep daemon starting
& V9 q" z8 @9 G* N+ d4 x5 r2025-03-07 21:28:56.312 2297 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
; q* [$ @* X, q/ A7 a6 c% N2025-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
* P5 j4 V; z# F  A! ?2025-03-07 21:28:56.315 2297 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2297
% ~$ g( ^7 Q( S) }3 y
0 i2 u7 x$ x! A3 \- ?
# Y$ J" H& l. o7 i& U# l创建虚机这一步问题解决了。
' k) d: \0 G7 H
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 00:03 , Processed in 0.019166 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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