[Pkg-opennebula-devel] OpenNebula 3.6 packages: sunstone does not yet work (was: Re: Packaging opennebula 3.6 in parallel with git-buildpackage)

Martin Steigerwald ms at teamix.de
Wed Aug 1 14:37:39 UTC 2012


Am Dienstag, 31. Juli 2012 schrieb Martin Steigerwald:
> Am Dienstag, 31. Juli 2012 schrieb Martin Steigerwald:
> > Am Dienstag, 31. Juli 2012 schrieb Damien Raude-Morvan:
> > > Hi Martin (and Guido),
> > 
> > Hi Damien, hi everyone,
> 
> […]
> 
> > I have some OpenNebula 3.6 snapshot packages somewhat working. Commit
> > b3b72344ae09b4b32e165c2f5428836d78ad4c03 from experimental branch.
> 
> […]
> 
> > I can login to sunstone however. "Historical monitoring information" just
> > display progress circles. It never displayed anything for me with
> > previous package versions (3.2 / 3.4).
> 
> Sunstone requires more work. Links do not work except for documentation
> links. List views do not work. There is something missing here I bet.
> 
> I was able to installe the opennebula-node package on a node and to setup
> the host via onehost command.
> 
> I'll continue tomorrow.

I checked all files from the distribution and the upstream package against what 
I install. I checked the paths references in the files from 
debian/patches/sunstone_system_jquery.diff to be existing in the system where I 
installed 3.6.0 packages. I also checked the sunstone server error log, which 
is empty except for:

cloudmaster:/var/log/one# cat sunstone.error 
== Sinatra/1.3.2 has taken the stage on 9869 for development with backup from 
Thin

The usual log seems to contain only usual stuff[1].

I also checked whether the dependencies of sunstone are installed via by 
looking at which are required in install_gems.

I also tried apt-get purge opennebula-sunstone and re-installing it from my 
package. I even removed all of opennebula packages an anything left over in 
/var/lib/one and reinstalled everything from scratch.

Yet I observe the following problems:

- all links except for documentation links to not work

- the dashboard is that of the old Sunstone 3.4. I get the groups "Summary of 
resources", "Historical monitoring information", "Quickstart" except for 
"Hosts", "Clusters", "Virtual Machines", "System Information"
  - its also nonfunctional as in not displaying any values

- yet I have "Dashboard", "System", "Virtual Resources", "Infrastructure", 
"Marketplace"
  - but only the last one with an icon

- table views like in "Infrastructure/Datastores" do not work


I am stuck at the moment. Any hints?

I am pretty sure I missed something, but I do not get what. Some files seem to 
be still be outdated, although I git-import-orig'd the opennebula-3.6.0.tar.gz



[1]
--------------------------------------
         Server configuration         
--------------------------------------
{:tmpdir=>"/var/tmp/one",
 :one_xmlrpc=>"http://localhost:2633/RPC2",
 :host=>"0.0.0.0",
 :port=>9869,
 :debug_level=>3,
 :auth=>"sunstone",
 :core_auth=>"cipher",
 :vnc_proxy_base_port=>29876,
 :vnc_proxy_path=>"/usr/bin/websockify",
 :vnc_proxy_support_wss=>false,
 :vnc_proxy_cert=>nil,
 :vnc_proxy_key=>nil,
 :lang=>"en_US",
 :marketplace_url=>"https://marketplace.c12g.com/appliance"}

cloudmaster:~/one-3.6# egrep -o "\"(GET|POST).*\"" /var/log/one/sunstone.log
"GET / HTTP/1.1"
"GET /css/login.css HTTP/1.1"
"GET /js/opennebula.js HTTP/1.1"
"GET /js/login.js HTTP/1.1"
"GET /images/ajax-loader.gif HTTP/1.1"
"GET /images/panel.png HTTP/1.1"
"GET /images/opennebula-sunstone-big.png HTTP/1.1"
"GET /images/login.png HTTP/1.1"
"GET /images/login_over.png HTTP/1.1"
"POST /login HTTP/1.1"
"GET / HTTP/1.1"
"GET /vendor/dataTables/ColVis.css HTTP/1.1"
"GET /vendor/FontAwesome/css/font-awesome.css HTTP/1.1"
"GET /vendor/dataTables/ColVis.min.js HTTP/1.1"
"GET /vendor/flot/jquery.flot.pie.min.js HTTP/1.1"
"GET /vendor/flot/jquery.flot.resize.min.js HTTP/1.1"
"GET /js/monitoring.js HTTP/1.1"
"GET /js/plugins/marketplace-tab.js HTTP/1.1"
"GET /vendor/FontAwesome/font/fontawesome-webfont.woff HTTP/1.1"

Ciao,
-- 
Martin Steigerwald - teamix GmbH - http://www.teamix.de
gpg: 19E3 8D42 896F D004 08AC A0CA 1E10 C593 0399 AE90



More information about the Pkg-opennebula-devel mailing list