ceph-volume: add ceph.osdspec_affinity tag#34436
Conversation
|
We try to source this information in the orchestrators to map OSDs to their respective OSDSpec. It fells like an awful long way to query ceph-volume on each host to retrieve this information. It would probably be better off in the OSD's metadata ( |
|
It seems reasonable to report this from the osd metadata - it could go in its own metadata file like fsid/device_class/etc. |
45ce708 to
6d6341b
Compare
Signed-off-by: Joshua Schmid <jschmid@suse.de>
Signed-off-by: Joshua Schmid <jschmid@suse.de>
see #34835 |
jan--f
left a comment
There was a problem hiding this comment.
This looks good. One thing I'm mildly worried about is that this should get backported (as everything in ceph-volume) but I doubt the according OSD patch will. So are we just going to rely on the user doing the right thing? Guarding this with a version check or so seems impractical.
|
we need this backported to octopus only. I hope this will work out. |
|
As long as we backport the related PRs at the same time and since we ship ceph-osd, which includes ceph-volume in one container, we should end up with compatible versions.. If we would need a version guard, we should implement this in cephadm I think.. |
This is not just container related...most clusters out there are not containerized. And I doubt backporting the osd changes to mimic is feasible, is it? |
Right, but you explicitly have to set the environment variable, which only cephadm implements currently. |
|
I opened https://tracker.ceph.com/issues/45374 for the blacklist part |
Signed-off-by: Joshua Schmid jschmid@suse.de
Part 1) of https://tracker.ceph.com/issues/44755
Resolves: https://tracker.ceph.com/issues/44929 (only the DG_AFFINITY part)
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