易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 97|回复: 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.5 `( P+ R! T+ k
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# w  Z5 n  V$ y* ^0 ]; A
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):4 e" W9 b$ P! Y; G; 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 4803, in _connection_create/ _% b* w# u( n
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     self.driver.validate_connector(connector)8 i  l# ~6 f! t' g5 d, d
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
* L9 Q& w- ^4 ]& D& w2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self.target_driver.validate_connector(connector)! r1 Y( v2 |& g  n/ {( U
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
- C% Z; _% R% \! z. @- w8 n2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidConnectorException(missing='initiator')
4 I% Y) R  u7 e3 z! i# v/ d( D2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server cinder.exception.InvalidConnectorException: Connector doesn't have required information: initiator
# U8 B( |- L5 v5 J8 x2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server 3 _( a6 Z9 @0 w
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server During handling of the above exception, another exception occurred:
7 y& O7 F1 _( G+ D5 b" ]2 [2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server 2 y' v- e# ^! z- R8 R) s$ ?  D, L
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server Traceback (most recent call last):) V: U/ k! ^: q9 s! Q3 d
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
- V6 A/ T7 g7 f1 F/ [2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     res = self.dispatcher.dispatch(message)
4 f) o- J$ w( q0 t( g& C5 r: v2025-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: u' q  i6 o( J: W8 r8 ]4 b
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     return self._do_dispatch(endpoint, method, ctxt, args)4 d+ w& J) C5 |# U; q  b/ \) Y3 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 229, in _do_dispatch9 S# A  o0 K0 B# v6 `! k
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     result = func(ctxt, **new_args)
. K% G, \4 m) d7 `) M2025-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
$ d4 l9 v0 Z2 i: w! V2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     connection_info = self._connection_create(context,4 n) o* a& u* g9 ?9 ^
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  v; M& Q2 w: v* p2 i
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server     raise exception.InvalidInput(reason=str(err))
! |, ]% l8 h* m& `% ?7 w2025-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# b1 j! ]; V( J/ z  ^$ L8 {
2025-03-07 17:05:14.757 2428 ERROR oslo_messaging.rpc.server 2 B0 W: S% E* F+ R0 [7 m1 z/ @! G$ S5 X
* q  v: o" J2 t0 G5 E; u. }
$ F) z' J4 e. n. X' ?& Z( V9 o
2 u1 n. E0 H. k( h
排查原因" W) Q/ d4 @& u% Z6 l
在cinder中能查询到卷,说明卷没有问题。# L( G) R' i! l! E) E% D9 [5 G$ R

- r7 v$ E$ k* O) J! }0 `6 x  k% z
 楼主| 发表于 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.
/ Z; Y5 z: z/ C% Z- m9 V& ?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)
& q# v" K. T6 C, g; N2025-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)
% S* U! Z+ q: n; V7 ]. }5 _2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d] Traceback (most recent call last):, c3 k# d' g% R# _! f: T% K5 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/compute/manager.py", line 2174, in _prep. ]3 W% D- e, X* k3 w: T& n& l
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     driver_block_device.attach_block_devices(
9 C& c& h2 J; i9 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 936, in atta
# d8 G! ?+ {3 b* N- J2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     _log_and_attach(device)
7 {! o( I! o# I5 @( b" F2025-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 _log0 ^/ B1 k: H( D' }
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     bdm.attach(*attach_args, **attach_kwargs)6 ?  z* W8 F' S6 c9 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/virt/block_device.py", line 835, in atta$ n. |& E" F6 c! I  ^
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     super(DriverVolImageBlockDevice, self).attach(; O2 z& M* t2 G  I; E. B8 E+ n- 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 46, in wrapp1 c6 s1 ^& E9 z7 Q. C3 g
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)( [% Q! j. p  G( u% g. 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/virt/block_device.py", line 734, in atta
- z2 I! T& N6 f9 E0 p6 `  E; 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,
. b* t  N/ Y1 h5 V9 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 719, in _do_
, j2 Y1 }6 t+ c* Y2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self._volume_attach(context, volume, connector, instance,/ M' W# r! b! ?: h7 G& {, {( 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/nova/virt/block_device.py", line 633, in _vol
& C6 H  D3 J- y3 `4 w) f2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     connection_info = volume_api.attachment_update(- I7 j: m+ B3 y  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 397, in wrapper
5 X# E8 v# R3 _$ c- A3 t, z2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     res = method(self, ctx, *args, **kwargs)  W) r4 |8 L: K3 H) [9 ^& n2 T( 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/volume/cinder.py", line 451, in wrapper
" P4 ]/ v; E+ r) P8 u% ]0 p8 d2025-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)6 l, V6 L- E$ F$ m" {9 ?/ |
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
4 w; O* A" E& B" \! c2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     LOG.error('Update attachment failed for attachment '
5 v. g# r, w0 d% 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 227, in __exit_
% r$ P; ~/ {7 j+ I: [0 f- ?2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     self.force_reraise()& q. f4 R2 n+ n% y$ 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 200, in force_r
' y5 c1 ~0 Q+ Z. D7 d6 z5 Y  v2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     raise self.value. z' H; D0 `3 k+ {+ C% O2 `+ 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/volume/cinder.py", line 908, in attachme( s" ^. i. s( G0 m
2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     attachment_ref = cinderclient(9 ]( B  f3 y5 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/cinderclient/api_versions.py", line 421, in s
# B6 H) |0 u  @2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return method.func(obj, *args, **kwargs)
( v( l; C  ?1 M8 t7 S- T2025-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 6 E: b# {! M3 x( \. C
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)
" R) a) ]$ m- 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/base.py", line 318, in _update
1 U$ i8 k" w* D  y7 M2025-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)
# ~* @9 k, a3 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 226, in put$ S/ ^2 n7 C5 [2 j
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)/ K! {# X- [0 \( 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/client.py", line 211, in _cs_req
  H/ \- O$ _$ ~4 D2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]     return self.request(url, method, **kwargs)6 W$ x8 [" \. T0 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/client.py", line 197, in request
. ~9 F) ^" Z. 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)0 [6 L" c/ S4 U
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)
$ e6 P6 a/ v  e: n/ g# \7 t' a2025-03-07 21:09:46.049 1805 ERROR nova.compute.manager [instance: 6192405a-f503-4292-8634-a5361aec901d]
2 \& P5 f* K' K2025-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)/ l6 D  |+ Z% f- ^( R  J  W
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']
3 O5 f& I) `( v( _3 E9 ?2025-03-07 21:09:47.165 1805 INFO oslo.privsep.daemon [None req-c1753f50-d290-40c8-9719-57a29f2ae244 a2487e85c7ef4adaab0a5f4951bd2878 588cf0c5e78040baaf44997c811aa2b0 - - default default] Spaap
( C' L+ ~8 c9 m2025-03-07 21:09:47.032 1953 INFO oslo.privsep.daemon [-] privsep daemon starting
; j) X! h3 W! p' a( Z9 E! I2025-03-07 21:09:47.038 1953 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0) o, v/ f( }. H; I  r
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# y! M/ q0 L9 N1 U9 f0 F
2025-03-07 21:09:47.041 1953 INFO oslo.privsep.daemon [-] privsep daemon running as pid 1953
7 z  [4 p: P/ w6 ^$ r, }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')2 Y) T0 w* _8 {1 J' s* K
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.
/ k1 b* t. l7 \& d; D2025-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  M4 F: V7 V% A0 j
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! M9 M0 |1 P8 Y5 \9 p) ^
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
8 W+ F- ^" `: |9 q  E
 楼主| 发表于 2025-3-7 21:42:02 | 显示全部楼层
上面的日志其实都没有啥帮助:' U. m* e9 |* R2 ?9 x
主要是这个日志最主要:
* E7 C  X# {% i . g) Q  T; Y7 P2 t& \. V6 l0 d
iSCSI Initiator File /etc/iscsi/initiatorname.iscsi: oslo_concurrency.processutils.ProcessExecutionError: Unexpected error while running command.  % w! y$ Y( `3 s1 q& Y

0 K0 c$ k% M4 |) |4 Y这个呢,我便去节点上看看,想这个怎么回事呢?难道要启动iscsid服务?
( }, n( x, n& R0 P; J$ a1 c带着这个问题,我就去检查:initiatorname.iscsi
  O' y+ n. B, ~; L/ K
, H( I7 {* W* D8 w$ K( ][root@compute3 ~]# vim /etc/iscsi/iscsid.conf $ x+ o  p0 X6 V3 P5 W
anaconda-ks.cfg  .bash_history    .bash_logout     .bash_profile    .bashrc          .cache/          .cshrc           .lesshst         .ssh/            .tcshrc          .viminfo   
/ J! m& L/ L* D/ h% O/ Q8 p( Z/ E
只有iscsid.conf 文件,那就是没有生成这个文件:- ^% T) K+ Q; [. v: w7 r) K
那我只能尝试创建这个文件:   会不会是iscsid这个服务给创建的呢?! c0 B' v# n7 X( m5 U; q
于是检查状态:/ q8 g$ d4 u! s3 c0 [
[root@compute3 ~]# systemctl status iscsid.service : b3 U" z' T- T% t
○ iscsid.service - Open-iSCSI
# n3 J; Z! w! @5 h# q; G; M     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)( \- S2 a  {; e! ]* }' S: b5 M3 s
     Active: inactive (dead)
1 }  X' d$ P4 \4 Z0 M/ t: Q8 B  pTriggeredBy: ● iscsid.socket0 V3 O% z  x) P5 g2 B5 M7 ^; u
       Docs: man:iscsid(8)8 D2 Q6 J( X/ F% c
             man:iscsiuio(8)7 _) A3 N9 D8 e
             man:iscsiadm(8)
0 P8 s. Y' v' {/ L! j/ K3 [
: E& e% l5 I0 I) N, |$ }: z! c* I$ z" y& e  A6 C( a7 a
service not on  ,next step ,we start  iscsid  service :
) f: E3 o* t$ s& D; \+ R/ M; n8 ffor example:
# |0 q6 ^  K  x( a/ s[root@compute3 ~]# systemctl start iscsid.service% Y% w* I; ~6 C$ Y0 @) v

% ~1 G# ?, L2 {: i4 g% [$ w2 Scheck The iscsid service0 [; D5 T' ]1 \+ |
  . d2 F. Z4 s. P4 |% f. X; _0 `% f3 v
[root@compute3 ~]# systemctl status iscsid.service # L# l0 u* V8 L) o" K
● iscsid.service - Open-iSCSI. g8 e  V0 @0 g" F
     Loaded: loaded (/usr/lib/systemd/system/iscsid.service; disabled; preset: disabled)
  x+ _+ Q7 k- S/ K% ~0 i     Active: active (running) since Fri 2025-03-07 21:25:07 CST; 1s ago4 f+ _) a# i3 t0 @' J
TriggeredBy: ● iscsid.socket9 v/ T7 |  a5 x/ G) \9 G; i
       Docs: man:iscsid(8)
# b, `. [3 ~1 e: O: g             man:iscsiuio(8)
" G5 |1 \/ c' Z/ T6 @             man:iscsiadm(8), E8 e! G4 w4 Y( n8 Z
   Main PID: 2375 (iscsid)
! B! I6 q" z, G' P: h2 Y! m     Status: "Ready to process requests"
# L0 i1 `0 F+ ]( m+ r4 P& k      Tasks: 1 (limit: 100207)
- F( u4 i* H/ Y: a, V     Memory: 3.0M
, ?8 ~5 U  |$ C        CPU: 8ms1 _5 |8 _; [6 N& k# P
     CGroup: /system.slice/iscsid.service) f6 |" [2 q2 U
             └─2375 /usr/sbin/iscsid -f0 k1 c9 U5 X. K& x2 t
" w; d* K$ ~: z' T( Q5 x4 h
Mar 07 21:25:07 compute3 systemd[1]: Starting Open-iSCSI..." I( u" y/ K9 ]( C5 D4 q
Mar 07 21:25:07 compute3 systemd[1]: Started Open-iSCSI.
3 S' P# {  ?. ?# L$ M; }3 P2 P4 b. M2 `& X+ p% c5 c

" r+ z7 Y  _6 U; B, o/ x! G再次检查 initiatorname.iscsi 文件,果然存在了:
( A+ E+ }. q( X" q* d+ G+ i9 W) j" V6 W7 W* T0 D
once again check the initiatorname.iscsi file 2 l0 }; P) m+ B1 {. s; ]# P

$ m2 U( I4 E  }; U: g& j- ]6 w[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi5 [- p0 Z" }8 c2 y% o# ^1 C1 F) v0 q
/etc/iscsi/initiatorname.iscsi: I2 E7 g9 ?% m( ?/ F% {9 O
[root@compute3 ~]# ls /etc/iscsi/initiatorname.iscsi) K5 o8 r- I* g% h; Q0 V0 i2 T
/etc/iscsi/initiatorname.iscsi
% n) N4 d" a; Z5 p7 p
- W& h: s1 \. X3 f2 C0 O% {0 H9 g. B* b5 o6 U* [7 p0 r
: Q: ^5 f) K$ W; W, X
再次创建虚机,不再报错了。
0 Y* y3 E. b. k3 X+ u. V. Q 9 G8 h- l% b3 r/ R! B6 H
, F! _$ i# a4 [/ d
1 @' R) c0 ^* |0 R( c2 t+ u
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']
0 c: S+ d* [( R: V$ u8 ]* @' k2025-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
" X( {) o% L( p2025-03-07 21:28:49.818 2244 INFO oslo.privsep.daemon [-] privsep daemon starting
- w% I" [2 h! }, u2025-03-07 21:28:49.823 2244 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/09 s$ r, I, K# f( q8 }
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) ?( v! V- M; k/ {$ a
2025-03-07 21:28:49.826 2244 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2244
$ J) B$ h4 q& }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)
1 |. Y$ x, U" m2025-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.6 d8 S2 x( w9 j
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( m- K- e- y7 w+ C# 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
$ `8 y; _, y4 b# 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. g1 w% s2 K* y' q. p- a  B
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.
7 N% S/ Z( K3 Q& ]8 a4 a
, z( d& t' }& z* I2025-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']
/ [# }4 b' C7 u3 m4 @# }. ^4 M2025-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
% V7 m3 O, q) x% R2025-03-07 21:28:56.306 2297 INFO oslo.privsep.daemon [-] privsep daemon starting
% l8 ^6 S1 B9 a1 |2025-03-07 21:28:56.312 2297 INFO oslo.privsep.daemon [-] privsep process running with uid/gid: 0/0, {( S* w, z" ^! E* P  C  T
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
. {# q4 t& y' z/ K4 Q2025-03-07 21:28:56.315 2297 INFO oslo.privsep.daemon [-] privsep daemon running as pid 2297, l7 N1 M1 s" b2 x  G# |$ T- r
0 r( G" h) A$ B1 O$ ]

# D; f* A" {/ _创建虚机这一步问题解决了。
7 j6 Y- d( W; D* T8 x
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 21:08 , Processed in 0.079265 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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