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
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev