Comment 1 for bug 1335113

Revision history for this message
Julia Portnova (yportnova) wrote :

There is a problem with calculating capacity.

When manila creates volume it picks one aggreagte assigned to Vserver. There can be more than one aggregates assigned.
So when we calculate capacity we sum the capacity of all aggregates assigned to vserver.

For example we may have three aggreagates - 1G, 2G and 2G free capacity. So the total will be 5G.
When creating 4G share netapp driver will fail.

So for now I think the right way is to return max capacity of aggregate.