diff --git a/changelogs/unreleased/196-pawanpraka1 b/changelogs/unreleased/196-pawanpraka1 new file mode 100644 index 0000000..06ce361 --- /dev/null +++ b/changelogs/unreleased/196-pawanpraka1 @@ -0,0 +1 @@ +Reverting back to old way of checking the volume status diff --git a/pkg/zfs/mount.go b/pkg/zfs/mount.go index aa911b1..5899cd3 100644 --- a/pkg/zfs/mount.go +++ b/pkg/zfs/mount.go @@ -139,7 +139,7 @@ func verifyMountRequest(vol *apis.ZFSVolume, mountpath string) error { vol.Spec.OwnerNodeID != NodeID { return status.Error(codes.Internal, "verifyMount: volume is owned by different node") } - if vol.Status.State != ZFSStatusReady { + if vol.Finalizers == nil { return status.Error(codes.Internal, "verifyMount: volume is not ready to be mounted") }