OpenNebula Frontend VM inside KVM (Ubuntu 22.04) – VM not booting

Hi Team,

I am currently running an OpenNebula (4.5) environment and would like some guidance regarding an issue I am facing.

Environment:

  • Hypervisor: KVM on Ubuntu 22.04

  • OpenNebula Frontend: Running inside a VM on KVM

  • VM OS: Ubuntu 22.04

Issue:
Everything was running perfectly, but suddenly the VM stopped booting after a reboot. The OpenNebula frontend is installed on this VM running inside KVM, so the cloud management services are currently unavailable.

While troubleshooting using a live ISO, I mounted the VM disk manually but encountered the following error:

sudo: unable to allocate pty: No such device

Troubleshooting performed:

  • Booted the VM using a live ISO

  • Mounted the VM disk manually

  • Attempted to access the filesystem and repair the system

However, the VM still does not boot correctly.

Questions:

  1. Has anyone faced a similar boot issue with a frontend VM running inside KVM?

  2. What would be the recommended way to recover the VM or repair the bootloader?

  3. Is it considered a suitable architecture to run the OpenNebula frontend inside a KVM VM with Ubuntu 22.04, or is it recommended to run the frontend on a dedicated physical server?

Any suggestions or best practices would be greatly appreciated.

Thanks.

Hello @Najeeb.Usmani,

Apologies for the late reply and welcome to this forum.

The official answer is that we are no longer support OpenNebula 4.5, mainly since there are some bugs and issues that might be fixed already in the last version. Aside that, official support for Ubuntu 22.04 was introduced on 6.4, so everything you are trying to do on 4.5 will require a lot of manual tweaks and compiling things on your own.

We strongly suggest to use OpenNebula 7.0.

If you need more information about deploying an Ubuntu image inside a VM, please check our documentation:
KVM Installation
Virtual Machines Images

Regards,

Is frontend vm installation possible inside a kvm host as a vm?

Hello,

Yes, it is possible. To do it, the easiest way is probably using one-deploy (you will need some ansible knowledge). Please, check the following link:

Take into account the network configuration: the frontend VM will need a bridged interface to work that must be able to connect to the hosts.

Cheers!!