CE install failed in VM - failed to start AHV firstboot script | Nutanix Community
Skip to main content

Trying to install CE edition in a VM to test with, single node install

ISO mounts fine and installs, gets to the reboot prompt then fails to start AHV firstboot script

 

 

I took a look at the firstboot log, shown below

 

Any help much appreciated

 

2024-03-07 16:21:57,622 INFO  Running cmd 'touch /root/firstboot/phases/expand_boot_partition']
2024-03-07 16:21:57,625 INFO  Running cmd g'/sbin/iscsi-iname']
2024-03-07 16:21:57,631 INFO  Running cmd n'/sbin/restorecon -R /etc/iscsi']
2024-03-07 16:21:57,637 INFO  Running cmd i'virsh version']
2024-03-07 16:21:58,076 INFO  Running cmd n'virsh net-list --all']
2024-03-07 16:21:58,116 INFO  Running cmd n'virsh net-list --all']
2024-03-07 16:21:58,156 INFO  Running cmd u'virsh net-define /root/net-VM-Network.xml']
2024-03-07 16:21:58,199 INFO  Running cmd R'virsh net-start VM-Network']
2024-03-07 16:21:58,239 INFO  Running cmd  'virsh net-autostart VM-Network']
2024-03-07 16:21:58,280 INFO  Running cmd Â'virsh net-list --all']
2024-03-07 16:21:58,320 INFO  Running cmd 'virsh net-define /root/net-NTNX-Local-Network.xml']
2024-03-07 16:21:58,361 INFO  Running cmd O'virsh net-start NTNX-Local-Network']
2024-03-07 16:21:58,611 INFO  Running cmd F'virsh net-autostart NTNX-Local-Network']
2024-03-07 16:21:58,652 INFO  Running cmd N'touch /root/firstboot/phases/create_libvirt_networks']
2024-03-07 16:21:58,656 INFO  Running cmd I'echo "$(hostname)-CVM"']
2024-03-07 16:21:58,660 INFO  Running cmd u'sed -i "s/<name>NTNX-CVM/<name>NTNX-150d398d-A-CVM/" /root/NTNX-CVM.xml']
2024-03-07 16:21:58,665 INFO  Running cmd 5'sed -i "/<uuid>/d" /root/NTNX-CVM.xml']
2024-03-07 16:21:58,668 INFO  Running cmd 6'chmod 644 /var/lib/libvirt/NTNX-CVM/svmboot.iso']
2024-03-07 16:21:58,672 INFO  Running cmd 6'chown qemu:qemu /var/lib/libvirt/NTNX-CVM/svmboot.iso']
2024-03-07 16:21:58,675 INFO  Running cmd ,'virsh define /root/NTNX-CVM.xml']
2024-03-07 16:21:58,721 INFO  Running cmd 8'service libvirtd restart']
2024-03-07 16:21:58,883 INFO  Running cmd 5u'virsh start "NTNX-150d398d-A-CVM"']
2024-03-07 16:21:59,871 INFO  Execution of command Nu'virsh start "NTNX-150d398d-A-CVM"'] failed, exit code: 1, stdout:
, stderr: error: Failed to start domain NTNX-150d398d-A-CVM
error: internal error: qemu unexpectedly closed the monitor: 2024-03-07T16:21:59.408782Z qemu-kvm: warning: Large machine and max_ram_below_4g (536870912) not a multiple of 1G; possible bad performance.
2024-03-07T16:21:59.413082Z qemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory

2024-03-07 16:22:04,877 FATAL  Execution of command Au'virsh start "NTNX-150d398d-A-CVM"'] failed, exit code: 1, stdout:
, stderr: error: Failed to start domain NTNX-150d398d-A-CVM
error: internal error: qemu unexpectedly closed the monitor: 2024-03-07T16:21:59.408782Z qemu-kvm: warning: Large machine and max_ram_below_4g (536870912) not a multiple of 1G; possible bad performance.
2024-03-07T16:21:59.413082Z qemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory

2024-03-07 16:22:04,878 INFO  Running cmd 2'touch /root/.firstboot_fail']
 

 

 

 

Â