Open chriscchien opened 2 months ago
@chriscchien Does it happen in v1.6.2?
@chriscchien Does it happen in v1.6.2?
Yes this issue can be reproduced in v1.6.2
I see. IIRC, this is a known issue.
https://github.com/longhorn/longhorn/issues/7573 purohits the operation. We need to clarify the v1 andv2 operations.
cc @shuo-wu
IIRC SPDK allows deleting a snapshot directly behind the head. But I haven't tested it thoroughly.
Describe the bug
A v2 volume have two snapshots, delete the parent of volume head snapshot not work(v1 volume can perform this action without problems).
To Reproduce
file1
and takesnapshot1
file2
and takesnapshot2
snapshot2
Expected behavior
Delete the v2 volume parent of volume head snapshot should work as v1 volume
Support bundle for troubleshooting
supportbundle_b37b319b-9dff-4925-8658-8839c5c7f0bd_2024-07-23T08-34-33Z.zip
Environment
Additional context
Can reproduced in v1.6.2