<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rogierm&#039;s Blog &#187; one</title>
	<atom:link href="http://rogierm.redbee.nl/blog/tag/one/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogierm.redbee.nl/blog</link>
	<description>Just another blog with technical stuff</description>
	<lastBuildDate>Mon, 09 Jan 2012 16:15:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ONE EC2 upload error</title>
		<link>http://rogierm.redbee.nl/blog/2009/10/09/one-ec2-upload-error/</link>
		<comments>http://rogierm.redbee.nl/blog/2009/10/09/one-ec2-upload-error/#comments</comments>
		<pubDate>Thu, 08 Oct 2009 23:37:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[one]]></category>
		<category><![CDATA[opennebula]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=85</guid>
		<description><![CDATA[I encountered the an error while experimenting with the OpenNebula (ONE) EC2 interface. I tried to upload an image file, to a OpenNebula host running CentOS 5.3 with ONE 1.3.8. After a couple of seconds the command exited with the following error: [rogierm@cloudtest3 ~]$ econe-upload /home/rogierm/centos5.img image /home/rogierm/centos5.img /usr/local/one/lib/ruby/econe/EC2QueryClient.rb:164:in `http_post': server returned nothing (no headers, [...]]]></description>
			<content:encoded><![CDATA[<p>I encountered the an error while experimenting with the OpenNebula (ONE) EC2 interface. I tried to upload an image file, to a OpenNebula host running CentOS 5.3 with ONE 1.3.8. After a couple of seconds the command exited with the following error:<br />
<code><br />
[rogierm@cloudtest3 ~]$ econe-upload /home/rogierm/centos5.img<br />
image /home/rogierm/centos5.img<br />
/usr/local/one/lib/ruby/econe/EC2QueryClient.rb:164:in `http_post': server returned nothing (no headers, no data) (Curl::Err::GotNothingError)<br />
	from /usr/local/one/lib/ruby/econe/EC2QueryClient.rb:164:in `upload_image'<br />
	from /usr/local/one/bin/econe-upload:116<br />
</code></p>
<p>I informed the ONE developers of this issue on their mailing list and Sebastien Goasguen pointed me to the correct solution. There seems to be an error in the curl implementation on CentOS. I installed the multipart-post gem and executed the econe-upload with the (yet undocumented) switch &#8216;-M&#8217;. This fixed the problem. </p>
<p>Install gem:<br />
<code><br />
[root@cloudtest3 ~]# gem install multipart-post<br />
</code></p>
<p>Run the working econe-upload command:<br />
<code><br />
[rogierm@cloudtest3 ~]$ econe-upload -M /home/rogierm/centos5.img<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2009/10/09/one-ec2-upload-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

