Skip to content

Query regarding auto-promotion of secondary if primary linstor volume is not reachable #353

Description

@saarthak18

I have 4 node cluster and have 3 linstor volumes

Image

currently as you can see node2 is the primary node

we were testing a scenario where the other node i.e is node 3 should be promoted to primary when node 2 is reboot (recreating the scenario where node2 is unreachable)

i have set this property in the storage class

storageClasses:
  - name: piraeus-storage
    provisioner: linstor.csi.linbit.com
    allowVolumeExpansion: true
    volumeBindingMode: WaitForFirstConsumer
    parameters:
      linstor.csi.linbit.com/storagePool: pool1
      linstor.csi.linbit.com/placementCount: "2"
      **property.linstor.csi.linbit.com/DrbdOptions/Resource/auto-promote: "yes"**

but still when i reboot the node2 which is primary it waits for it to become reachable and then make it primary

is there any other property that should be set?

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