Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different nsids in 2 separate GWs are assigned with same uuid - this cannot be allowed #435

Closed
caroav opened this issue Feb 12, 2024 · 0 comments · Fixed by #436
Closed
Assignees

Comments

@caroav
Copy link
Collaborator

caroav commented Feb 12, 2024

For example:
Get subsystems: (GW1)
{
"subsystems": [
{
"nqn": "nqn.2016-06.io.spdk:cnode1",
"subtype": "NVMe",
"listen_addresses": [
{
"trtype": "TCP",
"adrfam": "IPv4",
"traddr": "192.168.13.3",
"trsvcid": "4420",
"transport": "TCP"
}
],
"allow_any_host": true,
"serial_number": "SPDK95170801532809",
"model_number": "SPDK bdev Controller",
"max_namespaces": 256,
"min_cntlid": 1,
"max_cntlid": 2040,
"namespaces": [
{
"nsid": 1,
"name": "bdev_7ac51625-24d1-4a7c-ae99-dbced6051e0a",
"bdev_name": "bdev_7ac51625-24d1-4a7c-ae99-dbced6051e0a",
"nguid": "7AC5162524D14A7CAE99DBCED6051E0A",
"uuid": "7ac51625-24d1-4a7c-ae99-dbced6051e0a",
"anagrpid": 1,
"nonce": "192.168.13.3:0/2226163052"
},
{
"nsid": 2,
"name": "bdev_3a1a5d5b-f4be-4776-bc2a-3b0bc73e31a9",
"bdev_name": "bdev_3a1a5d5b-f4be-4776-bc2a-3b0bc73e31a9",
"nguid": "3A1A5D5BF4BE4776BC2A3B0BC73E31A9",
"uuid": "3a1a5d5b-f4be-4776-bc2a-3b0bc73e31a9",
"anagrpid": 2,
"nonce": "192.168.13.3:0/789202306"
}
],
"hosts": []
}
]
}
Get subsystems:(GW2)
{
"subsystems": [
{
"nqn": "nqn.2016-06.io.spdk:cnode1",
"subtype": "NVMe",
"listen_addresses": [
{
"trtype": "TCP",
"adrfam": "IPv4",
"traddr": "192.168.13.4",
"trsvcid": "4420",
"transport": "TCP"
}
],
"allow_any_host": true,
"serial_number": "SPDK95170801532809",
"model_number": "SPDK bdev Controller",
"max_namespaces": 256,
"min_cntlid": 2041,
"max_cntlid": 4080,
"namespaces": [
{
"nsid": 1,
"name": "bdev_3a1a5d5b-f4be-4776-bc2a-3b0bc73e31a9",
"bdev_name": "bdev_3a1a5d5b-f4be-4776-bc2a-3b0bc73e31a9",
"nguid": "3A1A5D5BF4BE4776BC2A3B0BC73E31A9",
"uuid": "3a1a5d5b-f4be-4776-bc2a-3b0bc73e31a9",
"anagrpid": 2,
"nonce": "192.168.13.4:0/3576023388"
},
{
"nsid": 2,
"name": "bdev_7ac51625-24d1-4a7c-ae99-dbced6051e0a",
"bdev_name": "bdev_7ac51625-24d1-4a7c-ae99-dbced6051e0a",
"nguid": "7AC5162524D14A7CAE99DBCED6051E0A",
"uuid": "7ac51625-24d1-4a7c-ae99-dbced6051e0a",
"anagrpid": 1,
"nonce": "192.168.13.4:0/3570685669"
}
],
"hosts": []
}
]
}

This happened after stopping and restarting one of the GWs.

gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 12, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 13, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 13, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
gbregman added a commit to gbregman/ceph-nvmeof that referenced this issue Feb 13, 2024
Fixes ceph#435

Signed-off-by: Gil Bregman <gbregman@il.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants