[one-users] econe-upload crashes

Richard Stevenson richard.stevenson at youview.com
Tue Feb 25 07:51:11 PST 2014


Hi,

I'm unable to upload images using econe-upload. I'm using OpenNebula
4.4, installed on Debian 7 from the repositories suggested in the
installation guide. From the local oneadmin account I get the following
error:

oneadmin at onetest:~$ econe-upload ./ubuntu2.qcow2
/var/lib/gems/1.9.1/gems/curb-0.8.5/lib/curl/easy.rb:62:in `perform':
Curl::Err::GotNothingError (Curl::Err::GotNothingError)
     from /usr/lib/one/ruby/cloud/econe/EC2QueryClient.rb:254:in `http_post'
     from /usr/lib/one/ruby/cloud/econe/EC2QueryClient.rb:254:in
`upload_image'
     from /usr/bin/econe-upload:74:in `block (2 levels) in <main>'
     from /usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
     from /usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
     from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
     from /usr/bin/econe-upload:44:in `new'
     from /usr/bin/econe-upload:44:in `<main>'

And with multipart upload, I get a different, but equally inscrutable
error message:

oneadmin at onetest:~$ econe-upload -m ./ubuntu2.qcow2
/usr/lib/one/ruby/cloud/econe/EC2QueryClient.rb:284:in `upload_image':
undefined method `body' for end of file reached:CloudClient::Error
(NoMethodError)
     from /usr/bin/econe-upload:74:in `block (2 levels) in <main>'
     from /usr/lib/one/ruby/cli/command_parser.rb:449:in `call'
     from /usr/lib/one/ruby/cli/command_parser.rb:449:in `run'
     from /usr/lib/one/ruby/cli/command_parser.rb:76:in `initialize'
     from /usr/bin/econe-upload:44:in `new'
     from /usr/bin/econe-upload:44:in `<main>'

Something is working, as both of these commands result in images being
uploaded to the datastore:

oneadmin at onetest:~$ oneimage list
   ID USER       GROUP      NAME            DATASTORE     SIZE TYPE PER
STAT RVMS
   28 oneadmin   oneadmin   ec2-bae235ce-f8 default         8G OS No
rdy     0
   29 oneadmin   oneadmin   ec2-ef880266-d5 default         8G OS No
rdy     0

However, without an ami style image ID I'm unable to register the images.

Thanks,
Richard Stevenson
This transmission contains information that may be confidential and contain personal views which are not necessarily those of YouView TV Ltd. YouView TV Ltd (Co No:7308805) is a limited liability company registered in England and Wales with its registered address at YouView TV Ltd, 3rd Floor, 10 Lower Thames Street, London, EC3R 6YT. For details see our web site at http://www.youview.com


More information about the Users mailing list