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

Syncing latest changes from upstream devel for ceph-csi #396

Merged
merged 4 commits into from
Oct 7, 2024

Commits on Oct 3, 2024

  1. rbd: consider ErrPermissionDenied for vol

    Incase of RDR with restricted access the
    ceph user will not have access to all the objects
    or all the pools where mapping exists
    
    This commits add a check to continue to get
    the volume if there is a permission error
    
    Signed-off-by: Madhu Rajanna <[email protected]>
    Madhu-1 authored and mergify[bot] committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    88b964f View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. rbd: use the new go-ceph rbd.ErrExist for checking rbd.GroupCreate()

    The go-ceph rbd.GroupCreate() now returns ErrExist in case the group
    that is created, already exists. The previous check only ever matched
    the string comparison, which is prone to errors in case the contents is
    modified by go-ceph.
    
    Signed-off-by: Niels de Vos <[email protected]>
    nixpanic authored and mergify[bot] committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    10076ca View commit details
    Browse the repository at this point in the history
  2. rebase: use the go-ceph master branch

    The main change that is useful, is the new rbd.ErrExist error.
    
    Signed-off-by: Niels de Vos <[email protected]>
    nixpanic authored and mergify[bot] committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    9267210 View commit details
    Browse the repository at this point in the history
  3. rbd: validate IOContext before getting the list of trashed images

    `ensureImageCleanup()` can cause a panic when an image was deleted, but
    the journal still contained a reference. By opening the IOContext before
    using, an error may be returned instead of a panic when using a `nil` or
    freed IOContext.
    
    Signed-off-by: Niels de Vos <[email protected]>
    nixpanic authored and mergify[bot] committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    d33e6b1 View commit details
    Browse the repository at this point in the history