找回密码
 注册
查看: 106|回复: 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.. F" T% R$ G& U  b: u
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
8 L/ @  C  y$ P( E2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
- J4 U* l4 N; b; a" s2025-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
* S2 e* q5 `3 ^+ Y5 G2 C2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     self.driver.validate_connector(connector)
- a* f" P) L8 e) c- S& w4 q; o2025-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_connector9 V( P0 H: `* u2 g5 L
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self.target_driver.validate_connector(connector)
  G% n/ s8 z2 d& @) O; O' {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_connector0 _8 V7 {5 P4 ]4 X4 D
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidConnectorException(missing='initiator')/ T" m+ d3 r0 H! I- b7 {
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidConnectorException: Connector doesn't have required information: initiator
# M7 Z  `+ ~' F" L: a, M0 Y4 \2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server
4 g. R- {' A, s2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
) ]) J) z6 D8 r' L7 P2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server
  N% a- C5 T6 ]" Q2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
* t* e5 k( ?' f8 q- e6 F2025-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
' L% D9 e* P9 @- W$ A% h2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)) r4 m* f8 U3 R( _% ]
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
2 |* c# J, `1 {2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)
! q" i! D# d3 L: @# {1 ~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
# h" \: q' t. M5 p" y) E2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)9 w' z. b7 Z2 O, h
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) ~3 J1 v  a% E$ C; i6 H
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,
  p& _$ ~% [* ~9 K( K$ L2025-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- ?8 c- L$ t4 d+ T+ u8 e, A. Y
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidInput(reason=str(err))) c6 T! H1 f1 y% ^# ~& @0 X
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! a- s1 V& g# G0 C! d% Q9 c: `
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server 4 s" V( i1 h+ Y) e- `; `
$ {+ d3 V/ y" x  b! v

/ y# O! g% M# v- d* x* R2 _/ j
* {: |7 j, e9 t排查原因
. |& s" Z1 B3 M  {在cinder中能查询到卷,说明卷没有问题。
; ?- p; b4 ^6 W5 J" P$ @. }) w3 ]0 S: _! O' u4 k5 o

6 R5 N. |/ O) h

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./ X& _2 u# J2 P
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)9 @; r3 E& \; X% @! \- v. u' y
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)0 g, T( q# i0 `* M# S
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] Traceback (most recent call last):  L* T; l5 q% b0 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/compute/manager.py", line 2174, in _prep
( O  f  U: H2 D) L3 f8 e7 S2 ]2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     driver_block_device.attach_block_devices(4 |$ o' G' n% o6 o! d0 q8 Q& G
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 atta0 g8 |% i+ ~/ Y' x8 ?" U6 p
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     _log_and_attach(device)/ K9 a% R  j/ G$ h$ m
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 _log2 [" O' m* n7 w: @
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     bdm.attach(*attach_args, **attach_kwargs)
2 O0 _+ L. `' \8 l2025-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, G( x2 q% @$ S9 ~1 a; P
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     super(DriverVolImageBlockDevice, self).attach(1 i2 S( M$ O# S) ?' 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/nova/virt/block_device.py", line 46, in wrapp6 r6 Y/ x# f2 E" \& c, z
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)) n/ A# O3 l+ \' T9 d# q, ]
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 atta0 k/ U3 A7 v' \* _7 Y5 R2 c& r
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,) j2 O% m- O( Z) `' `% G0 |
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_
- [0 Z' E- ]: T) o( @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,) b% y! }* C. T, K4 F1 h. j: 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/virt/block_device.py", line 633, in _vol! Z  s& P$ `2 u4 S7 `
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 _5 v) T, s5 n8 a: v
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: V* T8 \  Q2 t$ ?6 B$ Y) I
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     res = method(self, ctx, *args, **kwargs)
7 ~9 s2 u- i% Y2025-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
, m+ v+ `3 ]( _$ h3 b  s. `) G2 [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)' w# [2 z& }. h- g$ A; p7 }/ 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* I6 E* ~. s! O0 f' r0 ]
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 '
# u9 s- u+ d- a2025-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_5 ?4 z* e5 X1 r# T. ~9 \
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self.force_reraise()
* q8 Q% T' w) V1 c2025-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
8 \' N" v+ {3 p% d" g2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise self.value. o3 X( i2 e! ]  x6 E
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+ U" M6 W. N% Q
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     attachment_ref = cinderclient(
" o8 |( f4 m. U2025-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
6 O* D% ]+ x- d2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return method.func(obj, *args, **kwargs)
, e2 ?: O! p, i0 O6 n! c2025-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 * A9 v$ a1 L' K0 P) v5 R! p' W' y, ^
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)
0 V+ r( h" n& H) V! w( z: 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/cinderclient/base.py", line 318, in _update
. W# K7 R, N; V1 ^$ k: v2025-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)( P  a7 i; o% 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/cinderclient/client.py", line 226, in put
5 K3 ~# ^/ G6 N' I; `3 o3 U. D6 M  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)8 ^( b2 a; n- ]
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
7 t, K1 v2 n$ s5 \1 T8 C7 }2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self.request(url, method, **kwargs)
- u7 t' _4 O3 ], k; U3 S2 ^- 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/client.py", line 197, in request; _* k; k8 S! l# `; V
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise exceptions.from_response(resp, body)
5 j* ]  y1 Y; H! {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)
! u7 `, f$ w) ~2 c3 l3 K2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]
- K, E1 y0 R# s! ~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)
" \2 O5 l: ^2 Y7 B8 N# [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']& q& Y( m6 w* `: c; D
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 P, v+ z0 j7 ^) D% D2025-03-07 21:09:47.032 1953 INFO oslo.privsep.daemon [-] privsep daemon starting
3 H6 z0 f3 n( x% s2025-03-07 21:09:47.038 1953 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0
+ ^7 l, O9 U- G, u0 a* t2 `# b6 N2025-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
' r4 _1 N0 c; @, W. I2025-03-07 21:09:47.041 1953 INFO oslo.privsep.daemon [-] privsep daemon running as pid 1953
" ^' T$ Y, y* |: ^0 T2 p2025-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'). a/ n; O) X# Z' u/ g
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.
0 K2 P4 X( r6 g1 g2025-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-dba1490ef9ca- w6 ^! {2 h& z4 L; ~& ~4 z
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-4d35 }6 n# x% V- |# s, c, P+ s0 F
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% p9 r. D$ D: J7 R

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2025-3-7 21:42:02 | 显示全部楼层
上面的日志其实都没有啥帮助:$ y& U- T6 a5 |4 n
主要是这个日志最主要:( k3 d* D9 g' e6 B% k' g5 u

0 A0 I9 h2 o. @# W- N0 n9 ~" YiSCSI Initiator File /etc/iscsi/initiatorname.iscsi: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.  
" F  h2 j* B6 H6 c+ D( m- }4 m/ N1 F# A6 R" x' B0 i0 O
这个呢,我便去节点上看看,想这个怎么回事呢?难道要启动iscsid服务?! M4 A& P  F3 Z) c, I, u  a; r
带着这个问题,我就去检查:initiatorname.iscsi
" G3 {6 I! D& l( L3 y# }& m! c/ ^1 Q
[root@compute3 ~]# vim /etc/iscsi/iscsid.conf
0 [1 w9 D5 s; s3 lanaconda-ks.cfg  .bash_history    .bash_logout     .bash_profile    .bashrc          .cache/          .cshrc           .lesshst         .ssh/            .tcshrc          .viminfo    ! s6 O* M- V4 G3 }8 P7 x

8 `4 O6 n- D1 k1 |只有iscsid.conf 文件,那就是没有生成这个文件:/ G: g5 b5 U) a9 c
那我只能尝试创建这个文件:   会不会是iscsid这个服务给创建的呢?
6 S: c, A. t- P9 S0 O# f, ~于是检查状态:0 a0 L# z! p& O" t6 ?! j; U. N' [
[root@compute3 ~]# systemctl status iscsid.service 6 k  V% F! c" g9 F5 L# T# b/ s1 a
○ iscsid.service - Open-iSCSI
% R2 J! l* R' w( t     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)
1 c+ g) e# r( Q/ w     Active: inactive (dead)
8 ]9 j* W6 F- M" b  N; rTriggeredBy: ● iscsid.socket/ ^  b5 X0 b0 J1 \( c
       Docs: man:iscsid(8)* r7 e( G, |" B2 i7 X
             man:iscsiuio(8)
" I; B3 ?. B: @+ V% N* y             man:iscsiadm(8)
9 R0 {8 R' v' u9 X7 S1 q- I, b/ z
: q$ R. D/ [( r% P
% z* j6 U0 v9 Kservice not on  ,next step ,we start  iscsid  service :
7 Y: `. \. [' a2 }; b0 m8 Lfor example:
4 }% |' n0 I6 K0 O! t/ F[root@compute3 ~]# systemctl start iscsid.service
+ D( _- i& a$ }5 A. ~* q2 b3 I$ f( n$ x+ L2 w" ?1 p/ S7 w, l# f. f
check The iscsid service& g* D& n9 J2 e; |0 R9 C& [
  
5 ?! ^7 U  q  o[root@compute3 ~]# systemctl status iscsid.service
5 l! j- k' u9 }" h, m' o7 L● iscsid.service - Open-iSCSI
. I. a4 i' e) X6 c4 H1 o1 A4 R# H     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)" y9 _# F3 b; {: J4 K) x
     Active: active (running) since Fri 2025-03-07 21:25:07 CST; 1s ago
, k" w6 q: E+ m; s: K9 |( `, aTriggeredBy: ● iscsid.socket7 g/ A+ y& i, ^- p+ E
       Docs: man:iscsid(8)  z; ?8 ?  r: L$ A  u# B6 i
             man:iscsiuio(8)
/ i8 Q7 ]* ~1 X/ c             man:iscsiadm(8)2 T6 x5 h% b# s
   Main PID: 2375 (iscsid)
' L, i* n- J9 ~9 j' X     Status: "Ready to process requests"0 u( s- x* p' R% w2 g# U
      Tasks: 1 (limit: 100207)
2 ^" J6 H: u- h6 s     Memory: 3.0M
$ ]0 Z$ I; B2 |8 W. V2 r2 c        CPU: 8ms& l6 s9 u/ I6 b4 @
     CGroup: /system.slice/iscsid.service
5 `6 X2 z8 d( a! a4 Y  ?             └─2375 /usr/sbin/iscsid -f" p  c& p1 [! k- b0 i/ O# Q: t$ Z& m

, U, o$ Z# M( uMar 07 21:25:07 compute3 systemd[1]: Starting Open-iSCSI...
3 D1 D% Q. D  t* F" F& L( IMar 07 21:25:07 compute3 systemd[1]: Started Open-iSCSI.
, z) v* t; s: A/ z- y! H
# z5 n% G2 u& ^2 K% v* n' _+ I5 T
再次检查 initiatorname.iscsi 文件,果然存在了:" B; L* f8 W! w4 o
5 x' V3 \% K5 g0 s' P) |
once again check the initiatorname.iscsi file
: {9 q; V6 k# u. n* Y! k6 w+ N- S+ V1 N' |1 j( N9 Q- T% A
[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi7 r0 M1 V2 m7 N5 v. |1 \
/etc/iscsi/initiatorname.iscsi
: j5 j- ^, v4 \[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi
# B: d6 k5 a0 C, E+ U/etc/iscsi/initiatorname.iscsi
/ G# o% c, Z) i  R( g
: m4 y9 X$ X# b5 ~, H3 D0 b: R; I2 m: x; D: }( j  _
! t4 u- ~, i/ N. o/ ^$ w/ H& s
再次创建虚机,不再报错了。
5 a5 p) Q. c% o6 E . J6 D/ E5 Q& y4 R: F6 k& }

+ ^) H/ m0 h* _
/ _* A) y% R- }6 U' Q2 K2025-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']$ {% C* n* D% E7 s4 |
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
$ f2 [1 L( O5 K2025-03-07 21:28:49.818 2244 INFO oslo.privsep.daemon [-] privsep daemon starting8 b) p9 h( w" H8 D- a( z
2025-03-07 21:28:49.823 2244 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/07 ^& M% e8 {9 {8 M6 ?
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/none4 e" ^; |% Q1 P& x; P- x4 d
2025-03-07 21:28:49.826 2244 INFO oslo.privsep.daemon [-] privsep daemon running as pid 22441 l" b0 {- B3 _+ D% L  l- K
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)0 O/ T7 O. t/ N5 L8 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.
& |. C$ t4 I" J1 I4 J; b  g2025-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 release8 f6 q7 b2 o% E% U- [2 l
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! S$ o% O: t4 b  g) T
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! B9 U, c# Z, U2 w
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.! f7 S2 V0 A# w  r$ O( b

1 ~$ w: B6 ~8 E- \+ B+ q6 f2025-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']9 y! P& @+ t, m! l8 Q( e
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 rootwrap1 y' T7 z4 J& W) t$ g' j
2025-03-07 21:28:56.306 2297 INFO oslo.privsep.daemon [-] privsep daemon starting/ B/ }( ?0 k' R3 C) @' \
2025-03-07 21:28:56.312 2297 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/08 \; ^$ [6 R! ?. a6 q
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* c  R2 p0 ^8 A
2025-03-07 21:28:56.315 2297 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2297
: G9 K: y5 j0 J1 c
+ D7 Z3 L: i2 x, ]
; \3 O/ [% @: Q$ s1 \$ B. n创建虚机这一步问题解决了。
! `6 y; a- S/ R7 y6 t' O- u
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:09 , Processed in 0.019915 second(s), 22 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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