Skip to content

Conversation

@idryomov
Copy link
Contributor

Commit e5ccce1 ("rbd: add group snap info command") added a commented out field in rbd_group_snap_info2_t struct but didn't define the corresponding enum, expecting it to be brought in with the patchset that introduces mirror group snapshots. That work is still in progress, but there is already interest in the new command and APIs that use rbd_group_snap_info2_t struct and even a backport request.

Finalize the struct definition to avoid a breaking change for those users in the future. RBD_GROUP_SNAP_NAMESPACE_TYPE_USER can be treated as dummy in terms of meaning until RBD_GROUP_SNAP_NAMESPACE_TYPE_MIRROR is added.

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

@idryomov
Copy link
Contributor Author

This is a follow up for #57797, awaited by ceph/go-ceph#1025.

@idryomov
Copy link
Contributor Author

jenkins test make check

@nbalacha
Copy link
Contributor

The rbd group snap info command should also display the snap namespace information.

Commit e5ccce1 ("rbd: add group snap info command") added
a commented out field in rbd_group_snap_info2_t struct but didn't
define the corresponding enum, expecting it to be brought in with the
patchset that introduces mirror group snapshots.  That work is still
in progress, but there is already interest in the new command and APIs
that use rbd_group_snap_info2_t struct and even a backport request.

Finalize the struct definition to avoid a breaking change for those
users in the future.  RBD_GROUP_SNAP_NAMESPACE_TYPE_USER can be treated
as dummy in terms of meaning until RBD_GROUP_SNAP_NAMESPACE_TYPE_MIRROR
is added.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
@idryomov
Copy link
Contributor Author

idryomov commented Sep 20, 2024

The rbd group snap info command should also display the snap namespace information.

... and rbd group snap ls command as well (it should probably grow --all flag similar to rbd snap ls), but I don't think that belongs in this PR. There is no real group snap namespace information today -- I gave the constant a name, but it doesn't change the fact that RBD_GROUP_SNAP_NAMESPACE_TYPE_USER is dummy.

@idryomov idryomov force-pushed the wip-group-snap-namespace-type-enum branch from 0420015 to 45cdd37 Compare September 20, 2024 07:08
@idryomov
Copy link
Contributor Author

jenkins test windows

@nixpanic
Copy link
Member

Looks good to me. It is sufficient to make progress on ceph/go-ceph#1025 once this is merged. Thanks!

@idryomov
Copy link
Contributor Author

jenkins test make check

@idryomov
Copy link
Contributor Author

jenkins test windows

@idryomov
Copy link
Contributor Author

@idryomov
Copy link
Contributor Author

ceph windows tests is failing across PRs with:

E: Failed to fetch https://chacra.ceph.com/r/libboost/master/55f34507d322314fb0294629b7c0bb406de07aec/ubuntu/jammy/flavors/default/dists/jammy/main/binary-amd64/Packages  403  Forbidden [IP: 8.43.84.139 443]

This error is there for other checks as well, but only the Windows check appears to be treating sudo apt-get update failures as fatal.

@idryomov
Copy link
Contributor Author

jenkins test windows

@idryomov
Copy link
Contributor Author

This error is there for other checks as well, but only the Windows check appears to be treating sudo apt-get update failures as fatal.

This is being addressed in ceph/ceph-build#2282.

@idryomov idryomov merged commit 883e4c0 into ceph:main Sep 23, 2024
@idryomov idryomov deleted the wip-group-snap-namespace-type-enum branch September 23, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants