Bug #4723

Sunstone crashes when trying to download an image

Added by Carlos Martín over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:08/18/2016
Priority:NormalDue date:
Assignee:Carlos Martín% Done:

0%

Category:Sunstone
Target version:Release 5.2
Resolution:fixed Pull request:
Affected Versions:Development, OpenNebula 5.0

Associated revisions

Revision ef346260
Added by Carlos Martín about 4 years ago

B #4723: Fix app download to local disk in ruby 1.9

Revision 45d63d5f
Added by Carlos Martín about 4 years ago

B #4723: Fix app download to local disk in ruby 1.9

(cherry picked from commit ef346260e389fb6f1d422eea3492c9b53a982d65)

History

#1 Updated by Carlos Martín about 4 years ago

  • Status changed from Pending to Closed
  • Resolution set to worksforme

#2 Updated by Carlos Martín about 4 years ago

  • Status changed from Closed to New
  • Resolution deleted (worksforme)
  • Affected Versions Development added

Reopening, can be reproduced in this environment:

Packages for ubuntu 14.04, using ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]

The action that triggers the error is 'download app to local computer'.

== Sinatra/1.4.3 has taken the stage on 9869 for development with backup from Thin
/usr/lib/ruby/1.9.1/open3.rb:202:in `spawn': No such file or directory - DRV_ACTION=PERTX0RSSVZFUl9BQ1RJT05fREFUQT48TUFSS0VUUExBQ0U+CiAgPElEPjA8L0lEPgogIDxVSUQ+MDwvVUlEPgogIDxHSUQ+MDwvR0lEPgogIDxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+CiAgPEdOQU1FPm9uZWFkbWluPC9HTkFNRT4KICA8TkFNRT5PcGVuTmVidWxhIFB1YmxpYzwvTkFNRT4KICA8TUFSS0VUX01BRD48IVtDREFUQVtvbmVdXT48L01BUktFVF9NQUQ+CiAgPFpPTkVfSUQ+PCFbQ0RBVEFbMF1dPjwvWk9ORV9JRD4KICA8VE9UQUxfTUI+MDwvVE9UQUxfTUI+CiAgPEZSRUVfTUI+MDwvRlJFRV9NQj4KICA8VVNFRF9NQj4wPC9VU0VEX01CPgogIDxNQVJLRVRQTEFDRUFQUFM+CiAgICA8SUQ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kVSX1U+CiAgICA8T1dORVJfTT4xPC9PV05FUl9NPgogICAgPE9XTkVSX0E+MTwvT1dORVJfQT4KICAgIDxHUk9VUF9VPjE8L0dST1VQX1U+CiAgICA8R1JPVVBfTT4wPC9HUk9VUF9NPgogICAgPEdST1VQX0E+MDwvR1JPVVBfQT4KICAgIDxPVEhFUl9VPjE8L09USEVSX1U+CiAgICA8T1RIRVJfTT4wPC9PVEhFUl9NPgogICAgPE9USEVSX0E+MDwvT1RIRVJfQT4KICA8L1BFUk1JU1NJT05TPgogIDxURU1QTEFURT4KICAgIDxERVNDUklQVElPTj48IVtDREFUQVtPcGVuTmVidWxhIFN5c3RlbXMgTWFya2V0UGxhY2VdXT48L0RFU0NSSVBUSU9OPgogICAgPE1BUktFVF9NQUQ+PCFbQ0RBVEFbb25lXV0+PC9NQVJLRVRfTUFEPgogIDwvVEVNUExBVEU+CjwvTUFSS0VUUExBQ0U+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ /var/lib/one/remotes/datastore/downloader.sh http://marketplace.opennebula.systems//appliance/535fcea68fb81d1c6c000001/download/0 - (Errno::ENOENT)
    from /usr/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
    from /usr/lib/ruby/1.9.1/open3.rb:90:in `popen3'
    from /usr/lib/one/sunstone/sunstone-server.rb:792:in `block (2 levels) in <main>'
    from /usr/lib/ruby/vendor_ruby/sinatra/base.rb:430:in `block (2 levels) in stream'
    from /usr/lib/ruby/vendor_ruby/sinatra/base.rb:620:in `with_params'
    from /usr/lib/ruby/vendor_ruby/sinatra/base.rb:430:in `block in stream'
    from /usr/lib/ruby/vendor_ruby/sinatra/base.rb:396:in `call'
    from /usr/lib/ruby/vendor_ruby/sinatra/base.rb:396:in `block in each'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `call'
    from /usr/lib/ruby/vendor_ruby/eventmachine.rb:1037:in `block in spawn_threadpool'

#3 Updated by Carlos Martín about 4 years ago

  • Status changed from New to Closed
  • Assignee set to Carlos Martín
  • Resolution set to fixed

Also available in: Atom PDF