[openstack-dev] [Heat] Bug in documentation?

Zane Bitter zbitter at redhat.com
Wed Sep 26 19:49:44 UTC 2018


On 26/09/18 12:02 PM, Postlbauer, Juan wrote:
> Hi everyone:
> 
> I see that heat doc 
> https://docs.openstack.org/heat/rocky/template_guide/openstack.html#OS::Nova::Flavor 
> states that
> 
> *ramĀ¶ 
> <https://docs.openstack.org/heat/rocky/template_guide/openstack.html#OS::Nova::Flavor-prop-ram>*
> 
> Memory in MB for the flavor.
> 
> *diskĀ¶ 
> <https://docs.openstack.org/heat/rocky/template_guide/openstack.html#OS::Nova::Flavor-prop-disk>*
> 
> Size of local disk in GB.
> 
> That would be 1000*1000 for ram and 1000*1000*1000 for disk.
> 
> But Nova doc 
> https://developer.openstack.org/api-ref/compute/#create-flavor states that:
> 
> ram
> 
> 	
> 
> body
> 
> 	
> 
> integer
> 
> 	
> 
> The amount of RAM a flavor has, in MiB.
> 
> disk
> 
> 	
> 
> body
> 
> 	
> 
> integer
> 
> 	
> 
> The size of the root disk that will be created in GiB.
> 
> That would be 1024*1024 for ram and 1024*1024*1024 for disk. Which, at 
> least for ram, makes much more sense to me.
> 
> Is this a typo in Heat documentation?

No, but it's ambiguous in a way that MiB/GiB would not be. Feel free to 
submit a patch.

- ZB



More information about the OpenStack-dev mailing list