<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CSS Corp Open Source Services</title>
	<atom:link href="http://cssoss.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cssoss.wordpress.com</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 08:42:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='cssoss.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>CSS Corp Open Source Services</title>
		<link>http://cssoss.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://cssoss.wordpress.com/osd.xml" title="CSS Corp Open Source Services" />
	<atom:link rel='hub' href='http://cssoss.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Bundling CentOS Image with VNC access for OpenStack</title>
		<link>http://cssoss.wordpress.com/2012/01/10/bundling-centos-image-with-vnc-access-for-openstack/</link>
		<comments>http://cssoss.wordpress.com/2012/01/10/bundling-centos-image-with-vnc-access-for-openstack/#comments</comments>
		<pubDate>Tue, 10 Jan 2012 08:41:56 +0000</pubDate>
		<dc:creator>Johnson D</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Nova Compute]]></category>
		<category><![CDATA[Nova Ubuntu]]></category>
		<category><![CDATA[Oneiric]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[Openstack Diablo]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Help]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Ubuntu Cloud]]></category>
		<category><![CDATA[Ubuntu Oneiric]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1594</guid>
		<description><![CDATA[This article explains how to create a CentOS 6 image with VNC access on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image. The first step would be to create a qcow2 image. This will represent the main [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1594&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to create a CentOS 6 image with VNC access on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image.</p>
<p><span id="more-1594"></span></p>
<p>The first step would be to create a qcow2 image. This will represent the main HDD of the virtual machine, so make sure to give it as much space as you will need.</p>
<p><pre class="brush: plain;">kvm-img create -f qcow2 centos.img 5G</pre></p>
<p>Boot Virtual Machine from the CD.</p>
<p><pre class="brush: plain;">kvm -m 1024 -cdrom CentOS-6.0-i386-bin-DVD.iso -drive file=centos.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc :1</pre></p>
<p>Connect to the Virtual Machine through VNC (use display number :1).For Example, where 10.10.10.1 is the IP address of the host machine.</p>
<p><pre class="brush: plain;">vncviewer 10.10.10.1 :1</pre></p>
<p>Boot the Virtual Machine</p>
<p><pre class="brush: plain;">kvm -m 1024 -drive file=centos.img,if=virtio,index=0,boot=on -boot c -net nic -net user -nographic -vnc :1</pre></p>
<p>Install VNC server and perform the following steps.</p>
<p><pre class="brush: plain;">
yum install vnc-server
chkconfig vncserver off
service vncserver stop
yum install xinetd
</pre></p>
<p>Edit /etc/gdm/custom.conf and add the following lines</p>
<p><pre class="brush: plain;">
[xdmcp]
Enable=true
[security]
DisallowTCP=false
</pre></p>
<p>Edit the file /etc/services and comment the following lines</p>
<p><pre class="brush: plain;">
vnc-server 5900/tcp # VNC Server
vnc-server 5900/udp # VNC Server
</pre></p>
<p>and add the following line</p>
<p><pre class="brush: plain;">
vnc1024 5900/tcp # VNC and GDM
</pre></p>
<p>create a file /etc/xinetd.d/vnc1024 and add the following lines</p>
<p><pre class="brush: plain;">
service vnc1024
{
disable = no

socket_type = stream
protocol = tcp
group = tty
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -geometry 1024×768 -depth 16 -once -fp
/usr/share/X11/fonts/misc -securitytypes=none
}
</pre></p>
<p>Run the following command to check whether VNC is accessible.</p>
<p><pre class="brush: plain;">
service xinetd restart
</pre></p>
<p>Shutdown the Virtual Machine. Upload the image to OpenStack using the following command</p>
<p><pre class="brush: plain;">cloud-publish-image amd64 centos.img centosbucket</pre></p>
<p>The following output shows that the image has been successfully uploaded.</p>
<p><pre class="brush: plain;">ami-00000001 centosbucket/centos.img.manifest.xml</pre></p>
<p>Verify whether the instance boots from the uploaded image.</p>
<p><pre class="brush: plain;">euca-run-instances ami-00000001 -k mykey -t m1.small</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1594/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1594/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1594/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1594&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2012/01/10/bundling-centos-image-with-vnc-access-for-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4159d9f071b8d1a880350458dff9f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnson81385</media:title>
		</media:content>
	</item>
		<item>
		<title>Bundling OpenSUSE image for OpenStack</title>
		<link>http://cssoss.wordpress.com/2011/11/28/bundling-opensuse-image-for-openstack/</link>
		<comments>http://cssoss.wordpress.com/2011/11/28/bundling-opensuse-image-for-openstack/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 14:21:13 +0000</pubDate>
		<dc:creator>Johnson D</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Oneiric]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[Openstack Diablo]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Help]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Ubuntu Cloud]]></category>
		<category><![CDATA[Ubuntu Oneiric]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1561</guid>
		<description><![CDATA[This article explains how to create a OpenSUSE 11.4 image on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image.  The first step would be to create a qcow2 image. This will represent the main HDD of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1561&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to create a OpenSUSE 11.4 image on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image.</p>
<p><span id="more-1561"></span></p>
<div> The first step would be to create a qcow2 image. This will represent the main HDD of the virtual machine, so make sure to give it as much space as you will need.</div>
<p><pre class="brush: plain;">kvm-img create -f qcow2 opensuse.img 5G</pre></p>
<p>Start the Virtual Machine booting from the CD.</p>
<p><pre class="brush: plain;">kvm -m 512 -cdrom openSUSE-11.4-DVD-x86_64.iso -drive file=opensuse.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc :1</pre></p>
<p>Connect to the Virtual Machine through VNC (use display number :1).For Example, where 10.10.10.1 is the IP address of the host machine.</p>
<p><pre class="brush: plain;">vncviewer 10.10.10.1 :1</pre></p>
<p>Select SSH server, Curl and other packages needed. Once the installation is over shutdown the Virtual Machine and boot the  Virtual Machine from Hard Drive using the following command.</p>
<p><pre class="brush: plain;">kvm -m 512 -drive file=opensuse.img,if=virtio,index=0,boot=on -boot c -net nic -net user -nographic -vnc :1</pre></p>
<p>Install SSH server</p>
<p><pre class="brush: plain;">zypper install openssh</pre></p>
<p>Install curl</p>
<p><pre class="brush: plain;">zypper install curl</pre></p>
<p>For SSH Key injection into the instance use the following steps:</p>
<p>Create a file /etc/init.d/sshkey and add the following lines</p>
<p><pre class="brush: plain;">
echo &gt;&gt; /root/.ssh/authorized_keys
curl -m 10 -s http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key | grep 'ssh-rsa' &gt;&gt; /root/.ssh/authorized_keys
echo &quot;AUTHORIZED_KEYS:&quot;
echo &quot;************************&quot;
cat /root/.ssh/authorized_keys
echo &quot;************************&quot;
</pre></p>
<p>Change the permissions for the file</p>
<p><pre class="brush: plain;">chmod 755 /etc/init.d/sshkey</pre></p>
<p>Configure the service to start automatically while booting</p>
<p><pre class="brush: plain;">chkconfig sshkey on</pre></p>
<p>Configure the firewall (Not iptables) using the following command and allow ssh service</p>
<p><pre class="brush: plain;">yast2</pre></p>
<p>Also remove the network persistence rules from /etc/udev/rules.d as their presence will result in the network interface in the instance coming up as an interface other than eth0.</p>
<p><pre class="brush: plain;">rm -rf /etc/udev/rules.d/70-persistent-net.rules</pre></p>
<p>Shutdown the Virtual Machine. Upload the image to OpenStack using the following command</p>
<p><pre class="brush: plain;">cloud-publish-image amd64 opensuse.img opensusebucket</pre></p>
<p>The following output shows that the image has been successfully uploaded.</p>
<p><pre class="brush: plain;">ami-00000001 opensusebucket/opensuse.img.manifest.xml</pre></p>
<p>Verify whether the instance boots from the uploaded image.</p>
<p><pre class="brush: plain;">euca-run-instances ami-00000001 -k mykey -t m1.tiny</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1561/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1561/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1561/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1561&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/11/28/bundling-opensuse-image-for-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4159d9f071b8d1a880350458dff9f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnson81385</media:title>
		</media:content>
	</item>
		<item>
		<title>Bundling Debian image for OpenStack</title>
		<link>http://cssoss.wordpress.com/2011/11/28/bundling-debian-image-for-openstack/</link>
		<comments>http://cssoss.wordpress.com/2011/11/28/bundling-debian-image-for-openstack/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 14:12:11 +0000</pubDate>
		<dc:creator>Johnson D</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Oneiric]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[Openstack Diablo]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Help]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Ubuntu Cloud]]></category>
		<category><![CDATA[Ubuntu Oneiric]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1564</guid>
		<description><![CDATA[This article explains how to create a Debian 6 image on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image. The first step would be to create a qcow2 image. This will represent the main HDD of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1564&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to create a Debian 6 image on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image.</p>
<p><span id="more-1564"></span></p>
<p>The first step would be to create a qcow2 image. This will represent the main HDD of the virtual machine, so make sure to give it as much space as you will need.</p>
<p><pre class="brush: plain;">kvm-img create -f qcow2 debian.img 5G</pre></p>
<p>Start the Virtual Machine booting from the CD using the following command.</p>
<p><pre class="brush: plain;">kvm -m 512 -cdrom debian-6.0.1a-amd64-CD-1.iso -drive file=debian.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc :1</pre></p>
<p>Connect to the Virtual Machine through VNC (use display number :1).For Example, where 10.10.10.1 is the IP address of the host machine.</p>
<p><pre class="brush: plain;">vncviewer 10.10.10.1 :1</pre></p>
<p>Select SSH server, Curl and other packages needed. Once the installation is over shutdown the Virtual Machine and boot the Virtual Machine  from  Hard Drive.</p>
<p><pre class="brush: plain;">kvm -m 512 -drive file=debian.img,if=virtio,index=0,boot=on -boot c -net nic -net user -nographic -vnc :1</pre></p>
<p>Do the necessary changes needed for the image. For key injection add the following lines in the file /etc/rc.local.</p>
<p><pre class="brush: plain;">
mkdir -p /root/.ssh
echo &gt;&gt; /root/.ssh/authorized_keys
curl -m 10 -s http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key | grep 'ssh-rsa' &gt;&gt; /root/.ssh/authorized_keys
echo &quot;AUTHORIZED_KEYS:&quot;
echo &quot;************************&quot;
cat /root/.ssh/authorized_keys
echo &quot;************************&quot;
</pre></p>
<p>Also remove the network persistence rules from /etc/udev/rules.d as their presence will result in the network interface in the instance coming up as an interface other than eth0.</p>
<p><pre class="brush: plain;">rm -rf /etc/udev/rules.d/70-persistent-net.rules</pre></p>
<p>Shutdown the Virtual Machine. Upload the image to OpenStack using the following command</p>
<p><pre class="brush: plain;">cloud-publish-image amd64 debian.img debianbucket</pre></p>
<p>The following output shows that the image has been successfully uploaded.</p>
<p><pre class="brush: plain;">ami-00000001 debianbucket/debian.img.manifest.xml</pre></p>
<p>Verify whether the instance boots from the uploaded image.</p>
<p><pre class="brush: plain;">euca-run-instances ami-00000001 -k mykey -t m1.tiny</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1564/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1564/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1564/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1564&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/11/28/bundling-debian-image-for-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4159d9f071b8d1a880350458dff9f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnson81385</media:title>
		</media:content>
	</item>
		<item>
		<title>Bundling CentOS image for OpenStack</title>
		<link>http://cssoss.wordpress.com/2011/11/28/bundling-centos-image-for-openstack/</link>
		<comments>http://cssoss.wordpress.com/2011/11/28/bundling-centos-image-for-openstack/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 14:04:15 +0000</pubDate>
		<dc:creator>Johnson D</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Nova Ubuntu]]></category>
		<category><![CDATA[Oneiric]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[Openstack Diablo]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Help]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Ubuntu Cloud]]></category>
		<category><![CDATA[Ubuntu Oneiric]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1558</guid>
		<description><![CDATA[This article explains how to create a CentOS 6 image on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image. The first step would be to create a qcow2 image. This will represent the main HDD of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1558&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to create a CentOS 6 image on KVM for uploading it to the image store on OpenStack Diablo.  I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image.</p>
<p><span id="more-1558"></span></p>
<p>The first step would be to create a qcow2 image. This will represent the main HDD of the virtual machine, so make sure to give it as much space as you will need.</p>
<p><pre class="brush: plain;">kvm-img create -f qcow2 centos.img 5G</pre></p>
<p>Start the Virtual Machine booting from the CD using the following command.</p>
<p><pre class="brush: plain;">kvm -m 1024 -cdrom CentOS-6.0-i386-bin-DVD.iso -drive file=centos.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc :1</pre></p>
<p>Connect to the Virtual Machine through VNC (use display number :1).For Example, where 10.10.10.1 is the IP address of the host machine.</p>
<p><pre class="brush: plain;">vncviewer 10.10.10.1 :1</pre></p>
<p>Select SSH server  and curl from the package list. Also select the other packages needed, during the  installation. Once the installation is over shutdown and boot the Virtual Machine  from Hard Drive.</p>
<p><pre class="brush: plain;">kvm -m 1024 -drive file=centos.img,if=virtio,index=0,boot=on -boot c -net nic -net user -nographic -vnc :1</pre></p>
<p>Do the necessary changes needed for the image.</p>
<p>For SSH key injection add the following lines before &#8216;exit 0&#8242; in the file /etc/rc.local.</p>
<p><pre class="brush: plain;">
mkdir -p /root/.ssh
echo &gt;&gt; /root/.ssh/authorized_keys
curl -m 10 -s http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key | grep 'ssh-rsa' &gt;&gt; /root/.ssh/authorized_keys
echo &quot;AUTHORIZED_KEYS:&quot;
echo &quot;************************&quot;
cat /root/.ssh/authorized_keys
echo &quot;************************&quot;
</pre></p>
<p>Edit the file /etc/sysconfig/network-scripts/ifcfg-eth0 and remove the line that contains &#8220;HWADDR=&#8221;</p>
<p>Remove the network persistence rules from /etc/udev/rules.d as their presence will result in the network interface in the instance coming up as an interface other than eth0.</p>
<p><pre class="brush: plain;">rm -rf /etc/udev/rules.d/70-persistent-net.rules</pre></p>
<p>Shutdown the Virtual Machine. Upload the image to OpenStack using the following command</p>
<p><pre class="brush: plain;">cloud-publish-image amd64 centos.img centosbucket</pre></p>
<p>The following output shows that the image has been successfully uploaded.</p>
<p><pre class="brush: plain;">ami-00000001 centosbucket/centos.img.manifest.xml</pre></p>
<p>Verify whether the instance boots from the uploaded image.</p>
<p><pre class="brush: plain;">euca-run-instances ami-00000001 -k mykey -t m1.tiny</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1558/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1558/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1558/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1558/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1558/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1558/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1558/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1558/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1558&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/11/28/bundling-centos-image-for-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4159d9f071b8d1a880350458dff9f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnson81385</media:title>
		</media:content>
	</item>
		<item>
		<title>Bundling FreeBSD Image for OpenStack</title>
		<link>http://cssoss.wordpress.com/2011/11/28/bundling-freebsd-image-for-openstack/</link>
		<comments>http://cssoss.wordpress.com/2011/11/28/bundling-freebsd-image-for-openstack/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 09:33:41 +0000</pubDate>
		<dc:creator>Johnson D</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Nova Ubuntu]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[Openstack Diablo]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Ubuntu Cloud]]></category>
		<category><![CDATA[Ubuntu Oneiric]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1553</guid>
		<description><![CDATA[This article explains how to create a  FreeBSD 8.2 image on KVM for uploading it to the image store on OpenStack Diablo. The procedure also covers installation of Virtio drivers, as it is essential for an instance running on OpenStack. I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1553&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This article explains how to create a  FreeBSD 8.2 image on KVM for uploading it to the image store on OpenStack Diablo. The procedure also covers installation of Virtio drivers, as it is essential for an instance running on OpenStack. I have used KVM running on Ubuntu 11.10 64-bit server for creation of the image.</p>
<p><span id="more-1553"></span></p>
<p>The first step would be to create a qcow2 image. This will represent the main HDD of the virtual machine, so make sure to give it as much space as you will need</p>
<p><pre class="brush: plain;">kvm-img create -f qcow2 freebsd.img 5G</pre></p>
<p>Start the Virtual Machine and boot from the CD.</p>
<p><pre class="brush: plain;">kvm -m 256 -cdrom FreeBSD-8.2-RELEASE-i386-disc1.iso -drive file=freebsd.img,if=scsi,index=0 -boot d -net nic -net user -nographic -vnc :1</pre></p>
<p>Connect to the Virtual Machine through VNC (use display number :1) where 10.10.10.1 is the IP address of the host machine.</p>
<p><pre class="brush: plain;">vncviewer 10.10.10.1 :1</pre></p>
<p>During the post-installation configuration, enable SSH server. Also enable dhcp for the interface re0.</p>
<p>Shutdown the Virtual Machine and  power it on to boot from the Hard Drive using the following command.</p>
<p><pre class="brush: plain;">kvm -m 256 -drive file=freebsd.img,if=scsi,index=0,boot=on -boot c -net nic -net user -nographic -vnc :1</pre></p>
<p>We need to install the Virtio driver for the image to work with OpenStack. For installing the Virtio driver perform the following steps.</p>
<p>Download the compressed snapshot of the ports collection.</p>
<p><pre class="brush: plain;">portsnap fetch</pre></p>
<p>Extract the snapshot into /usr/ports.</p>
<p><pre class="brush: plain;">portsnap extract</pre></p>
<p>Download the kernel source using the following steps.</p>
<p><pre class="brush: plain;">sysinstall</pre></p>
<p>Select Configure -&gt; Distributions which will give you many components that it can install. Select &#8220;src&#8221;. It will in turn show you some sub components. Select &#8220;sys&#8221;. Install the components. This will download the kernel source which is needed for the compiling the drivers.<br />
In order to install the Virtio driver, we need to install Subversion and download the source for the driver.</p>
<p><pre class="brush: plain;">
cd /usr/ports/devel/subversion
make install
make clean
cd /usr/src/sys/dev
svn co http://svn.freebsd.org/base/projects/virtio/sys/dev/virtio
cd /usr/src/sys/modules
svn co http://svn.freebsd.org/base/projects/virtio/sys/modules/virtio
cd /usr/src/sys/modules/virtio
make
make install
</pre></p>
<p>Add the following lines to /boot/loader.conf to load Virtio drivers on boot.</p>
<p><pre class="brush: plain;">
virtio_load=&quot;YES&quot;
virtio_pci_load=&quot;YES&quot;
virtio_blk_load=&quot;YES&quot;
if_vtnet_load=&quot;YES&quot;
virtio_balloon_load=&quot;YES&quot;
</pre></p>
<p>Now the installation and configuration of the virtio driver is over. Make any other changes needed for the image.</p>
<p>Edit the file /etc/fstab to boot from the original drive with Virtio interface.</p>
<p><pre class="brush: plain;">cp /etc/fstab /etc/fstab.bak
cat /etc/fstab.bak | perl -pe &quot;s/da/vtbd/g;&quot; &gt; /etc/fstab</pre></p>
<p>SSH access for root and password authentication is disabled by default.  Edit /etc/ssh/sshd_config to enable these.</p>
<p><pre class="brush: plain;">PermitRootLogin yes
PasswordAuthentication yes</pre></p>
<p>TODO: key injection</p>
<p>Shutdown the Virtual Machine and upload the image to OpenStack using the following command.</p>
<p><pre class="brush: plain;">cloud-publish-image amd64 freebsd.img freebsdbucket</pre></p>
<p>The following output shows that the image has been successfully uploaded.</p>
<p><pre class="brush: plain;">ami-00000001 freebsdbucket/freebsd.img.manifest.xml</pre></p>
<p>Verify whether the instance boots from the uploaded image.</p>
<p><pre class="brush: plain;">euca-run-instances ami-00000001 -t m1.tiny</pre></p>
<p>References:<br />
1 <a href="http://viktorpetersson.com/2011/10/20/how-to-use-virtio-on-freebsd-8-2/">http://viktorpetersson.com/2011/10/20/how-to-use-virtio-on-freebsd-8-2/</a><br />
2 <a href="http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/">http://www.cyberciti.biz/faq/freebsd-install-kernel-source-code/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1553/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1553/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1553/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1553&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/11/28/bundling-freebsd-image-for-openstack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/da4159d9f071b8d1a880350458dff9f0?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">johnson81385</media:title>
		</media:content>
	</item>
		<item>
		<title>OpenStack Beginner&#8217;s Guide V2.0 for Diablo on Ubuntu 11.10 Oneiric is here!</title>
		<link>http://cssoss.wordpress.com/2011/10/19/openstack-beginners-guide-v2-0-for-diablo-on-ubuntu-11-10-oneiric-is-here/</link>
		<comments>http://cssoss.wordpress.com/2011/10/19/openstack-beginners-guide-v2-0-for-diablo-on-ubuntu-11-10-oneiric-is-here/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 14:35:03 +0000</pubDate>
		<dc:creator>Murthy Raju</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Diablo]]></category>
		<category><![CDATA[Oneiric]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[Openstack Diablo]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu 11.10]]></category>
		<category><![CDATA[Ubuntu Cloud]]></category>
		<category><![CDATA[Ubuntu Oneiric]]></category>
		<category><![CDATA[Documentation]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Oneric]]></category>
		<category><![CDATA[Swift]]></category>
		<category><![CDATA[Ubuntu 11.10 Oneieric]]></category>
		<category><![CDATA[Ubuntu Documentation]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1521</guid>
		<description><![CDATA[OpenStack Beginner&#8217;s Guide  V2.0 for Diablo on Ubuntu 11.10 Oneiric is now available as a pdf file. Please have a look it and let us know if you have any comments/suggestions/feedback. We will do our best to enhance the guide based on your suggestions. We would like to thank  Anne Gentle and  all participants of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1521&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a title="OpenStack Beginner's Guide V2.0 for Diablo on Ubuntu Oneiric" href="http://cssoss.files.wordpress.com/2011/11/openstackbookv2-0_csscorp.pdf">OpenStack Beginner&#8217;s Guide  V2.0</a> for Diablo on Ubuntu 11.10 Oneiric is now available as a pdf file. Please have a look it and let us know if you have any comments/suggestions/feedback. We will do our best to enhance the guide based on your suggestions.</p>
<p>We would like to thank  Anne Gentle and  all participants of <a title="DocBlitz sessions" href="http://docs.openstack.org/docblitz/openstack-compute/starter/content/" target="_blank">DocBlitz sessions</a> and several others who have given feedback on these pages, on the <a title="documentation pages of OpenStack" href="http://docs.openstack.org/cactus/openstack-compute/starter/content/" target="_blank">documentation pages of OpenStack</a> and offline through emails.</p>
<p>What&#8217;s new in V2.0:</p>
<ol>
<li>Procedure for using PostgreSQL for Nova added</li>
<li>Swift added to Installation &amp; Configuration chapter and Storage Management chapter</li>
<li>Revised the commands line options to be in sync with Diablo</li>
<li>Dropped Dashboard section, for now, as the new version of Dashboard relies on Key Stone. We will include them back once the key issues releated to Keystone/Dashboard on Ubuntu get resolved.</li>
<li>Dropped Role Based Access Control Chapter. This is undergoing rewrite and we will add it soon.</li>
<li>Some language errors fixed</li>
<li>Some errors in the architecture diagrams fixed</li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1521/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1521/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1521/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1521&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/10/19/openstack-beginners-guide-v2-0-for-diablo-on-ubuntu-11-10-oneiric-is-here/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e8f73dfb4d7419c4e6eab5f72365ff4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">murthyrajumrk</media:title>
		</media:content>
	</item>
		<item>
		<title>&#8220;OpenStack Beginner&#8217;s Guide &#8211; for Ubuntu &#8211; Natty&#8221; available as pdf</title>
		<link>http://cssoss.wordpress.com/2011/08/08/openstack-beginners-guide-for-ubuntu-natty-available-as-pdf/</link>
		<comments>http://cssoss.wordpress.com/2011/08/08/openstack-beginners-guide-for-ubuntu-natty-available-as-pdf/#comments</comments>
		<pubDate>Mon, 08 Aug 2011 14:14:46 +0000</pubDate>
		<dc:creator>Murthy Raju</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Natty Narhwal]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[OpenStack Natty Narhwal]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1501</guid>
		<description><![CDATA[The OpenStack Beginner&#8217;s Guide &#8211; for Ubuntu &#8211; Natty is available in PDF format now. You can download it here: http://cssoss.files.wordpress.com/2011/08/openstackbookv1-0_csscorp.pdf Follow us on Twitter https://twitter.com/#!/cssoss<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1501&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The OpenStack Beginner&#8217;s Guide &#8211; for Ubuntu &#8211; Natty is available in PDF format now. You can download it here:</p>
<p><a title="OpenStack Beginner's Guide - PDF" href="http://cssoss.files.wordpress.com/2011/08/openstackbookv1-0_csscorp.pdf">http://cssoss.files.wordpress.com/2011/08/openstackbookv1-0_csscorp.pdf</a></p>
<p>Follow us on Twitter <a href="https://twitter.com/#!/cssoss">https://twitter.com/#!/cssoss</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1501/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1501/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1501/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1501&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/08/08/openstack-beginners-guide-for-ubuntu-natty-available-as-pdf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5e8f73dfb4d7419c4e6eab5f72365ff4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">murthyrajumrk</media:title>
		</media:content>
	</item>
		<item>
		<title>[OpenStack Beginner&#039;s Guide for Ubuntu 11.04] Storage Management</title>
		<link>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-storage-management/</link>
		<comments>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-storage-management/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 12:09:49 +0000</pubDate>
		<dc:creator>cssoss</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Natty Narhwal]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Nova API]]></category>
		<category><![CDATA[Nova Compute]]></category>
		<category><![CDATA[Nova Network]]></category>
		<category><![CDATA[Nova Scheduler]]></category>
		<category><![CDATA[Nova Ubuntu]]></category>
		<category><![CDATA[Nova Volume]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Private Cloud]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[UEC Book]]></category>
		<category><![CDATA[UEC Documentation]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1206</guid>
		<description><![CDATA[Nova-volume Nova-volume provides persistent block storage compatible with Amazon’s Elastic Block Store. The storage on the instances is non persistent in nature and hence any data that you generate and store on the file system on the first disk of the instance gets lost when the instance is terminated. You will need to use persistent [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1206&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Nova-volume</h2>
<p>Nova-volume provides persistent block storage compatible with Amazon’s Elastic Block Store. The storage on the instances is non persistent in nature and hence any data that you generate and store on the file system on the first disk of the instance gets lost when the instance is terminated. You will need to use persistent volumes provided by nova-volume if you want any data generated during the life of the instance to persist after the instance is terminated.</p>
<p>Commands from euca2ools package can be used to manage these volumes.</p>
<p>Here are a few examples:</p>
<p><span id="more-1206"></span></p>
<h3>Interacting with Storage Controller</h3>
<p>Make sure that you have sourced novarc before running any of the following commands. The following commands refer to a zone called &#8216;nova&#8217;, which we created in the chapter on &#8220;Installation and Configuration&#8221;. The project is &#8216;proj&#8217; as referred to in the other chapters.</p>
<p>Create a 10 GB volume</p>
<p><pre class="brush: plain;">

euca-create-volume -s 10 -z nova

</pre></p>
<p>You should see an output like:</p>
<p><pre class="brush: plain;">

VOLUME    vol-00000002    1    creating (proj, None, None, None)    2011-04-21T07:19:52Z
</pre></p>
<p>List the volumes</p>
<p><pre class="brush: plain;">euca-describe-volumes</pre></p>
<p>You should see an output like this:</p>
<p><pre class="brush: plain;">

VOLUME    vol-00000001     1        nova    available (proj, server1, None, None)    2011-04-21T05:11:22Z
VOLUME    vol-00000002     1        nova    available (proj, server1, None, None)    2011-04-21T07:19:52Z

</pre></p>
<p>Attach a volume to a running instance</p>
<p><pre class="brush: plain;">

euca-attach-volume -i i-00000009 -d /dev/vdb vol-00000002

</pre></p>
<p>A volume can only be attached to one instance at a time. When euca-describe-volumes shows the status of a volume as &#8216;available&#8217;, it means it is not attached to any instance and ready to be used. If you run euca-describe-volumes, you can see that the status changes from “available” to “in-use” if it is attached to an  instance successfully.</p>
<p>When a volume is attached to an instance, it shows up as an additional SCSI disk on the instance. You can login to the instance and mount the disk, format it and use it.</p>
<p>Detach a volume from an instance.</p>
<p><pre class="brush: plain;">

euca-detach-volume vol-00000002

</pre></p>
<p>The data on the volume persists even after the volume is detached from an instance. You can see the data on reattaching the volume to another instance.</p>
<p>Even though you have indicated /dev/vdb as the device on the instance, the actual device name created by the OS running inside the instance may differ. You can find the name of the device by looking at the device nodes in /dev or by watching the syslog when the volume is being attached.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1206/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1206/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1206/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1206&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-storage-management/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e435614ad849085ee1a8e790c63f2651?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cssoss</media:title>
		</media:content>
	</item>
		<item>
		<title>[OpenStack Beginner&#039;s Guide for Ubuntu 11.04] OpenStack Commands</title>
		<link>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-openstack-commands/</link>
		<comments>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-openstack-commands/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 12:07:48 +0000</pubDate>
		<dc:creator>cssoss</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[euca debug instances]]></category>
		<category><![CDATA[euca-bundle-images]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Natty Narhwal]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Nova API]]></category>
		<category><![CDATA[Nova Compute]]></category>
		<category><![CDATA[Nova Network]]></category>
		<category><![CDATA[Nova Scheduler]]></category>
		<category><![CDATA[Nova Ubuntu]]></category>
		<category><![CDATA[Nova Volume]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1224</guid>
		<description><![CDATA[Nova Manage commands OpenStack provides commands for administrative tasks such as user/role management,  network management etc. In all the examples we will use username as &#8220;novadmin&#8221; and project name as &#8220;proj&#8221;. All the nova-manage commands will need to be run as &#8220;root&#8221;. Either run them as root or run them under sudo. User/Role Management Add [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1224&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2>Nova Manage commands</h2>
<p>OpenStack provides commands for administrative tasks such as user/role management,  network management etc. In all the examples we will use username as &#8220;novadmin&#8221; and project name as &#8220;proj&#8221;. All the nova-manage commands will need to be run as &#8220;root&#8221;. Either run them as root or run them under sudo.</p>
<p><span id="more-1224"></span></p>
<h3>User/Role Management</h3>
<p>Add a new user</p>
<p><pre class="brush: plain;">nova-manage user create  novaadmin</pre></p>
<p>Add a user with admin privileges</p>
<p><pre class="brush: plain;">nova-manage user admin  novaadmin</pre></p>
<p>List existing users</p>
<p><pre class="brush: plain;">nova-manage user list</pre></p>
<p>Delete an existing user</p>
<p><pre class="brush: plain;">nova-manage user delete  novaadmin</pre></p>
<p>Associate a user to a specific existing project</p>
<p><pre class="brush: plain;">nova-manage project add proj  novaadmin</pre></p>
<p>Remove a  user from a specific existing project.</p>
<p><pre class="brush: plain;">nova-manage project remove proj  novaadmin</pre></p>
<p>View access key and secret keys of particular user.</p>
<p><pre class="brush: plain;">nova-manage user exports  novaadmin</pre></p>
<p>Add a role to a particular user. Please refer to the chapter on &#8220;Role  Based Access Controls&#8221; for more details on role management</p>
<p><pre class="brush: plain;">nova-manage role add  novaadmin netadmin</pre></p>
<p>Remove a role from a particular user</p>
<p><pre class="brush: plain;">nova-manage role remove  novaadmin netadmin</pre></p>
<p>With the command below, you can change any or all of access key, secret key and admin role flag for a particular user.</p>
<p><pre class="brush: plain;">

Syntax:

nova-manage user modify   &lt;username&gt; &lt;new access key&gt; &lt;new secret key&gt; &lt;admin flag - T or F&gt;

nova-manage user modify   novaadmin mygreatnewaccesskey  &quot;&quot;  &quot;&quot;

nova-manage user modify   novaadmin &quot;&quot; mygreatsecretkey    &quot;&quot;

nova-manage user modify   novaadmin &quot;&quot; &quot;&quot;  T

</pre></p>
<p>Check if a particular user has a specific role or not. The role can be either local or global. The output of the command will be True or False</p>
<p><pre class="brush: plain;">

nova-manage role has  novaadmin cloudadmin
 True

nova-manage role has  novaadmin netadmin proj

 False

</pre></p>
<h3>Project Management</h3>
<p>The following commands help you create and manage projects.  &#8220;nova-manage account&#8221; command is an alias to &#8220;nova-manage project&#8221; and you can use them interchangeably.</p>
<p>Create a project. It requires you to mention name of the project admin as well. css1 is the name of the project and user5 is the name of the project admin here.</p>
<p><pre class="brush: plain;">nova-manage project create css1 user5</pre></p>
<p>List the registered projects.</p>
<p><pre class="brush: plain;">nova-manage project list</pre></p>
<p>Download the credentials and associated file for a specific project. Please refer to the chapter on &#8220;Installation &amp; Configuration&#8221; for more details.</p>
<p><pre class="brush: plain;">nova-manage project zipfile csscorp user5 /home/user5/mysec.zip</pre></p>
<p>delete an existing project</p>
<p><pre class="brush: plain;">nova-manage project delete css1</pre></p>
<p>Check the project wise resource allocation. The output will look like this:</p>
<p><pre class="brush: plain;">

nova-manage project quota css1

metadata_items: 128
 gigabytes: 1000
 floating_ips: 10
 instances: 10
 volumes: 10
 cores: 20

</pre></p>
<h3>Database Management</h3>
<p>Nova stores the data related to the projects, users, resources etc. in a database, by default in a MySQL database.</p>
<p>Print the current database version.</p>
<p><pre class="brush: plain;">nova-manage db version</pre></p>
<p>Sync the DB schema to be in sync with the current configuration.</p>
<p><pre class="brush: plain;">nova-manage db sync</pre></p>
<h3>Instance Type Management</h3>
<p>Nova has the concept of instance types. Each instance type is defined with certain amount of RAM and certain size of the hard disk. When an instance is launched with a particular instance type, Nova resizes the disk image to suit the instance type and allocates the RAM as defined for the instance type chosen. Nova calls instance types as &#8216;flavors&#8217; and lets you add to the list of flavors. By default Nova has 5 types &#8211; m1.tiny, m1.small, m1.medium, m1.large and m1.xlarge.</p>
<p>List the current instance types</p>
<p><pre class="brush: plain;">nova-manage flavor list
 m1.medium: Memory: 4096MB, VCPUS: 2, Storage: 40GB, FlavorID: 3, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB
 m1.large: Memory: 8192MB, VCPUS: 4, Storage: 80GB, FlavorID: 4, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB
 m1.tiny: Memory: 512MB, VCPUS: 1, Storage: 0GB, FlavorID: 1, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB
 m1.xlarge: Memory: 16384MB, VCPUS: 8, Storage: 160GB, FlavorID: 5, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB
 m1.small: Memory: 2048MB, VCPUS: 1, Storage: 20GB, FlavorID: 2, Swap: 0GB, RXTX Quota: 0GB, RXTX Cap: 0MB</pre></p>
<p>Define a new instance type</p>
<p><pre class="brush: plain;">
nova-manage flavor create m1.verytiny 256 2 20 6 0 0 0
</pre></p>
<p>Remove an existing instance type.</p>
<p><pre class="brush: plain;"> nova-manage flavor delete m1.verytiny
 m1.verytiny deleted</pre></p>
<h3>Service Management</h3>
<p>Check state of available services.</p>
<p><pre class="brush: plain;">nova-manage service list
 server1 nova-scheduler enabled  :- ) 2011-04-06 17:01:21
server1 nova-network enabled  :- ) 2011-04-06 17:01:30
 server1  nova-compute enabled  :- ) 2011-04-06 17:01:22
 server2 nova-compute enabled  :- ) 2011-04-06 17:01:28

</pre></p>
<p>Disable a running service</p>
<p><pre class="brush: plain;">nova-manage service disable &lt;hostname&gt; &lt;service&gt;
 nova-manage service disable server2 nova-compute

nova-manage service list
 server1 nova-network enabled  :- ) 2011-04-06 17:05:11
 server1 nova-compute enabled  :- ) 2011-04-06 17:05:13
 server1 nova-scheduler enabled :- ) 2011-04-06 17:05:17
server2 nova-compute disabled  :- ) 2011-04-06 17:05:19
</pre></p>
<p>Re-enable a service that is currently disabled</p>
<p><pre class="brush: plain;">Syntax: nova-manage service enable &lt;hostname&gt; &lt;service&gt;
 nova-manage service enable server2 nova-compute

nova-manage service list
 server1 nova-scheduler enabled  :- ) 2011-04-06 17:08:23
 server1 nova-network enabled  :- ) 2011-04-06 17:08:22
 server1 nova-compute enabled  :- ) 2011-04-06 17:08:23
 server2 nova-compute enabled  :- ) 2011-04-06 17:08:19

</pre></p>
<p>Get Information about resource utlization of the OpenStack components</p>
<p><pre class="brush: plain;">

Syntax: nova-manage service describe_resource &lt;hostname&gt;

 nova-manage service describe_resource server1

HOST                    PROJECT         cpu     mem(mb) disk(gb)
 server1(total)                                    2       3961           224
 server1(used)                                   1        654                30
 server1                    proj                   2       1024                0

</pre></p>
<h2>Euca2ools Commands</h2>
<p>euca2ools provide a set of commands to communicate with the cloud. All these commands require you to authenticate and this is done by sourcing novarc file as detailed in the chapter on &#8220;Installation &amp; Configuration&#8221;</p>
<p>Most of the euca2ools command line utilities work with OpenStack, just as they work with EC2 of AWS.  There may be some differences due to some of the functionality that is yet to be implemented in OpenStack. Help is available for each of these commands  with the switch &#8211;help.</p>
<ul>
<li>euca-add-group</li>
<li>euca-delete-bundle</li>
<li>euca-describe-instances</li>
<li>euca-register</li>
<li>euca-add-keypair</li>
<li>euca-delete-group</li>
<li>euca-describe-keypairs</li>
<li>euca-release-address</li>
<li>euca-allocate-address</li>
<li>euca-delete-keypair</li>
<li>euca-describe-regions</li>
<li>euca-reset-image-attribute</li>
<li>euca-associate-address</li>
<li>euca-delete-snapshot</li>
<li>euca-describe-snapshots</li>
<li>euca-revoke</li>
<li>euca-attach-volume</li>
<li>euca-delete-volume</li>
<li>euca-describe-volumes</li>
<li>euca-run-instances</li>
<li>euca-authorize</li>
<li>euca-deregister</li>
<li>euca-detach-volume</li>
<li>euca-terminate-instances</li>
<li>euca-bundle-image</li>
<li>euca-describe-addresses</li>
<li>euca-disassociate-address</li>
<li>euca-unbundle</li>
<li>euca-bundle-vol</li>
<li>euca-describe-availabity-zones</li>
<li>euca-download-bundle</li>
<li>euca-upload-bundle</li>
<li>euca-confirm-product-instance</li>
<li>euca-describe-groups</li>
<li>euca-get-console-output</li>
<li>euca-version</li>
<li>euca-create-snapshot</li>
<li>euca-describe-image-attribute</li>
<li>euca-modify-image-attribute</li>
<li>euca-create-volume</li>
<li>euca-describe-images</li>
<li>euca-reboot-instances</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1224&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-openstack-commands/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e435614ad849085ee1a8e790c63f2651?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cssoss</media:title>
		</media:content>
	</item>
		<item>
		<title>[OpenStack Beginner&#039;s Guide for Ubuntu 11.04] Role Based Access Control</title>
		<link>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-role-based-access-control/</link>
		<comments>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-role-based-access-control/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 12:05:59 +0000</pubDate>
		<dc:creator>cssoss</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Natty Narhwal]]></category>
		<category><![CDATA[Nova]]></category>
		<category><![CDATA[Nova API]]></category>
		<category><![CDATA[Nova Compute]]></category>
		<category><![CDATA[Nova Network]]></category>
		<category><![CDATA[Nova Scheduler]]></category>
		<category><![CDATA[Nova Ubuntu]]></category>
		<category><![CDATA[Nova Volume]]></category>
		<category><![CDATA[OpenStack]]></category>
		<category><![CDATA[OpenStack Book]]></category>
		<category><![CDATA[OpenStack Documentation]]></category>
		<category><![CDATA[OpenStack Guide]]></category>
		<category><![CDATA[OpenStack Manual]]></category>
		<category><![CDATA[OpenStack Ubuntu]]></category>
		<category><![CDATA[UEC]]></category>
		<category><![CDATA[UEC Book]]></category>
		<category><![CDATA[UEC Documentation]]></category>
		<category><![CDATA[Virtualization]]></category>

		<guid isPermaLink="false">http://cssoss.wordpress.com/?p=1214</guid>
		<description><![CDATA[Every nova user has a role associated with him. This role can be assigned at the time of creation of the account using &#8220;nova-manage add user&#8230;&#8221; or by editing the profile later using the Openstack Dashboard by the project manager. The role can be either global or project specific in scope. All access in Openstack [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1214&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Every nova user has a role associated with him. This role can be assigned at the time of creation of the account using &#8220;nova-manage add user&#8230;&#8221; or by editing the profile later using the Openstack Dashboard by the project manager. The role can be either global or project specific in scope. All access in Openstack is governed by roles. Each role has a predefined set of operations permitted within the relevant scope(global or local)</p>
<p><span id="more-1214"></span></p>
<h3>Administrator (admin)</h3>
<p>This is a project based role. Users who are created with admin roles at time of creation. They enjoy the rights as a administrator for carrying out tasks such as</p>
<ul>
<li>adding an instance</li>
<li>removing an instance</li>
<li>removing an image</li>
<li>adding a key</li>
</ul>
<h3>IT security (itsec)</h3>
<p>This is a global role. It permits role holders to quarantine instances.</p>
<h3>Project Manager (projectmanager)</h3>
<p>This is the default role for project owners. It permits the following tasks:</p>
<ul>
<li>adding available roles to user associated in project</li>
<li>revoking provided roles to a specific user in the project.</li>
<li>adding an instance</li>
<li>removing an instance</li>
<li>removing an image</li>
<li>adding a key</li>
<li>managing network related operations</li>
</ul>
<h3>Network Administrator (netadmin)</h3>
<p>A role which allows particular user to carry out network related operations such as:</p>
<ul>
<li>allocate publicly accessible IP addresses</li>
<li>assign publicly accessible IP addresses</li>
<li>create firewall rules</li>
<li>modify firewall rules</li>
</ul>
<h3>Developer (developer)</h3>
<p>This is a general purpose role that is assigned to users by default. This role can create and download keys.</p>
<p>Summary of role and permitted tasks for each role:</p>
<table border="1">
<tbody>
<tr>
<td>Roles</td>
<td>Global</td>
<td>Local</td>
<td>Key mgmt.</td>
<td>Instance mgmt.</td>
<td>Image mgmt.</td>
<td>Network mgmt.</td>
<td>Project mgmt.</td>
<td>Creating / Modifying Firewall Rules</td>
</tr>
<tr>
<td>Developer</td>
<td>No</td>
<td>Yes</td>
<td>Yes</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td>Project Manager</td>
<td>No</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>It Security</td>
<td>Yes</td>
<td>No</td>
<td>Yes</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td>Cloud Admin</td>
<td>Yes</td>
<td>No</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td>Net Admin</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>No</td>
<td>Yes</td>
</tr>
</tbody>
</table>
<p>Role Management is done using &#8220;nova-manage role&#8221; command. Please refer to the section on OpenStack Commands for more details.</p>
<p>Examples:</p>
<p>Add role to a user</p>
<p><pre class="brush: plain;">
nova-manage role add user1 netadmin
</pre></p>
<p>Remove a role from a particular user</p>
<p><pre class="brush: plain;">
nova-manage role remove user1 netadmin
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cssoss.wordpress.com/1214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cssoss.wordpress.com/1214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/cssoss.wordpress.com/1214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/cssoss.wordpress.com/1214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cssoss.wordpress.com/1214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cssoss.wordpress.com/1214/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cssoss.wordpress.com/1214/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cssoss.wordpress.com/1214/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cssoss.wordpress.com&amp;blog=13113060&amp;post=1214&amp;subd=cssoss&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://cssoss.wordpress.com/2011/04/28/openstack-beginners-guide-for-ubuntu-11-04-role-based-access-control/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e435614ad849085ee1a8e790c63f2651?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cssoss</media:title>
		</media:content>
	</item>
	</channel>
</rss>
