Hello,
I run Opennebula 3.8.3 on Debian Squeeze. I have noticed Sunstone fails
to start after frontend host reboots. It is reproducible:
root@one1:/etc# service opennebula stop ; service
opennebula-sunstone stop
oned and scheduler stopped
sunstone-server stopped
root@one1:/etc# service opennebula start ; service
opennebula-sunstone start
Error executing sunstone-server.
Check /var/log/one/sunstone.error and /var/log/one/sunstone.log for
more information
root@one1:/etc# tail /var/log/one/sunstone.log
:core_auth=>"cipher",
:debug_level=>3,
:tmpdir=>"/var/tmp",
:vnc_proxy_key=>nil,
:port=>9869,
:lang=>"en_US",
:vnc_proxy_port=>29876,
:auth=>"sunstone"}
Sun Apr 07 00:49:00 2013 [E]: Error initializing authentication system
Sun Apr 07 00:49:00 2013 [E]: [UserPoolInfo] User couldn't be
authenticated, aborting call.
There is a naive fix for this problem, but I wonder if there is any
better solution?
--- /usr/bin/sunstone-server- 2013-04-07 00:53:22.000000000 +0200
+++ /usr/bin/sunstone-server 2013-04-07 00:54:01.000000000 +0200
@@ -65,6 +65,9 @@
exit 1
fi
+ # Wait for opennebula to start (otherwise sunstone fails to start as
well)
+ sleep 5
+
# Start the sunstone daemon
touch $SUNSTONE_LOCK_FILE
ruby $SUNSTONE_SERVER > $SUNSTONE_LOG 2>$SUNSTONE_LOG_ERROR &
Best regards,
Alex
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org