Skip to content

Restored-volume (clone) gets created only on the snapshot node #1792

Open
@deepakbnsl

Description

@deepakbnsl

Describe the bug
Snapshot clone doesn't get created on other nodes.

To Reproduce
Cluster with 2 nodes

  • N1 has a snapshot of an existing volume.
  • create a storage class with node affinity (topology) to N2.
  • using above storage class, create a pvc with data source as above snapshot.
  • using above pvc, create a pod with node affinity to N2.
  • pods gets created on N2 while new volume gets created on N1 only (confirmed by "nvme list-subsys")

Expected behavior
New volume should get created on N2 (for local disk access). And this volume should reference read-only snapshot data internally from N1.

OS info:

  • Distro: [e.g. NixOS] : Ubuntu
  • Kernel version : 5.15.0-125-generic
  • MayaStor revision : 2.7.1
    registry.k8s.io/sig-storage/csi-provisioner:v3.5.0
    registry.k8s.io/sig-storage/csi-attacher:v4.3.0
    registry.k8s.io/sig-storage/csi-snapshotter:v6.3.3
    registry.k8s.io/sig-storage/snapshot-controller:v6.3.3
    registry.k8s.io/sig-storage/csi-resizer:v1.9.3
    docker.io/openebs/mayastor-csi-controller:v2.7.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions