Repository navigation
feat(storage): add Dell PowerFlex backend support - #923
jproque-dell wants to merge 6 commits into
Conversation
|
@jproque-dell please rebase to resolve the functional test failure. |
Signed-off-by: Jean-Pierre Roquesalane <jeanpierre.roquesalane@dell.com>
Signed-off-by: Jean-Pierre Roquesalane <jeanpierre.roquesalane@dell.com>
ahmad-can
left a comment
There was a problem hiding this comment.
Automated review (DeepSeek Pro)
Reviewed by: DeepSeek Pro (openrouter/~deepseek/deepseek-pro-latest)
Summary
This PR adds Dell PowerFlex as a new storage backend for Sunbeam, implementing the PowerFlexBackend class and PowerFlexConfig model. The implementation follows the established pattern for storage backends and correctly marks the backend as generally_available = False. The PR description mentions targeting the cinder-volume-dellpowerflex charm on 2026.1/edge, but the code uses latest/stable which is inconsistent.
CI Status Consulted
- Check signed commits in PR: pass
- test / Lint: pass
- test / Type Check: pass
- test / Unit tests: pass
- build / Build snap: pass
- build / Functional test: fail (unrelated infrastructure timeout during sunbeam-machine bootstrap, not caused by this PR)
Findings Not Anchored in Diff
Medium: Missing unit tests for new backend
No unit test file exists for the new dellpowerflex backend. All other backends have corresponding test files in sunbeam-python/tests/unit/sunbeam/storage/backends/ (e.g., test_dellpowerstore.py, test_solidfire.py). Additionally, the backend fixture is missing from conftest.py.
Suggested fix: Add test_dellpowerflex.py following the pattern of test_dellpowerstore.py, and add a dellpowerflex_backend fixture to conftest.py plus register it in the BACKENDS dictionary.
Low: Commits missing Signed-off-by trailers
Four commits (0132668, 77ccd41, 103e6cb, c4f6732) are missing Signed-off-by trailers. While the CI check passed (commits are GPG-signed), the CONTRIBUTING guidelines recommend including Signed-off-by in commit messages.
Suggested fix: Squash the "Update backend.py" commits and ensure all commits have Signed-off-by trailers, or rebase with git commit --amend -s.
Summary Counts
Critical: 0
High: 0
Medium: 2
Low: 2
Nit: 2
|
|
||
| # Protocol selection | ||
| protocol: Annotated[ | ||
| Literal["scaleio", "nvme-tcp"], |
There was a problem hiding this comment.
Is this targeting Gazpacho? NVMe-TCP support for PowerFlex was introduced in Hibiscus: https://docs.openstack.org/releasenotes/cinder/2026.2.html
|
Heads-up from a related audit on the charm side (sunbeam-charms): Two things worth aligning while this PR is in flight:
Context: we recently went through a tree-wide audit of CLI/charm schema mismatches after LP#2175782 (netapp-login rendered as an unresolved secret URI) - same defect class. Related: LP#2176030, LP#2176082, LP#2176084, LP#2176086, LP#2176088. Happy to file the charm-side fix once the key name is settled here. |
ac1fd3f to
dff1d68
Compare
Signed-off-by: Jean-Pierre Roquesalane <jeanpierre.roquesalane@dell.com>
Add Dell PowerFlex as a new storage backend for Sunbeam.
This introduces a new
dellpowerflexbackend that enables deployingOpenStack Cinder with Dell PowerFlex as the block storage provider.
The backend supports both the ScaleIO (
PowerFlexDriver) and NVMe-TCP(
PowerFlexNVMeDriver) protocols.Key configuration options exposed through the
PowerFlexConfigmodel:The
PowerFlexBackendclass integrates with the Sunbeam storageframework via
StorageBackendBase, targeting thecinder-volume-dellpowerflexcharm on the2026.1/edgechannel.Assisted-By: Devin (Claude)
QA steps
sunbeam storage add --backend dellpowerflexcinder-volume-dellpowerflexcharm is deployedLinks
N/A