Skip to main content

I installed a single nutanix CE node in a nested VMware VM but the CVM doesnt start.

The nested VM Option was checked when configuring the VM and the disk.EnableUUID parameter was set to TRUE. Allocated virtual Hardware: 10cores; 52GB RAM; 16+200+500GB drives

The installation was successfull, however the CVM wont start with the following errormessage:

error: internal error: qemu unexpectedly closed the monitor: 2025-04-29T07:57:29.088493Z qemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory

The xmldump shows the following:

<domain type='kvm'>
  <name>NTNX-be7cea29-A-CVM</name>
  <uuid>26b6df8b-f03e-482e-b12c-a8e76e767bc1</uuid>
  <memory unit='KiB'>16777216</memory>
  <currentMemory unit='KiB'>16777216</currentMemory>
  <memoryBacking>
    <hugepages/>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static' cpuset='0-4'>4</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-rhel7.6.0' max_ram_below_4g='536870912'>hvm</type>
    <boot dev='cdrom'/>
    <bootmenu enable='no'/>
  </os>

………

 

cat /proc/meminfo | grep Huge shows the following, in case that helps troubleshooting:

AnonHugePages:         0 kB
ShmemHugePages:        0 kB
FileHugePages:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB

 

Any idea what could be the mistake or whrere i should check? Im totally new to nutanix so any help is welcome.

Thank you:)

 

The 16GB voor AHV boot is way to low. Should be 64GB minimum. 

 

How many ram does the actual server/node/machine has free (the one running VMware)? 


Alright, thank you. Ill set up a new installation with more storage.
This server has about 60GB of Ram installed but ill try on another Host now which has 380GB.

Ill post an update when im done:)


Yes, 60GB is to low for the physical server when you CE node already has 54GB allocated. (there is also memory needed for ESX itself etc). 


@JeroenTielen Thank you very much. That seems to have solved the problem. Two AHVs with each one CVM were installed and are running.

However i am running into another problem now. When creating a cluster im greeted with the error message “failed to reach a node where Genesis is up”.
Ill look into that problem now.

Thanks for your help and the rather simple fix:)


just wait ;) 

 

When CVM is booted it takes some time and when the vm is low on resources it takes a bit longer. 


Unfortunately not. I stll get those errors

2025-04-29 14:33:18,741Z WARNING ThreadPoolExecutor-0_0 genesis_utils.py:1882 Failed to reach a node where Genesis is up. Ensure Genesis is running on all CVMs. Retrying...(Hit Ctrl-C to abort)

When i perform cluster status this is the output:

2025-04-29 14:33:43,412Z INFO MainThread zookeeper_session.py:136 Using multithreaded Zookeeper client library: 1
2025-04-29 14:33:43,414Z INFO MainThread zookeeper_session.py:248 Parsed cluster id: 5974025250756734693, cluster incarnation id: 1745930419920168
2025-04-29 14:33:43,414Z INFO MainThread zookeeper_session.py:270 cluster is attempting to connect to Zookeeper, host port list zk1:9876,zk2:9876
2025-04-29 14:34:03,415Z ERROR MainThread configuration.py:160 Could not get Zookeeper connection with host_port_list: zk1:9876,zk2:9876
2025-04-29 14:34:03,416Z WARNING MainThread cluster:3247 Could not read SVM backplane IPs from zk
2025-04-29 14:34:03,416Z INFO MainThread cluster:3302 Executing action status on SVMs localhost
2025-04-29 14:34:03,422Z INFO Dummy-1 zookeeper_session.py:941 Calling zookeeper_close and invalidating zhandle
2025-04-29 14:34:18,422Z INFO MainThread cluster:2265 Waiting for response from localhost
The state of the cluster: Unknown
Lockdown mode: Disabled

        CVM: localhost Down
2025-04-29 14:34:28,018Z INFO MainThread cluster:3465 Success!

I cant stop and destroy the cluster, i cant create a cluster (or a new one ig), i also cant start it. When i try to run the health checks it fails to execute them.

Im out of ideas here. Any suggestions or should i open a new topic in this forum.

 

BTW: promiscuous mode is enabled/allowed at the vswitch and the CVMs and AHVs can ping each other.