We have a volume and snapshot of this volume with volume type T1, and we retype this volume to a volume type T2. At this time, volume and snapshot have different volume type. And then we delete the snapshot and check quota usage of project and it wrong! When i delete snapshot it subtract quota usage of volume type T2.
Step to reproduce:
- Create volume volume type T1
- Create snapshot of volume
- Retype volume to volume type T2
- Delete snapshot or delete volume with cascade
We have a volume and snapshot of this volume with volume type T1, and we retype this volume to a volume type T2. At this time, volume and snapshot have different volume type. And then we delete the snapshot and check quota usage of project and it wrong! When i delete snapshot it subtract quota usage of volume type T2.
Step to reproduce:
- Create volume volume type T1
- Create snapshot of volume
- Retype volume to volume type T2
- Delete snapshot or delete volume with cascade