Because of http://dev.opennebula.org/projects/opennebula/repository/revisions/f71432552351ff348fcfc1677585d831301d1bb7 (f7143255) self-service portal timeouts in 5s.

There is a working patch for that (or occi/ui should use the same cookie as sunstone):

--- lib/ruby/cloud/occi/ui/public/js/sunstone.js.orig 2013-06-19 13:21:29.000000000 +0300 +++ lib/ruby/cloud/occi/ui/public/js/sunstone.js 2013-06-19 13:39:01.000000000 +0300
@@ -296,9 +296,9 @@ $(document).ready(function(){
     setLogin();

     setInterval(function(){
-        var user_cookie = cookie["one-user"];
+        var user_cookie = cookie["occi-user"];
         readCookie();
- if ((cookie["one-user"] == null) || (cookie["one-user"] !== user_cookie)) { + if ((cookie["occi-user"] == null) || (cookie["occi-user"] !== user_cookie)) {
             window.location.href='/';
         }
     },5000);

Regards,
Rolandas Naujikas
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to