<?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; opennebula</title>
	<atom:link href="http://rogierm.redbee.nl/blog/tag/opennebula/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogierm.redbee.nl/blog</link>
	<description>Just another blog with technical stuff</description>
	<lastBuildDate>Mon, 28 Jun 2010 21:04:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>ONE Management Console show VNC display</title>
		<link>http://rogierm.redbee.nl/blog/2010/02/25/one-management-console-show-vnc-display/</link>
		<comments>http://rogierm.redbee.nl/blog/2010/02/25/one-management-console-show-vnc-display/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 01:39:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[kvm]]></category>
		<category><![CDATA[opennebula]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=120</guid>
		<description><![CDATA[I&#8217;ve made some quick changes to ONEMC to show the VNC port in the interface. I&#8217;ve updated the template that onemc creates with a GRAPHICS section. This enables vnc on the quest. As a workaround until ONE can use the VMID in the graphics section, I use a virsh command to get the vncport. To [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve made some quick changes to ONEMC to show the VNC port in the interface. I&#8217;ve updated the template that onemc creates with a GRAPHICS section. This enables vnc on the quest. </p>
<p>As a workaround until ONE can use the VMID in the graphics section, I use a virsh command to get the vncport. To get this working the webserver user should be allowed to execute the virsh command via sudo. Add the following to sudoers:<br />
<code><br />
apache     ALL=(ALL)       NOPASSWD: /usr/bin/virsh *<br />
</code><br />
Also I encountered some problems with the model section in the KVM template so I commented that out as well. </p>
<p>Below the patch and a screenshot listing the vnc ports in ONEMC<br />
<a href="http://rogierm.redbee.nl/blog/wp-content/uploads/2010/02/Picture-64.png"><img src="http://rogierm.redbee.nl/blog/wp-content/uploads/2010/02/Picture-64-300x136.png" alt="ONEMC screenshot" title="ONEMC" width="300" height="136" class="aligncenter size-medium wp-image-121" /></a><br />
<a href='http://rogierm.redbee.nl/blog/wp-content/uploads/2010/02/onemc_funcs.patch.txt'>onemc_funcs.patch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2010/02/25/one-management-console-show-vnc-display/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>OpenNebula EC2 error</title>
		<link>http://rogierm.redbee.nl/blog/2009/09/20/opennebula-ec2-error/</link>
		<comments>http://rogierm.redbee.nl/blog/2009/09/20/opennebula-ec2-error/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 21:18:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[opennebula]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=78</guid>
		<description><![CDATA[While experimenting with OpenNebula and trying to build a public cloud with the EC2 interface to OpenNebula I encountered the following problem in the code: [rogierm@cloudtest3 one]$ econe-upload /home/rogierm/test.img /usr/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant RI::Paths (NameError) from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/lib/ruby/1.8/rdoc/usage.rb:72 from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' from /usr/local/one/bin/econe-upload:61 I fixed this problem by [...]]]></description>
			<content:encoded><![CDATA[<p>While experimenting with OpenNebula and trying to build a public cloud with the EC2 interface to OpenNebula I encountered the following problem in the code:<br />
<code><br />
[rogierm@cloudtest3 one]$ econe-upload /home/rogierm/test.img<br />
/usr/lib/ruby/1.8/rdoc/ri/ri_options.rb:53: uninitialized constant RI::Paths (NameError)<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'<br />
	from /usr/lib/ruby/1.8/rdoc/usage.rb:72<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'<br />
	from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'<br />
	from /usr/local/one/bin/econe-upload:61<br />
</code></p>
<p>I fixed this problem by adding the following line (above the other require statements) in econe-upload, or any other command giving the same error:<br />
<code><br />
require 'rdoc/ri/ri_paths'<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2009/09/20/opennebula-ec2-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
