From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2614338754041744978==" MIME-Version: 1.0 From: Szwed, Maciej Subject: [SPDK] Re: Fail to start cinder service Date: Tue, 24 Mar 2020 14:08:14 +0000 Message-ID: <719908528a854aaf9c82dc183f4e2c83@intel.com> In-Reply-To: MN2PR04MB601440A47FF76BB3634016C393F00@MN2PR04MB6014.namprd04.prod.outlook.com List-ID: To: spdk@lists.01.org --===============2614338754041744978== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Ranjan, Nice to meet you. I=E2=80=99m adding SPDK mailing list for wider audience (= someone may find it helpful someday =F0=9F=98=8A ). Maybe it has to do some= thing with additional comments on each line in configuration file =E2=80=93= try to remove them. Also in =E2=80=9Cspdk_rpc_port =3D4420=E2=80=9D you ar= e missing space after =E2=80=9C=3D=E2=80=9D =E2=80=93 I doubt that this may= has something to do with that missing space, but it is always worth trying= removing it. Everything else looks good. Let me know if that won=E2=80=99t= work =E2=80=93 I=E2=80=99ll try to reproduce environment on my side. Regards, Maciej From: Kumar Ranjan Sent: Monday, March 23, 2020 6:57 PM To: Szwed, Maciej Subject: Fail to start cinder service Hi Maciej, I am Ranjan from WDC. Request your help in understanding as why I am not a= ble to start the cinder service. I saw some of your patches and looks like you are more into this field. Hen= ce pinging you. For experiment : devstack as well my client is running in the same server. My host IP for Horizon (private network) : 192.168.1.14 My target IP where rpc is listening : 192.168.1.111 My target has 2 data ports , one is : 192.168.1.111 and another : 172.168.1= .111 Spdk entried in my Cinder.conf [spdk] spdk_rpc_ip =3D 192.168.1.111 #address to machine with SPDK spdk_rpc_port =3D4420 #port to use to send commands to SPDK once running wi= th -r #spdk_rpc_username =3D admin#username set in remote_rpc.py #spdk_rpc_password =3D admin#password set in remote_rpc.py target_ip_address =3D 172.168.1.111 #NVMe-oF interface target_port =3D 4420 target_protocol =3D nvmet_rdma target_helper =3D spdk-nvmeof target_prefix =3D nqn.1992-05.com.wdc volume_driver =3D cinder.volume.drivers.spdk.SPDKDriver volume_backend_name =3D SPDK --------------- root(a)ubuntu:~# systemctl status devstack(a)c-vol.service =E2=97=8F devstack(a)c-vol.service - Devst= ack devstack(a)c-vol.service Loaded: loaded (/etc/systemd/system/devstack(a)c-vol.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2020-03-23 23:16:59 IST; 5s= ago Process: 15636 ExecStart=3D/usr/local/bin/cinder-volume --config-file /et= c/cinder/cinder.conf (code=3Dexited, status=3D1/FAILURE) Main PID: 15636 (code=3Dexited, status=3D1/FAILURE) Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume re= turn self._conf._get(name, self._group) Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume File= "/usr/local/lib/python3.6/dist-packages/oslo_config/cfg.py", line 2639, in= _get Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume va= lue, loc =3D self._do_get(name, group, namespace) Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume File= "/usr/local/lib/python3.6/dist-packages/oslo_config/cfg.py", line 2713, in= _do_get Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume ra= ise ConfigFileValueError(message) Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume oslo_c= onfig.cfg.ConfigFileValueError: Value for option spdk_rpc_port from Locatio= nInfo(location=3D: Main process exited, code=3Dexited, status=3D1/FAILURE Mar 23 23:16:59 ubuntu systemd[1]: devstack(a)c-vol.service: Failed with result 'exit-code'. Target : root(a)KAMSHED:/usr/share/spdk/scripts# ps aux | grep nvmf root 14676 691 5.0 4271148 409508 pts/0 SLl 01:28 37:21 /usr/sbin/= nvmf_tgt -o -j -c /usr/share/spdk/nvmf.conf -r 192.168.1.111:4420 root 15844 0.0 0.0 2316 464 pts/0 S+ 01:33 0:00 grep nvmf Regards, Ranjan --===============2614338754041744978==--