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

2018-09-26 Thread Zane Bitter

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¶ 
*


Memory in MB for the flavor.

*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


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

2018-09-26 Thread Postlbauer, Juan
Hi everyone:

 

I see that heat doc
https://docs.openstack.org/heat/rocky/template_guide/openstack.html#OS::Nova
::Flavor states that

ram
 ¶

Memory in MB for the flavor.

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

 



smime.p7s
Description: S/MIME cryptographic signature
__
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