[one-users] error running econe-upload
Javier Fontan
jfontan at gmail.com
Mon Oct 5 03:20:11 PDT 2009
Hello,
UploadIO is part of multipart-post gem. This requirement is still not
in the documentation as it was a fix we made specifically for centos
(we had problems with the curl library provided by centos) these
weeks.
Bye
On Mon, Oct 5, 2009 at 5:39 AM, Shi Jin <jinzishuai at gmail.com> wrote:
> Hi there,
> I am testing the EC-ONE API. I have successfully started the service
> and econe-describe-instances is able to show the VMs started by "onevm
> create".
> However, I failed to run econe-upload. The error is
>
> oneadmin at node4:/srv/cloud/ImgRep/FC11AOS$ econe-upload
> /srv/cloud/ImgRep/FC11AOS/Fedora-11-x86_64-AOS-sda.raw
> /srv/cloud/one-svn-installation/lib/ruby/econe/EC2QueryClient.rb:175:in
> `upload_image': uninitialized constant
> EC2QueryClient::Client::UploadIO (NameError)
> from /srv/cloud/one-svn-installation/bin/econe-upload:114
>
> I checked the code in EC2QueryClient.rb:175
>
> params["file"]=UploadIO.new(file, 'application/octet-stream', file_name)
>
> The econe.log file does not provide anything useful.
> I am not sure what is going wrong here. I appreciate your help.
>
>
> --
> Shi Jin, Ph.D.
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
--
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
More information about the Users
mailing list