Related issue
https://github.com/longhorn/longhorn/issues/2897
Test Step
Given with Longhorn v1.2.0-rc2 or above.
And deploy engine image oldEI
older than v1.2.0 (for example: longhornio/longhorn-engine:v1.1.2
).
And create volume vol-old-engine
.
And attach volume vol-old-engine
to one of a node.
And upgrade volume vol-old-engine
to engine image oldEI
.
When create backup of volume vol-old-engine
.
Then watch kubectl kubectl get backups.longhorn.io -l backup-volume=vol-old-engine -w
.
And should see two backups temporarily (in transition state).
And should see only one backup be left after a while.