Your message dated Tue, 08 May 2012 16:06:16 +0000
with message-id <[email protected]>
and subject line Bug#663086: fixed in opennebula 3.2.1-3
has caused the Debian Bug report #663086,
regarding occi-server: html/js/image files for self-service portal missing
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
663086: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663086
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: opennebula
Version: 3.2.1-1
Severity: normal
Dear Maintainer,
again I am reporting from my workstation, server is pure sid as of today.
after having fixed #663065 and #663072 for me I can access the self
service portal from
http://opennebula.of.teamix.net:4567/ui
But the HTML files are missing:
application error
Errno::ENOENT at /ui
No such file or directory - /usr/lib/one/ruby/cloud/occi/ui/templates/login.html
file: occi-server.rb
location: read
line: 340
BACKTRACE
(expand)
JUMP TO: GET POST COOKIES ENV
/usr/lib/one/ruby/cloud/occi/occi-server.rb in read
post '/ui/logout' do
destroy_session
end
get '/ui' do
if !authorized?
return File.read(File.dirname(__FILE__)+'/ui/templates/login.html')
end
time = Time.now + 60
response.set_cookie("occi-user",
:value=>"#{session[:user]}",
:expires=>time)
/usr/lib/one/ruby/cloud/occi/occi-server.rb in GET /ui
return File.read(File.dirname(__FILE__)+'/ui/templates/login.html')
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in call
proc { unbound_method.bind(self).call(*@block_params) } :
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in compile!
proc { unbound_method.bind(self).call(*@block_params) } :
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in instance_eval
throw :halt, instance_eval(&block)
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in route_eval
throw :halt, instance_eval(&block)
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in route!
route_eval(&block)
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in process_route
yield
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in catch
catch(:pass) do
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in process_route
catch(:pass) do
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in route!
pass_block = process_route(pattern, keys, conditions) do
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in each
routes.each do |pattern, keys, conditions, block|
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in route!
routes.each do |pattern, keys, conditions, block|
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in dispatch!
route!
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in call!
invoke { dispatch! }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in instance_eval
res = catch(:halt) { instance_eval(&block) }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in invoke
res = catch(:halt) { instance_eval(&block) }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in catch
res = catch(:halt) { instance_eval(&block) }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in invoke
res = catch(:halt) { instance_eval(&block) }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in call!
invoke { dispatch! }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in call
dup.call!(env)
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb in context
status, headers, body = app.call(env)
/usr/lib/ruby/vendor_ruby/rack/session/abstract/id.rb in call
context(env)
/usr/lib/ruby/vendor_ruby/rack/head.rb in call
status, headers, body = @app.call(env)
/usr/lib/ruby/vendor_ruby/rack/commonlogger.rb in call
status, header, body = @app.call(env)
/usr/lib/ruby/vendor_ruby/sinatra/showexceptions.rb in call
@app.call(env)
/usr/lib/ruby/vendor_ruby/rack/methodoverride.rb in call
@app.call(env)
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in call
synchronize { prototype.call(env) }
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in synchronize
yield
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in call
synchronize { prototype.call(env) }
/usr/lib/ruby/vendor_ruby/thin/connection.rb in pre_process
response = @app.call(@request.env)
/usr/lib/ruby/vendor_ruby/thin/connection.rb in catch
catch(:async) do
/usr/lib/ruby/vendor_ruby/thin/connection.rb in pre_process
catch(:async) do
/usr/lib/ruby/vendor_ruby/thin/connection.rb in process
post_process(pre_process)
/usr/lib/ruby/vendor_ruby/thin/connection.rb in receive_data
process if @request.parse(data)
/usr/lib/ruby/vendor_ruby/eventmachine.rb in run_machine
run_machine
/usr/lib/ruby/vendor_ruby/eventmachine.rb in run
run_machine
/usr/lib/ruby/vendor_ruby/thin/backends/base.rb in start
EventMachine.run(&starter)
/usr/lib/ruby/vendor_ruby/thin/server.rb in start
@backend.start
/usr/lib/ruby/vendor_ruby/rack/handler/thin.rb in run
server.start
/usr/lib/ruby/vendor_ruby/sinatra/base.rb in run!
handler.run self, :Host => bind, :Port => port do |server|
/usr/lib/ruby/vendor_ruby/sinatra/main.rb in nil
at_exit { Application.run! if $!.nil? && Application.run? }
/usr/lib/one/ruby/cloud/occi/occi-server.rb in nil
post '/ui/upload' do
GET
No GET data.
POST
No POST data.
COOKIES
[…]
Rack ENV
Variable Value
GATEWAY_INTERFACE
CGI/1.2
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_ACCEPT_LANGUAGE
en-us,en;q=0.5
HTTP_CONNECTION
keep-alive
HTTP_COOKIE
[…]
HTTP_HOST
opennebula.of.teamix.net:4567
HTTP_USER_AGENT
Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0
Iceweasel/11.0
HTTP_VERSION
HTTP/1.1
PATH_INFO
/ui
QUERY_STRING
REMOTE_ADDR
[…]
REQUEST_METHOD
GET
REQUEST_PATH
/ui
REQUEST_URI
/ui
SCRIPT_NAME
SERVER_NAME
opennebula.of.teamix.net
SERVER_PORT
4567
SERVER_PROTOCOL
HTTP/1.1
SERVER_SOFTWARE
thin 1.3.1 codename Triple Espresso
async.callback
#<Method: Thin::Connection#post_process>
async.close
#<EventMachine::DefaultDeferrable:0x7ff9dd8a7698>
rack.errors
#<Object:0x7ff9e179d6e0>
rack.input
#<StringIO:0x7ff9dd8a7cd8>
rack.multiprocess
false
rack.multithread
false
rack.request.cookie_hash
[…]
rack.request.cookie_string
[…]
rack.request.query_hash
{}
rack.request.query_string
rack.run_once
false
rack.session
#<Rack::Session::Abstract::SessionHash:0x3ffceec539e4 not yet loaded>
rack.session.options
{:key=>"occi", :expire_after=>nil, :domain=>nil, :renew=>false, :secure=>false,
:sidbits=>128, :httponly=>true, :id=>nil, :path=>"/", :drop=>false,
:defer=>false, :secure_random=>SecureRandom}
rack.url_scheme
http
rack.version
[1, 0]
sinatra.error
#<Errno::ENOENT: No such file or directory -
/usr/lib/one/ruby/cloud/occi/ui/templates/login.html>
You're seeing this error because you have enabled the show_exceptions setting.
Installing the files manually fixes the issue for me:
opennebula:~# apt-get source opennebula
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Statusinformationen werden eingelesen... Fertig
HINWEIS: »opennebula«-Paketierung wird betreut im
»Git«-Versionsverwaltungssystem auf:
git://git.debian.org/pkg-opennebula/opennebula.git
[…]
opennebula:~# cd opennebula-3.2.1/
opennebula:~/opennebula-3.2.1# find -iname "*login.html*"
./.pc/sunstone_system_jquery.diff/src/sunstone/templates/login.html
./.pc/ozones_system_jquery.diff/src/ozones/Server/templates/login.html
./src/cloud/occi/lib/ui/templates/login.html
./src/ozones/Server/templates/login.html
./src/sunstone/templates/login.html
opennebula:~/opennebula-3.2.1# rsync -av ./src/cloud/occi/lib/ui/
/usr/lib/one/ruby/cloud/occi/ui
sending incremental file list
created directory /usr/lib/one/ruby/cloud/occi/ui
./
public/
public/css/
public/css/application.css
public/css/layout.css
public/css/login.css
[…]
Now I get the login screen, but it doesn't let me in. Neither with
the clear text password now with the hash. There does seem to be some
authentication issue. Lets see whether I can find this one as well.
Thanks,
Martin
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable'), (110, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages opennebula depends on:
ii libc6 2.13-26
ii libgcc1 1:4.6.3-1
ii libmysqlclient16 5.1.58-1
ii libsqlite3-0 3.7.10-1
ii libssl1.0.0 1.0.0g-1
ii libstdc++6 4.6.3-1
ii libxml2 2.7.8.dfsg-7
ii libxmlrpc-c++4 <none>
ii libxmlrpc-core-c3 <none>
ii opennebula-common 3.2.1-1
ii ruby 4.8
ii ruby-password [libpassword-ruby] 0.5.3-3
ii ruby-sequel [libsequel-ruby] 3.33.0-1
ii ruby1.8 [ruby] 1.8.7.352-2
ii rubygems 1.8.15-1
Versions of packages opennebula recommends:
ii libmysql-ruby 2.8.2+gem2deb-1
ii ruby-mysql [libmysql-ruby] 2.8.2+gem2deb-1
ii ruby-sqlite3 [libsqlite3-ruby] 1.3.5-1
Versions of packages opennebula suggests:
ii mysql-server <none>
ii ruby-amazon-ec2 [libamazonec2-ruby] 0.9.17-2
--- End Message ---
--- Begin Message ---
Source: opennebula
Source-Version: 3.2.1-3
We believe that the bug you reported is fixed in the latest version of
opennebula, which is due to be installed in the Debian FTP archive:
libopennebula-java-doc_3.2.1-3_all.deb
to main/o/opennebula/libopennebula-java-doc_3.2.1-3_all.deb
libopennebula-java_3.2.1-3_all.deb
to main/o/opennebula/libopennebula-java_3.2.1-3_all.deb
opennebula-common_3.2.1-3_all.deb
to main/o/opennebula/opennebula-common_3.2.1-3_all.deb
opennebula-node_3.2.1-3_all.deb
to main/o/opennebula/opennebula-node_3.2.1-3_all.deb
opennebula-sunstone_3.2.1-3_all.deb
to main/o/opennebula/opennebula-sunstone_3.2.1-3_all.deb
opennebula-tools_3.2.1-3_all.deb
to main/o/opennebula/opennebula-tools_3.2.1-3_all.deb
opennebula_3.2.1-3.debian.tar.gz
to main/o/opennebula/opennebula_3.2.1-3.debian.tar.gz
opennebula_3.2.1-3.dsc
to main/o/opennebula/opennebula_3.2.1-3.dsc
opennebula_3.2.1-3_amd64.deb
to main/o/opennebula/opennebula_3.2.1-3_amd64.deb
ruby-opennebula_3.2.1-3_all.deb
to main/o/opennebula/ruby-opennebula_3.2.1-3_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Damien Raude-Morvan <[email protected]> (supplier of updated opennebula
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 01 Apr 2012 14:20:40 +0200
Source: opennebula
Binary: opennebula opennebula-sunstone opennebula-common opennebula-node
ruby-opennebula opennebula-tools libopennebula-java libopennebula-java-doc
Architecture: source amd64 all
Version: 3.2.1-3
Distribution: unstable
Urgency: low
Maintainer: Debian OpenNebula Maintainers
<[email protected]>
Changed-By: Damien Raude-Morvan <[email protected]>
Description:
libopennebula-java - Java bindings for OpenNebula Cloud API (OCA)
libopennebula-java-doc - Java bindings for OpenNebula Cloud API (OCA) -
documentation
opennebula - controller which executes the OpenNebula cluster services
opennebula-common - empty package to create OpenNebula users and directories
opennebula-node - empty package to prepare a machine as OpenNebula Node
opennebula-sunstone - web interface to which executes the OpenNebula cluster
services
opennebula-tools - Command-line tools for OpenNebula Cloud
ruby-opennebula - Ruby bindings for OpenNebula Cloud API (OCA)
Closes: 663065 663072 663086 672092
Changes:
opennebula (3.2.1-3) unstable; urgency=low
.
* Fix FTBFS with GCC-4.7: Add missing include. (Closes: #672092).
* d/control: Bump Standards-Version to 3.9.3, no changes needed.
* d/copyright: Use copyright-format 1.0.
* d/rules: Set occi-server.rb as executable (Closes: #663065).
* d/opennebula.install: Install VirtualMachineOCCI.rb into
/usr/lib/one/ruby/cloud/occi/ (Closes: #663072).
* d/opennebula.install: Install html/js/image files for self-service portal
(Closes: #663086).
Checksums-Sha1:
33747648cda0581092e186f4b19ba9ae6aeae5a6 2636 opennebula_3.2.1-3.dsc
d9ee166f0df693b43722b661d774c4157fde792c 23246 opennebula_3.2.1-3.debian.tar.gz
6764ff956aefce5d1c9f8f5491ea011138314e5c 1131778 opennebula_3.2.1-3_amd64.deb
5d12f0b4f0df9537468f9a38e9983a83965081cc 204348
opennebula-sunstone_3.2.1-3_all.deb
db1b185c94ec585822fa28aaf75b201078552d71 10490
opennebula-common_3.2.1-3_all.deb
3759152b52e3e2e65d93c8aea805ca1720193187 11054 opennebula-node_3.2.1-3_all.deb
af41887c7ed435db13c772c78416f9de2d34abee 40178 ruby-opennebula_3.2.1-3_all.deb
9ee766820c1a78b4f628f0806d9be7af8051b1ca 63234 opennebula-tools_3.2.1-3_all.deb
52924637a351b91b8039961ed237d5c0668d4fa0 42316
libopennebula-java_3.2.1-3_all.deb
90f2d170b4b38370c8f21f56c35221c2000a9488 89644
libopennebula-java-doc_3.2.1-3_all.deb
Checksums-Sha256:
d8b1a3ed07dc42c9ed4fd08f0668a69c120eb2bb559e90199b92022619fb41ea 2636
opennebula_3.2.1-3.dsc
7fec655b4ad78e918527bc0ea66552e8141b4a64ee1f151afe5a822f4dcd6fa0 23246
opennebula_3.2.1-3.debian.tar.gz
9ae56dd804b21a190842061a93004cad60f993d938b12987293e41e4310e2095 1131778
opennebula_3.2.1-3_amd64.deb
abc9b9046228f5bcc91c2697ba178d09c0d019e099fa0a130367386140b0ef72 204348
opennebula-sunstone_3.2.1-3_all.deb
7ce2b919aa5e258690974666abdea60079c538c13a862720a9372ac602310171 10490
opennebula-common_3.2.1-3_all.deb
fb3b4bc6b569ab43a6143c90f482dc3e144906d48379b1f809f266faa006703a 11054
opennebula-node_3.2.1-3_all.deb
6da2c906161a444e3bfa9b49bb56b556c1e987b6ed6ae3176b774683ea5d6dfc 40178
ruby-opennebula_3.2.1-3_all.deb
046dbdf240c9a27ead3be90413bde2bf93282b9a00fac532dfda2160059d0289 63234
opennebula-tools_3.2.1-3_all.deb
f2f5b4e2d9fd55a8f3f713d767f7e964678e7e1db451f0dcb0329ef6d9ebc462 42316
libopennebula-java_3.2.1-3_all.deb
210f99dc9d2a97926343487a5e366e0273be970f9852c732cfdf49f1ea661b97 89644
libopennebula-java-doc_3.2.1-3_all.deb
Files:
864bb30e70a97bb95c6e6d77451ab1e0 2636 utils extra opennebula_3.2.1-3.dsc
1ef43818ff611df31ca254e08bc32d37 23246 utils extra
opennebula_3.2.1-3.debian.tar.gz
797eb529bdb2e08407065edd3228774d 1131778 utils extra
opennebula_3.2.1-3_amd64.deb
617b8d6e9def6f2b669322e77ee3d70c 204348 utils extra
opennebula-sunstone_3.2.1-3_all.deb
7683d9d5f38e8ce174309516e4eb4c05 10490 utils extra
opennebula-common_3.2.1-3_all.deb
9d8a2ad7fa3eeda794174ba615d832f3 11054 utils extra
opennebula-node_3.2.1-3_all.deb
24b829be7b0c57a89dd6e6797ba06ca3 40178 ruby extra
ruby-opennebula_3.2.1-3_all.deb
23a09f4c28ccd6e204542cfa9775f252 63234 utils extra
opennebula-tools_3.2.1-3_all.deb
2322f22eb4feb6c809578540a81609b5 42316 java extra
libopennebula-java_3.2.1-3_all.deb
6ef4d5d502daed6e34739c51b796e3ab 89644 doc extra
libopennebula-java-doc_3.2.1-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJPqUGnAAoJEHXiDM0z50n8wx8QAK0DTPLj6uWxxJY7nFOMhiNW
N42VdGEA7DUc6WXibvivbIsOrWL4hZk/MRy76BTjYJ/XoWJDwH4Qvp2cJ/rY53Mx
ukewlPI+Nr9gplCbbAP97u7+33ntlccuBKV79M6Pg4/c3x/KMcdnizvVZSYwfrho
je18LxsOcj3y6IDOxmKnYSySTYnSPpI2er+BCEHJRvR6dTjXbirpc7+dWsL3dQfh
mLt91/XBJOSP+ZtzVwe8NH0RPXTb8T+4Ov0GNMyxjvrbStTaSyFcqzSib6Hogx+W
Vztc1gUzqxeNhvsut0hkN10nJAcHj4TmbqMvRJqHlOj9fl9zY4ovJ6t7wYNZkbtW
k7+uEP3UlAyokCaWoX85nBUQJVVCGFHlHNaSFguBNLaWdnu/fkYDQ/xGxVVYIxHw
gu9p6/8C7qzD2f5z0Bfl7deY0vBF7AQO38rKSFxwEPTAFVlprMawvwkK07RTWEFZ
ccCOFvhTBt5gEdyKvy5sslw9ZFkjAvsoi0QbD8qWPTZKeumds5nRQhpPriHnL3mW
DkJ1+ZY/6LTtA+aqDFGH48eWq+4Kv0jOSRXWCfGIaxOt6oFZe42JwsWh4en1fiEJ
cdKblZjRqJkCbSGUCfQq7vIOG8j+Jc1m+lgcTeq13bmkvj8+o9ch2QD6aK4PaNWz
BxK27R17M795wXPxpHQo
=ADyb
-----END PGP SIGNATURE-----
--- End Message ---