Cambium cnMaestro on XenServer - Welcome to emergency mode! [SOLVED]

I had to work on deploying cnMaestro On-Premises v2.1.0 on XenServer.

I was given OVA file cnmaestro-on-premises_2.1.0-r22_amd64.ova. Please don’t be confused by amd64 suffix in the file name, it simply means that it is 64bit (amd architecture based but not limited to amd processors).

After deploying OVA file on XenServer the VM started, but Ubuntu 16.04.5 (OS the product is built on) got stuck and went to “emergency mode”:

Welcome to emergency mode! After logging in, type "journalctl -xb" to view
system logs, "systemctl reboot" to reboot, "systemctl default" or ^D to
ty again to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):

After pressing Enter (it gives you root CLI) and executing “journalctl -xb” I figured that system was not able to mount sdb1 partition:

... systemd[1]: dev-sdb1.device: Job dev-sdb1.device/start timed out.
... systemd[1]: Timed out waiting for device dev-sdb1.device.

It’s worth to mention that according to “cnMaestro On-Premises Quick Start Guide” OVA supports VMware and Oracle VirtualBox, but NOT XenServer. As you might know, block device assignment is different between VMware and XenServer. In VMware environment you would see /dev/sdX for SCSI disks, in XenServer you would expect /dev/xvdX. You can see devices by executing “fdisk -l” command.

Checking /etc/fstab file I noticed an entry for /dev/sdb1. One of the easiest and straightforward workarounds is to modify /etc/fstab to replace /dev/sdb1 with /dev/xvdb1 which I did and it fixed the issue.

Keep in mind after VM started you should wait for few more seconds until UI if fully ready. Otherwise you will see “Service Temporarily Unavailable” page.

Good luck!

Admin area