[SPDK] Re: SPDK Controller create failure

N K Das <nkdas5544 at gmail.com> Tue, 18 Oct 2022 23:21:49 +0530
Newsgroups dev.linux.lists.spdk
Message-ID <CAEzMZBd4eo5FT5cYmEV3Tnxrw5qzS1Ms1_LOwN72CRt8Lzom_A@mail.gmail.com>
--===============7106078326222682552==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

Thanks Tomek ! I started my spdk controller count from 0, so it should
ideally go to 1023 to make it 1024. If i start spdk controller count from
1, it goes to 1023 but ideally it should reach 1024.

[2022-09-29 12:47:12.205208] nvmf_rpc.c: 416:rpc_nvmf_create_subsystem:
*ERROR*: Unable to create subsystem nqn.2016-06.io.spdk:cnode1024

request:

{

  "nqn": "nqn.2016-06.io.spdk:cnode1024",

  "serial_number": "SPDK0000000001024",

  "model_number": "SPDK_Controller1024",

  "allow_any_host": true,

  "method": "nvmf_create_subsystem",

  "req_id": 1

}

Got JSON-RPC error response

response:

{

  "code": -32603,

  "message": "Unable to create subsystem nqn.2016-06.io.spdk:cnode1024"

}

+ exit

On Tue, Oct 18, 2022 at 4:34 PM Zawadzki, Tomasz <tomasz.zawadzki(a)intel.c=
om>
wrote:

> Hi Niranjan,
>
> The default max number of subsystems is set to 1024, please use
> nvmf_set_max_subsystems RPC to modify it.
>
> Could you double check if you've encountered the issue after 1024 or 1025
> controllers ? If there is an off-by one error somewhere here, please repo=
rt
> it to https://github.com/spdk/spdk/issues.
>
> Thanks,
> Tomek
>
> > -----Original Message-----
> > From: N K Das <nkdas5544(a)gmail.com>
> > Sent: Tuesday, October 18, 2022 12:45 PM
> > To: spdk(a)lists.01.org
> > Subject: [SPDK] SPDK Controller create failure
> >
> > Hi,
> > I was trying to create  1024 SPDK controller with 1 NS attached to each
> SPDK
> > controller. It creates upto 1023 SPDK controller but fails at 1024. Is
> there any
> > limitation on how many SPDK controller we can create in a single Linux
> server
> > ? I am using Ubuntu 20.04 Linux Server.
> >
> > Here is screenshot of error message:
> >
> > [2022-10-18 10:22:13.343807] nvmf_rpc.c: 416:rpc_nvmf_create_subsystem:
> > *ERROR*: Unable to create subsystem nqn.2016-06.io.spdk:cnode1023
> > request:
> > {
> >   "nqn": "nqn.2016-06.io.spdk:cnode1023",
> >   "serial_number": "SPDK0000000001023",
> >   "model_number": "SPDK_Controller1023",
> >   "allow_any_host": true,
> >   "method": "nvmf_create_subsystem",
> >   "req_id": 1
> > }
> > Got JSON-RPC error response
> > response:
> > {
> >   "code": -32603,
> >   "message": "Unable to create subsystem nqn.2016-06.io.spdk:cnode1023"
> > }
> > + exit
> >
> > Any help is appreciated.
> >
> > Regards,
> > Niranjan
> > _______________________________________________
> > SPDK mailing list -- spdk(a)lists.01.org
> > To unsubscribe send an email to spdk-leave(a)lists.01.org
> _______________________________________________
> SPDK mailing list -- spdk(a)lists.01.org
> To unsubscribe send an email to spdk-leave(a)lists.01.org
>

--===============7106078326222682552==--