Thanks for your reply. I think booting an image-based server with a 0 GB disk size flavor means we have skipped the disk filter and quota check. If the image virtual size makes the value of disk_available_least negative, the creation of this server should not pass the disk filter. Even we do not change the behavior of nova-api, we should use the actual disk size to schedule compute nodes and claim resource.
Thanks for your reply. I think booting an image-based server with a 0 GB disk size flavor means we have skipped the disk filter and quota check. If the image virtual size makes the value of disk_available_ least negative, the creation of this server should not pass the disk filter. Even we do not change the behavior of nova-api, we should use the actual disk size to schedule compute nodes and claim resource.