Repository navigation
rbd: add group snap info command - #57797
Conversation
|
TODOs:
|
|
Request for feedback on the current I think we should also show some info about the Option 1: Option 2 that includes a table: |
Agreed. I like option 1 better and would propose the following enhancement, recognizing that |
Just thought in terms of metrics perspective as well in future if we need these information in the form of metrics |
@sunilangadi2 By "in the form of metrics", are you referring to parsing the output in scripts? If so, formatted output (e.g. |
@ajarr I'd probably also add a space between snap and id: I know that the respective column in |
|
CLI CLI -- formated JSON Python |
Paste the output with I see two issues:
|
Same comments as on the formated CLI output. |
|
Can you also paste |
Yes |
|
@ajarr Is it expected to have |
bd1ffef to
2bdcfe0
Compare
Fetching information about a group snapshot using CLI Fetching information about a group snapshot using python API Listing group snapshots using CLI Listing group snapshots using Python interface |
@sunilangadi2 please see #57797 (comment) Yes, the snapshots of images that constitute a group snapshot have names starting with .group. We (developers) refer to them as |
|
@idryomov as you mentioned earlier, previous implementation of |
|
No related failures: https://pulpito.ceph.com/dis-2024-07-18_22:11:30-rbd-wip-dis-testing-distro-default-smithi/ (Jobs where in the OSD were excluded from last the rerun. This issue is being looked at by the RADOS team.) |
|
jenkins test api |
I don't think the fact that this PR makes the situation worse for
Yes, when someone gets to it. |
... to show information about a group snapshot. And also include group snap ID in `group snap ls` output. Fixes: https://tracker.ceph.com/issues/66011 Signed-off-by: Ramana Raja <[email protected]>
|
jenkins test api |
|
Hey, |
@Matan-B I'm not following how something related to this PR could be not supported by Crimson. We simply exposed a few additional fields through the API here.
I think the issue with https://pulpito.ceph.com/matan-2024-07-24_07:30:51-crimson-rados-wip-sjust-crimson-testing-2024-07-22-distro-crimson-smithi/ is the mismatch between the branch that was built and the branch that was used to get the test definitions. |
Ah, this is possible since test_rbd.py was pulled from main and the build's sha1 is older than that. |
See #57797 (comment) for example outputs
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test dashboard cephadmjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume toxjenkins test windowsjenkins test rook e2e