Comment 26 for bug 1029950

Revision history for this message
Andrew Laski (alaski) wrote :

After digging a bit more I do have some questions on the behavior that's reported here. There is an early check to ensure that the image size is not too large for the flavor being used:

        root_gb = instance_type['root_gb']
        if root_gb:
            if int(image.get('size') or 0) > root_gb * (1024 ** 3):
                raise exception.FlavorDiskTooSmall()

This gives deployers some protection unless they're creating flavors that can be scheduled to computes which can't handle that disk size. Or using root_gb = 0.

It would be great to add some additional protection on computes to ensure that they're not filling their entire filesystem, but I think the impact is somewhat mitigated here.