Sunstone not reachable on 6.1 / Debian 11 - crashes on start

I’am deploying 6.1 on a Debian 11 node from scratch, which does work, but after the installation (via minione) Sunstone crashes on start:

root@frontend:/home/vagrant# systemctl status opennebula-sunstone
● opennebula-sunstone.service - OpenNebula Web UI Server
     Loaded: loaded (/lib/systemd/system/opennebula-sunstone.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Sat 2021-10-16 06:26:39 UTC; 23min ago
    Process: 23243 ExecStartPre=/usr/sbin/logrotate -f /etc/logrotate.d/opennebula-sunstone -s /var/lib/one/.logrotate.status (code=exited, status=0/SUCCESS)
    Process: 23244 ExecStart=/usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb (code=exited, status=1/FAILURE)
   Main PID: 23244 (code=exited, status=1/FAILURE)
        CPU: 1.639s

Oct 16 06:26:39 frontend systemd[1]: opennebula-sunstone.service: Scheduled restart job, restart counter is at 4.
Oct 16 06:26:39 frontend systemd[1]: Stopped OpenNebula Web UI Server.
Oct 16 06:26:39 frontend systemd[1]: opennebula-sunstone.service: Consumed 1.639s CPU time.
Oct 16 06:26:39 frontend systemd[1]: opennebula-sunstone.service: Start request repeated too quickly.
Oct 16 06:26:39 frontend systemd[1]: opennebula-sunstone.service: Failed with result 'exit-code'.
Oct 16 06:26:39 frontend systemd[1]: Failed to start OpenNebula Web UI Server.

The Sunstone logs at /var/log/one/sunstone.log are empty

Starting it manually (as root) using /usr/bin/ruby /usr/lib/one/sunstone/sunstone-server.rb does bring the server up properly.

I’am using this lab GitHub - EugenMayer/opennebula-lab: Quickly spin up an opennebula lab with a frontend and 2 compute nodes using vagrant for a fully automated installation.

Thanks for any help!

Hi @EugenMayer ,

Can you try running it manually as oneadmin?

Cheers.