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

Postlbauer, Juan jpc at hpe.com
Wed Sep 26 16:02:07 UTC 2018


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::Nov
a::Flavor-prop-ram> ¶

Memory in MB for the flavor.

disk
<https://docs.openstack.org/heat/rocky/template_guide/openstack.html#OS::Nov
a::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?

 

Best Regards,

               Juan Postlbauer

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180926/7deeadc6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5756 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180926/7deeadc6/attachment.bin>


More information about the OpenStack-dev mailing list