-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
broken rook-ceph-osd-prepare job when used metadata device with osdsPerDevice more that 1 #13637
Labels
Comments
satoru-takeuchi
added a commit
to cybozu-go/rook
that referenced
this issue
Feb 2, 2024
The validation logic of checking the number of devices is wrong when `metadataDevice` is set and `osdsPerDevice` > 1. `len(cvReports)` is the expected number of OSDs and is the number of specified data devices multiplied by `osdsPerDevice`. Closes: rook#13637 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
6 tasks
@degorenko This problem will be fixed in #13673. |
satoru-takeuchi
added a commit
to cybozu-go/rook
that referenced
this issue
Feb 6, 2024
The validation logic of checking the number of devices is wrong when `metadataDevice` is set and `osdsPerDevice` > 1. `len(cvReports)` is the expected number of OSDs and is the number of specified data devices multiplied by `osdsPerDevice`. Closes: rook#13637 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
satoru-takeuchi
added a commit
to cybozu-go/rook
that referenced
this issue
Feb 6, 2024
The validation logic of checking the number of devices is wrong when `metadataDevice` is set and `osdsPerDevice` > 1. `len(cvReports)` is the expected number of OSDs and is the number of specified data devices multiplied by `osdsPerDevice`. Closes: rook#13637 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
satoru-takeuchi
added a commit
to cybozu-go/rook
that referenced
this issue
Feb 7, 2024
The validation logic of checking the number of devices is wrong when `metadataDevice` is set and `osdsPerDevice` > 1. `len(cvReports)` is the expected number of OSDs and is the number of specified data devices multiplied by `osdsPerDevice`. Closes: rook#13637 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com>
mergify bot
pushed a commit
that referenced
this issue
Feb 7, 2024
The validation logic of checking the number of devices is wrong when `metadataDevice` is set and `osdsPerDevice` > 1. `len(cvReports)` is the expected number of OSDs and is the number of specified data devices multiplied by `osdsPerDevice`. Closes: #13637 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com> (cherry picked from commit 753bbfe)
satoru-takeuchi
added a commit
that referenced
this issue
Feb 8, 2024
The validation logic of checking the number of devices is wrong when `metadataDevice` is set and `osdsPerDevice` > 1. `len(cvReports)` is the expected number of OSDs and is the number of specified data devices multiplied by `osdsPerDevice`. Closes: #13637 Signed-off-by: Satoru Takeuchi <satoru.takeuchi@gmail.com> (cherry picked from commit 753bbfe)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rook-ceph-osd-prepare job is failed for node, when some device is using at the same time metadataDevice and osdsPerDevice > 1 parameters:
Rook version is v1.12.10, Ceph version is v17.2.7.
Looks like issue is in incorrect condition here: https://github.com/rook/rook/blob/v1.12.10/pkg/daemon/ceph/osd/volume.go#L782
In case of manual cmd batch prepare run
everything is working.
lsblk output:
blkid output:
logs.txt
cephcluster.txt
The text was updated successfully, but these errors were encountered: