Repository navigation
mgr/dashboard : add stretch cluster validation for pools form - #67952
Conversation
ace9416 to
e9b5f08
Compare
|
Thanks for the help @nizamial09 |
cloudbehl
left a comment
There was a problem hiding this comment.
We need to have one place to change the min, max values for maintainability purpose.
2478db8 to
9eaaf15
Compare
There was a problem hiding this comment.
Thanks @abhidesai6. let's set the Replicated size to 4 and make that form control readonly in stretch mode. It doesn't accept any other values for pool_size apart from 4 and min_size is also always fixed to 2. So it doesn't make sense to edit that out.
|
Also we can add a doc text on why its readonly.. |
d774bfc to
57abe10
Compare
Screencast.From.2026-03-30.13-12-43.mp4Stretched mode support for pools-form |
|
Incorporating changes suggested by UX team. |
|
I would recommend to have inline info to say
|
Screencast.From.2026-04-03.17-13-03.mp4UX changes adaption video, |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
57abe10 to
5d47eb0
Compare
c61d412 to
46d63f2
Compare
46d63f2 to
9e844d0
Compare
afreen23
left a comment
There was a problem hiding this comment.
Why have we removed the info alert ? It was pretty good. @abhidesai6
| @@ -97,11 +97,13 @@ | |||
| formControlName="poolType" | |||
| cdRequiredField="Pool type" | |||
| data-testid="pool-type-select" | |||
| [helperText]="isStretchMode ? 'Erasure pool type is not supported for stretch cluster.' : ''" | |||
|
@abhidesai6 we need to have crush rule default selected or give out an error as I dont see that happening on submit. Screencast.From.2026-04-16.17-52-55.mp4 |
I was thinking of adding it in carbonization PR, as I wanted to keep bare minimum things in this PR in case of backports |
9e844d0 to
3cb0518
Compare
didn't add carbonization changes here hence avoiding the info alert over the banner |
3cb0518 to
6fa8d64
Compare
Still its there , kindly take care of it in a followup PR, rest I see coming well. |
We are giving out an error on submit for crushRule set. |




fixes : https://tracker.ceph.com/issues/75667
Signed-off-by: Abhishek Desai [email protected]
normal cluster :
min : 1
max: 3
Streched cluster :
min : 2

max: 4
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.