Skip to content
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

rbd: add backend support for VolumeGroup operations #4719

Merged
merged 9 commits into from
Jul 24, 2024

Commits on Jul 24, 2024

  1. cleanup: make VolumeGroupJournalConnection a private type

    VolumeGroupJournalConnection is not used outside the internal/journal
    package. There is no need to expose the type outside of the package, it
    causes only confusion about the usage of the journalling API.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    a2f86d9 View commit details
    Browse the repository at this point in the history
  2. rbd: pass CSI-instanceID to CSI-Addons VolumeGroupServer

    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    013c2a5 View commit details
    Browse the repository at this point in the history
  3. rbd: update Volume interface implementation for VolumeGroup APIs

    Add support for adding and removing the RBD-image from a group.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    ae76697 View commit details
    Browse the repository at this point in the history
  4. rbd: implement the VolumeGroup interface

    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    2189d1e View commit details
    Browse the repository at this point in the history
  5. rbd: use the Manager to handle CSI-Addons VolumeGroup requests

    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    edde357 View commit details
    Browse the repository at this point in the history
  6. rbd: add journalledObject as base for VolumeGroup interface

    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    98c10aa View commit details
    Browse the repository at this point in the history
  7. rbd: remove the VolumeGroup from the journal on DeleteVolumeGroup

    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    851e052 View commit details
    Browse the repository at this point in the history
  8. rbd: make VolumeGroup Create/Delete/AddVolume/RemoveVolume idempotent

    Add extra error checking to make sure trying to create an existing
    volume group does not result in a failure. The same counts for deleting
    a non-existing volume group, and adding/removing volumes to/from the
    volume group.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    33b9aa2 View commit details
    Browse the repository at this point in the history
  9. rbd: check if an image is part of a group before adding it

    A RBD image can only be part of a single group. While an image is added
    to a group, check if the image is already part of a group, and return an
    error in case it is.
    
    Signed-off-by: Niels de Vos <ndevos@ibm.com>
    nixpanic committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    1825c27 View commit details
    Browse the repository at this point in the history