Comment 20 for bug 1558880

Revision history for this message
Steven Relf (srelf) wrote : Re: instance can not resize ephemeral in mitaka

So i am also affected by this issue.

I was thinking. It sounds like we have the following items to work around.

1. ephemeral disk takes up the full allocation from flavor.
   if so upon resize we increase the current ephemeral disk to the new size

2. Multiple ephemeral disks, split into multiple disks upto the max allowed flavor size.
   In this case, could we not just create a new ephemeral disk that takes the full allocation of the additional ephemeral allocation from the new flavor.

3. Single or multi ephemeral disks which add up to less than the current flavor.
   This is the hardest one to handle i believe, i would be tempted to just build another single disk taking the full additional allocation. EG. first flavor has 200Gb Eph, but only 100Gb is used, then resized to a flavor with 400Gb eph, we keep the current 100Gb ephemeral, (as thats what they decided to use), then we would create a new eph disk out of the remainder so in this example 200Gb