Comment 9 for bug 1576718

Revision history for this message
Sirisha (sirisha-1) wrote :

Hi Craig,

So you want to throw an error while updating "cinder quota-update --volume-type lvmdriver-1 --volumes 100 xyzabc " if volumes < sum of volume-types

Or correspondingly do you want the volume field to update to sum of volume-types?

for example: initially if this the state
 volumes | 10 |
| volumes_lvmdriver-1 | -1 |
| volumes_sheel_type | -1 |
| volumes_type_private | -1 |

and now when I run "cinder quota-update --volume-type lvmdriver-1 --volumes 100 xyzabc"

should it throw an error as volume is 10 but you are trying to update volume-type-lvm to 100

Or even volume should show 100 (or sum of updated volume-tyes(lvm+sheel+private))
Something like this:
volumes | 100 |
| volumes_lvmdriver-1 | 100 |
| volumes_sheel_type | -1 |
| volumes_type_private | -1 |

Please correct me if I am wrong

Thanks!