-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
rgw: fix CephObjectStore failing with pre-existing pools #14772
rgw: fix CephObjectStore failing with pre-existing pools #14772
Conversation
58ad2fe
to
5198df1
Compare
The canary test is only waiting for the The example has |
a143058
to
aae6436
Compare
|
I was able to click retry until it passed. It failed in a different test each time. |
aae6436
to
cb63f42
Compare
Repushed as I noticed that the -test suffix was missing in the "header" comments of the -test.yaml file. |
161f4de
to
da84403
Compare
Added these functions for running commands in the toolbox pod: - toolbox() - ceph() - rbd() - radosgw-admin() Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
When attempting to use pre-existing (or cephBlockPool managed) pools and the cephObjectStore.spec.{metadataPool,dataPool} fields are not specified, rgw creation will fail with this error: 2024-09-25 21:00:17.744358 E | ceph-object-controller: failed to reconcile CephObjectStore "rook-ceph/test1". failed to create object store deployments: failed to create object pools: failed to create metadata pools: failed to create pool "test1.rgw.control": pool "test1.rgw.control" type is not defined as replicated or erasure coded Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
da84403
to
f633c30
Compare
Factor out most of the CRs used by various canary tests to a new deploy_cluster_full_of_cruft_please_stop_using_this() function. Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
This allows all functions to be called in any order without concern for the CWD. Signed-off-by: Joshua Hoblitt <josh@hoblitt.com>
f633c30
to
581fd5c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will approve after the CI passes, thanks!
rgw: fix CephObjectStore failing with pre-existing pools (backport #14772)
When attempting to use pre-existing (or cephBlockPool managed) pools and the cephObjectStore.spec.{metadataPool,dataPool} fields are not specified, rgw creation will fail with this error:
Issue resolved by this Pull Request:
Checklist: