All of lore.kernel.org
 help / color / mirror / Atom feed
From: Szwed, Maciej <maciej.szwed at intel.com>
To: spdk@lists.01.org
Subject: [SPDK] Re: Fail to start cinder service
Date: Tue, 24 Mar 2020 14:08:14 +0000	[thread overview]
Message-ID: <719908528a854aaf9c82dc183f4e2c83@intel.com> (raw)
In-Reply-To: MN2PR04MB601440A47FF76BB3634016C393F00@MN2PR04MB6014.namprd04.prod.outlook.com

[-- Attachment #1: Type: text/plain, Size: 4129 bytes --]

Hi Ranjan,
Nice to meet you. I’m adding SPDK mailing list for wider audience (someone may find it helpful someday 😊 ). Maybe it has to do something with additional comments on each line in configuration file – try to remove them. Also in “spdk_rpc_port =4420” you are missing space after “=” – 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’t work – I’ll try to reproduce environment on my side.

Regards,
Maciej


From: Kumar Ranjan <Kumar.Ranjan(a)wdc.com>
Sent: Monday, March 23, 2020 6:57 PM
To: Szwed, Maciej <maciej.szwed(a)intel.com>
Subject: Fail to start cinder service

Hi Maciej,
I am Ranjan from WDC. Request your  help in understanding as why I am not able to start the cinder service.
I saw some of your patches and looks like you are more into this field. Hence 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 = 192.168.1.111 #address to machine with SPDK
spdk_rpc_port =4420 #port to use to send commands to SPDK once running with -r
#spdk_rpc_username = admin#username set in remote_rpc.py
#spdk_rpc_password = admin#password set in remote_rpc.py
target_ip_address = 172.168.1.111 #NVMe-oF interface
target_port = 4420
target_protocol = nvmet_rdma
target_helper = spdk-nvmeof
target_prefix = nqn.1992-05.com.wdc
volume_driver = cinder.volume.drivers.spdk.SPDKDriver
volume_backend_name = SPDK

---------------


root(a)ubuntu:~# systemctl status devstack(a)c-vol.service<mailto:devstack(a)c-vol.service>
● devstack(a)c-vol.service<mailto:devstack(a)c-vol.service> - Devstack devstack(a)c-vol.service<mailto:devstack(a)c-vol.service>
   Loaded: loaded (/etc/systemd/system/devstack(a)c-vol.service<mailto:/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=/usr/local/bin/cinder-volume --config-file /etc/cinder/cinder.conf (code=exited, status=1/FAILURE)
Main PID: 15636 (code=exited, status=1/FAILURE)

Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume     return 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     value, loc = 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     raise ConfigFileValueError(message)
Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume oslo_config.cfg.ConfigFileValueError: Value for option spdk_rpc_port from LocationInfo(location=<Locations.user: (4, Tru
Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume
Mar 23 23:16:59 ubuntu cinder-volume[15636]: ERROR cinder.cmd.volume [None req-5dddc9ec-a2a6-4c94-913c-caea68014ac5 None None] No volume service(s) started successfully, terminating.
Mar 23 23:16:59 ubuntu systemd[1]: devstack(a)c-vol.service<mailto:devstack(a)c-vol.service>: Main process exited, code=exited, status=1/FAILURE
Mar 23 23:16:59 ubuntu systemd[1]: devstack(a)c-vol.service<mailto: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

             reply	other threads:[~2020-03-24 14:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-24 14:08 Szwed, Maciej [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-04-06  8:27 [SPDK] Re: Fail to start cinder service Szwed, Maciej

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=719908528a854aaf9c82dc183f4e2c83@intel.com \
    --to=spdk@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.