-
Notifications
You must be signed in to change notification settings - Fork 16
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
collect rbd image and snap info per rados namespace #150
Conversation
Skipping CI for Draft Pull Request. |
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.
- Need to adjust omap code to collect omap in each radosnamespace for both pvc and snapshot
- trash ls need to be collected for radosnamespace
Okay, we need to collect all the details we are collecting for each rbd pool. we need to like below
- Move all the collection code to helper functions
- Collect all details for the pool and also collect all details for each namespace inside the pool.
@Madhu-1: changing LGTM is restricted to collaborators In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This is not viable here as the namespaced commands need a flag that must be omitted from commands against the base pool. It'd be nice, but I don't think it's worth splitting it off into a helper function and then having to do conditionals based on inputs. |
e960174
to
fa5f924
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.
the suggested changes LGTM but as am not an expert in this repo not able to confirm its covering all the required items.
Thanks @Madhu-1 for your review, it collects all the info that is collected for other images. In case you guys find anything missing further while debugging , feel free to open a bug/ issue, will add it. |
@black-dragon74 can you please review the PR |
0bcc5ba
to
9f13695
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.
Please fix the indentation for collect_info
function at line: 205
We can get rid of unnecessary braces surrounding commands at lines mentioned below as they serve no purpose.
- 249
- 275
- 287
- 322
- 324
- 334
- 336
Regards
Also, please mark the open conversations are resolved? |
collect rbd image and snap info as per the rados namespace Signed-off-by: yati1998 <ypadia@redhat.com>
@@ -14,6 +14,7 @@ ceph_resources+=(cephblockpools) | |||
ceph_resources+=(cephfilesystems) | |||
ceph_resources+=(cephclient) | |||
ceph_resources+=(cephfilesystemsubvolumegroups) | |||
ceph_resources+=(cephblockpoolradosnamespaces.ceph.rook.io) |
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.
Good to see this up here. Is there a reason why this has the complete CRD name .ceph.rook.io
where the others don't? If not, chop it down.
The indentation looks fine to me... what are you seeing?
This seems like a superfluous cleanup that doesn't need to be part of this PR. I'd say it's best to leave them as-is and remove them in a follow-up PR as desired. |
/retest |
That is exactly what it is. Completely fine with taking it in a separate PR :) Regards |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: black-dragon74, yati1998 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
96e89b3
into
red-hat-storage:main
/cherry-pick release-4.15 |
@yati1998: new pull request created: #168 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/cherry-pick release-4.16 |
@yati1998: new pull request created: #169 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
This commit collects rbd image and snap info for each rados namespace