Activity log for bug #1758278

Date Who What changed Old value New value Message
2018-03-23 08:46:51 yangjie bug added bug
2018-03-24 03:14:19 yangjie description The value of disk_available_least become negative unexpectedly, because we allow to boot a image-based vm using a flavor with 0 GB disk size. When user try to boot a image-based vm using a flavor with 0 GB disk size, Nova use the virtual size from image property to replace the '0' size to create disk file in instance folder. This virtual size from image property make the value of disk_available_least inconsistent with flavor-based estimate. It makes user confused sometimes. Maybe we should forbid the creation of a vm from a flavor with zero disk size, and throw out a HTTP exception in Nova API. The value of disk_available_least become negative unexpectedly, because we allow to boot a image-based vm using a flavor with 0 GB disk size. When user try to boot a image-based vm using a flavor with 0 GB disk size, Nova use the virtual size from image property to replace the '0' size to create disk file in instance folder. This virtual size from image property make the value of disk_available_least inconsistent with flavor-based estimate. It makes user confused sometimes. Maybe we should forbid the creation of a image-based vm from flavor with zero disk size, and throw out a HTTP exception in Nova API.
2018-04-05 16:26:33 melanie witt tags api compute
2018-04-13 16:28:01 Matt Riedemann marked as duplicate 1739646