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
ceph-volume/batch: fail on filtered devices when non-interactive #31978
Conversation
|
jenkins test ceph-volume tox |
|
jenkins test ceph-volume all |
|
One tox failure is addressed in #31979. @alfredodeza The tox test also has a unicode decode failure again, mind taking a look? |
|
ping @sebastian-philipp |
|
At least when using drive Groups, we're already loosing idempotency. Maybe we'rebgoing seeing some unexpected interactions between python-common's drive groups and c-v's idempot algorithm |
Not sure I understand why? If DG are already filtering so that only available drives make it to c-v then there is no harm done? Idempotency is only achievable is the call is fully specified (i.e. sizes are passed and such) and at that point it makes no difference if an unavailable drive is filtered out before it gets to c-v. |
|
I agree with @jan--f 's proposal here. It's about the non-interactive mode only, which should give the user immediate feedback instead of magically hiding disks. For the fully automated, drivegroup based call we're basically always calling the same command which should suffice for achieving idempotency. |
|
🤷 |
ab78c41
to
e7eac21
Compare
|
retest this please |
When batch is called non-interactively and a user explicitly specifies, say a db-device, this will be filtered when unavailable. This can cause the resulting OSD to be very different from the users intention (standalone vs external db when the db-device was filtered). If devices get filtered in non-interactive mode, ceph-volume should fail. Fixes: https://tracker.ceph.com/issues/43105 Signed-off-by: Jan Fajerski <jfajerski@suse.com>
e7eac21
to
2e98505
Compare
|
jenkins test ceph-volume tox |
When batch is called non-interactively and a user explicitly specifies,
say a db-device, this will be filtered when unavailable. This can cause
the resulting OSD to be very different from the users intention
(standalone vs external db when the db-device was filtered). If devices
get filtered in non-interactive mode, ceph-volume should fail.
Fixes: https://tracker.ceph.com/issues/43105
Signed-off-by: Jan Fajerski jfajerski@suse.com
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard backendjenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox