[Starlingx-discuss] Cannot allocate a VM - STX2.0-AIO-SX - Error500

Mariano Ucha lw2dht at gmail.com
Tue Oct 1 13:21:43 UTC 2019


Thank you very much  Chris, now my VM is running. I have one question
because i try to allocate a vm with 512Mb and fails. But now i create a new
flavor with 1Gb of RAM.

My question is, Do I have to allocate so much hugepages like RAM i'll use
in my VM.

Thank you in advance.
Mariano

El lun., 30 sept. 2019 a las 13:11, Chris Friesen (<
chris.friesen at windriver.com>) escribió:

> It looks like you don't have any hugepages allocated.  Lock the node, then
> use the dashboard or the CLI (running something like "system
> host-memory-modify controller-0 0 -1G 2" to allocate two 1G hugepages to
> NUMA node 0).  Then unlock the node.
>
> Kubernetes only allows a single size of hugepage, so whatever size we use
> for the OpenStack guests has to match the hugepage size used for vswitch
> (which defaults to 1G but can be changed to 2MB).
>
> Chris
>
> On 9/27/2019 7:13 PM, Mariano Ucha wrote:
>
> Hi Chris! Thank you for your answer.
>
>
>
> I have a All in One Simplex installation. I made it in a HW with 128Mb and
> 2 socket with 8 core each.
>
>
>
> Do you prefer to crear a launchpad to keep logs and tracking?
>
>
>
> Outputs
>
>
>
> *What does "virsh capabilities|grep -C5 pages" show on the compute node?*
>
>
>
> controller-0:~$ virsh capabilities|grep -C5 pages
>
>       <feature name='arat'/>
>
>       <feature name='ssbd'/>
>
>       <feature name='xsaveopt'/>
>
>       <feature name='pdpe1gb'/>
>
>       <feature name='invtsc'/>
>
>       <pages unit='KiB' size='4'/>
>
>       <pages unit='KiB' size='2048'/>
>
>       <pages unit='KiB' size='1048576'/>
>
>     </cpu>
>
>     <power_management>
>
>       <suspend_mem/>
>
>     </power_management>
>
>     <iommu support='yes'/>
>
> --
>
>     </migration_features>
>
>     <topology>
>
>       <cells num='2'>
>
>         <cell id='0'>
>
>           <memory unit='KiB'>67073312</memory>
>
>           <pages unit='KiB' size='4'>16506184</pages>
>
>           <pages unit='KiB' size='2048'>0</pages>
>
>           <pages unit='KiB' size='1048576'>1</pages>
>
>           <distances>
>
>             <sibling id='0' value='10'/>
>
>             <sibling id='1' value='20'/>
>
>           </distances>
>
>           <cpus num='16'>
>
> --
>
>             <cpu id='23' socket_id='0' core_id='7' siblings='7,23'/>
>
>           </cpus>
>
>         </cell>
>
>         <cell id='1'>
>
>           <memory unit='KiB'>67108860</memory>
>
>          <pages unit='KiB' size='4'>16515071</pages>
>
>           <pages unit='KiB' size='2048'>0</pages>
>
>           <pages unit='KiB' size='1048576'>1</pages>
>
>           <distances>
>
>             <sibling id='0' value='20'/>
>
>             <sibling id='1' value='10'/>
>
>           </distances>
>
>           <cpus num='16'>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20191001/552f8f79/attachment.html>


More information about the Starlingx-discuss mailing list