[one-users] sunstone fails to start after frontend reboot
Alexandre Bezroutchko
abb at gremwell.com
Mon Apr 8 03:03:01 PDT 2013
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 at one1:/etc# service opennebula stop ; service
opennebula-sunstone stop
oned and scheduler stopped
sunstone-server stopped
root at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130408/6c865c36/attachment-0001.htm>
More information about the Users
mailing list