Skip to content

Volume ID validation issue when used with manila-csi #6332

Description

@Kajot-dev

Describe the bug

When using ceph-csi along with manila-csi from cloud-provider-openstack. The volumeHandle generated by manila csi has format like 1a0b5619-f55f-4724-8a7f-c84659ba606a and it does NOT pass the validation introduced in #5957 which requires 0000-0000- (2 groups by 4 chars at the start)

This causes every mount to fail

Environment details

  • Image/version of Ceph CSI driver : 3.16.1+ (3.16.2, 3.17.0 are affected)
  • Helm chart version : 3.16.1+ (3.16.2, 3.17.0 are affected)
  • Kernel version : Not relevant
  • Mounter used for mounting PVC (for cephFS its fuse or kernel. for rbd its
    krbd or rbd-nbd) : kernel
  • Kubernetes cluster version : OKD 4.21 on Openstack
  • Ceph cluster version : Not relevant

Steps to reproduce

Install ceph-csi-cephfs 3.16.1+ along with manila-csi and try to mount the volume. 3.16.0 works without issues.

Actual results

Volume does not mount because of faulty ID check

Expected behavior

Volume does mount correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/cephfsIssues related to CephFSwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions