Skip to content

fix(cinder): simplify NetApp NVMe driver to minimal override - #2238

Merged
khackworth merged 6 commits into
mainfrom
netapp_create_volume
Aug 26, 2026
Merged

fix(cinder): simplify NetApp NVMe driver to minimal override#2238
khackworth merged 6 commits into
mainfrom
netapp_create_volume

Conversation

@khackworth

@khackworth khackworth commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Removing most of the custom driver, leaving the nqn -> initiator mapping

@cardoe cardoe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the purpose is to just override the NVMe subsystem of the stock driver then we should do that instead of hacking this to not update the original host. This will fail in other wise

Comment thread python/cinder-understack/cinder_understack/dynamic_netapp_driver.py Outdated
Comment thread python/cinder-understack/cinder_understack/dynamic_netapp_driver.py Outdated
Comment thread python/cinder-understack/cinder_understack/dynamic_netapp_driver.py Outdated
@nidzrai

nidzrai commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

do we really need dynamic_netapp_driver for the shared SVM design ? I think Cinder can use normal configured backends. We only need a small wrapper around the default NetApp NVMe driver unless we fix Novaor ironic to send nqn directly

 if "initiator" in connector and "nqn" not in connector:
    connector["nqn"] = connector["initiator"]

@khackworth
khackworth force-pushed the netapp_create_volume branch 2 times, most recently from e0080ba to 453e776 Compare August 25, 2026 19:22
@khackworth
khackworth enabled auto-merge August 25, 2026 19:23
Comment thread python/cinder-understack/cinder_understack/netapp_nvme.py Outdated
@khackworth
khackworth force-pushed the netapp_create_volume branch 2 times, most recently from 386d84e to 563724d Compare August 26, 2026 11:51
Comment thread python/cinder-understack/cinder_understack/netapp_nvme.py
@khackworth
khackworth force-pushed the netapp_create_volume branch 2 times, most recently from 0c06e48 to 15e601b Compare August 26, 2026 12:17
- Override only _map_namespace() for custom subsystem naming
- Subsystem naming: {svm}-{ostype} (e.g., rax-prod-dfw3-vmware)
- Upstream handles namespace creation, ostype, and 512B blocks for VMware

Requires multiple backend configs per SVM (one for vmware, one for linux)
@khackworth
khackworth force-pushed the netapp_create_volume branch from 15e601b to 1449f71 Compare August 26, 2026 15:50
@khackworth
khackworth added this pull request to the merge queue Aug 26, 2026
Merged via the queue into main with commit 72fbe9d Aug 26, 2026
67 checks passed
@khackworth
khackworth deleted the netapp_create_volume branch August 26, 2026 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants