Permalink
Browse files

Fix VNC

  • Loading branch information...
1 parent be2da7e commit d5ed36393c3e0d825f405357c8113bd565bbed0d Emilien Macchi committed Oct 21, 2012
@@ -50,7 +50,7 @@ image_service=nova.image.glance.GlanceImageService
# novnc #
novnc_enable=true
-novncproxy_base_url=http://192.168.0.2:6080/vnc_auto.html
+novncproxy_base_url=http://192.168.0.1:6080/vnc_auto.html
vncserver_proxyclient_address=127.0.0.1
vncserver_listen=0.0.0.0
@@ -378,7 +378,8 @@ glance image-create --name="Ubuntu 12.04 UEC" --public --container-format=ovf \
<listitem>
<para>Install the packages
:<screen>apt-get -y install nova-api nova-cert nova-common \
- nova-scheduler python-nova python-novaclient nova-consoleauth novnc</screen></para>
+ nova-scheduler python-nova python-novaclient nova-consoleauth novnc \
+ nova-novncproxy</screen></para>
</listitem>
<listitem>
<para>Configure Nova :</para>
@@ -723,10 +724,6 @@ auto eth1
netmask 255.255.255.0</screen>Then,
restart network service :<screen>service networking restart</screen></para>
<para>
- <db:note xmlns:db="http://docbook.org/ns/docbook">
- <db:para>If <emphasis role="bold">eth1</emphasis> is connected to a
- Switch, it should be in tagged mode.</db:para>
- </db:note>
<itemizedlist>
<listitem>
<para>Enable <emphasis role="bold">IP forwarding</emphasis> :</para>
@@ -827,7 +824,7 @@ auth_tcp = "none" </programlisting></para>
<orderedlist>
<listitem>
<para>Install the packages
- :<screen>apt-get -y install nova-api-metadata nova-compute-kvm novnc nova-novncproxy</screen></para>
+ :<screen>apt-get -y install nova-api-metadata nova-compute-kvm</screen></para>
</listitem>
<listitem>
<para>Configure Nova :</para>
@@ -904,7 +901,7 @@ image_service=nova.image.glance.GlanceImageService
# novnc #
novnc_enable=true
-novncproxy_base_url=http://192.168.0.2:6080/vnc_auto.html
+novncproxy_base_url=http://192.168.0.1:6080/vnc_auto.html
vncserver_proxyclient_address=127.0.0.1
vncserver_listen=0.0.0.0
@@ -978,10 +975,6 @@ root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf</screen>
</orderedlist>
</para> </section>
</section>
- <section xml:id="Play"><info><title>Create your first VM</title></info>
-
- <para>This section is going to be written very soon.</para>
- </section>
<section xml:id="Credits">
<info>
<title>Credits</title>
Binary file not shown.
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml"><head><title>OpenStack Folsom Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"/></head><body><div class="article"><div class="titlepage"><div><div><h1 class="title"><a id="d5e1"/>OpenStack Folsom Guide</h1></div><div><h3 class="subtitle"><em>Guide for Ubuntu Precise</em></h3></div><div><div class="author"><h3 class="author">Emilien Macchi</h3></div></div></div><hr/></div><div class="toc"><p><strong>Table of Contents</strong></p><dl><dt><span class="section"><a href="#Introduction">Introduction</a></span></dt><dt><span class="section"><a href="#Requirements">Requirements</a></span></dt><dt><span class="section"><a href="#Controller-Node">Controller Node</a></span></dt><dd><dl><dt><span class="section"><a href="#Operating-Sytem-Controller">Operating System</a></span></dt><dt><span class="section"><a href="#MySQL">MySQL</a></span></dt><dt><span class="section"><a href="#RabbitMQ">RabbitMQ</a></span></dt><dt><span class="section"><a href="#Keystone">Keystone</a></span></dt><dt><span class="section"><a href="#Glance">Glance</a></span></dt><dt><span class="section"><a href="#Nova">Nova</a></span></dt><dt><span class="section"><a href="#Open-vSwitch">Open-vSwitch</a></span></dt><dt><span class="section"><a href="#Quantum">Quantum</a></span></dt><dt><span class="section"><a href="#Cinder">Cinder</a></span></dt><dt><span class="section"><a href="#Horizon">Horizon</a></span></dt></dl></dd><dt><span class="section"><a href="#Compute-Node">Compute Node</a></span></dt><dd><dl><dt><span class="section"><a href="#Operating-Sytem-Compute-1">Operating System</a></span></dt><dt><span class="section"><a href="#Hypervisor">Hypervisor</a></span></dt><dt><span class="section"><a href="#Nova-Compute-and-API">Nova</a></span></dt><dt><span class="section"><a href="#OpenvSwitch">Open-vSwitch</a></span></dt></dl></dd><dt><span class="section"><a href="#Play">Create your first VM</a></span></dt><dt><span class="section"><a href="#Credits">Credits</a></span></dt><dd><dl><dt><span class="section"><a href="#Thanks">Thank's to ...</a></span></dt><dt><span class="section"><a href="#License">License</a></span></dt><dt><span class="section"><a href="#Author">About the author</a></span></dt></dl></dd></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Introduction"/>Introduction</h2></div></div></div><p>I'm writing this document a few weeks before Folsom stable release. I could not resist to
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>OpenStack Folsom Guide</title><meta name="generator" content="DocBook XSL Stylesheets V1.77.1"/></head><body><div class="article"><div class="titlepage"><div><div><h1 class="title"><a id="d5e1"/>OpenStack Folsom Guide</h1></div><div><h3 class="subtitle"><em>Guide for Ubuntu Precise</em></h3></div><div><div class="author"><h3 class="author">Emilien Macchi</h3></div></div></div><hr/></div><div class="toc"><p><strong>Table of Contents</strong></p><dl><dt><span class="section"><a href="#Introduction">Introduction</a></span></dt><dt><span class="section"><a href="#Requirements">Requirements</a></span></dt><dt><span class="section"><a href="#Controller-Node">Controller Node</a></span></dt><dd><dl><dt><span class="section"><a href="#Operating-Sytem-Controller">Operating System</a></span></dt><dt><span class="section"><a href="#MySQL">MySQL</a></span></dt><dt><span class="section"><a href="#RabbitMQ">RabbitMQ</a></span></dt><dt><span class="section"><a href="#Keystone">Keystone</a></span></dt><dt><span class="section"><a href="#Glance">Glance</a></span></dt><dt><span class="section"><a href="#Nova">Nova</a></span></dt><dt><span class="section"><a href="#Open-vSwitch">Open-vSwitch</a></span></dt><dt><span class="section"><a href="#Quantum">Quantum</a></span></dt><dt><span class="section"><a href="#Cinder">Cinder</a></span></dt><dt><span class="section"><a href="#Horizon">Horizon</a></span></dt></dl></dd><dt><span class="section"><a href="#Compute-Node">Compute Node</a></span></dt><dd><dl><dt><span class="section"><a href="#Operating-Sytem-Compute-1">Operating System</a></span></dt><dt><span class="section"><a href="#Hypervisor">Hypervisor</a></span></dt><dt><span class="section"><a href="#Nova-Compute-and-API">Nova</a></span></dt><dt><span class="section"><a href="#OpenvSwitch">Open-vSwitch</a></span></dt></dl></dd><dt><span class="section"><a href="#Credits">Credits</a></span></dt><dd><dl><dt><span class="section"><a href="#Thanks">Thank's to ...</a></span></dt><dt><span class="section"><a href="#License">License</a></span></dt><dt><span class="section"><a href="#Author">About the author</a></span></dt></dl></dd></dl></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Introduction"/>Introduction</h2></div></div></div><p>I'm writing this document a few weeks before Folsom stable release. I could not resist to
share my experience with the community.</p><p>This document helps anyone who wants to deploy Folsom of
OpenStack for development purpose.</p><div class="table"><a id="d5e15"/><p class="title"><strong>Table 1. Architecture and informations</strong></p><div class="table-contents"><table border="1"><colgroup><col class="c1"/><col class="c2"/><col class="newCol3"/></colgroup><thead><tr><th> </th><th>controller</th><th>compute</th></tr></thead><tbody><tr><td>Managment Network</td><td>192.168.0.1/24</td><td>192.168.0.2/24</td></tr><tr><td>Hostname</td><td>folsom-controller</td><td>folsom-compute</td></tr><tr><td>Services</td><td>MySQL, RabbitMQ, Nova, Cinder, Glance, Keystone, Quantum,
Open-vSwitch</td><td>nova-compute, KVM, nova-api, Quantum Agent with Open-vSwitch</td></tr></tbody></table></div></div><br class="table-break"/><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="/media/DATA/Mes Documents/Oxygen XML Author 14/frameworks/docbook/xsl/images/note.png"/></td><th align="left">Note</th></tr><tr><td align="left" valign="top"><p> That's a basic architecture, of course <span class="bold"><strong>you can add many
@@ -150,7 +150,8 @@ glance image-create --name="Ubuntu 12.04 UEC" --public --container-format=ovf \
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="Nova"/>Nova</h3></div></div></div><p>
</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Install the packages
:</p><pre class="screen">apt-get -y install nova-api nova-cert nova-common \
- nova-scheduler python-nova python-novaclient nova-consoleauth novnc</pre></li><li class="listitem"><p>Configure Nova :</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Edit <span class="bold"><strong>/etc/nova/api-paste.ini</strong></span>
+ nova-scheduler python-nova python-novaclient nova-consoleauth novnc \
+ nova-novncproxy</pre></li><li class="listitem"><p>Configure Nova :</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Edit <span class="bold"><strong>/etc/nova/api-paste.ini</strong></span>
file and modify
:</p><pre class="screen">admin_tenant_name = service
admin_user = nova
@@ -336,8 +337,6 @@ auto eth1
address 10.0.0.4
netmask 255.255.255.0</pre><p>Then,
restart network service :</p><pre class="screen">service networking restart</pre><p>
- </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><table border="0" summary="Note"><tr><td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="/media/DATA/Mes Documents/Oxygen XML Author 14/frameworks/docbook/xsl/images/note.png"/></td><th align="left">Note</th></tr><tr><td align="left" valign="top"><p>If <span class="bold"><strong>eth1</strong></span> is connected to a
- Switch, it should be in tagged mode.</p></td></tr></table></div><p>
</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Enable <span class="bold"><strong>IP forwarding</strong></span> :</p></li></ul></div><p>
</p><pre class="programlisting">sed -i -r 's/^\s*#(net\.ipv4\.ip_forward=1.*)/\1/' /etc/sysctl.conf
echo 1 &gt; /proc/sys/net/ipv4/ip_forward </pre><p>
@@ -370,7 +369,7 @@ auth_tcp = "none" </pre><p>Modify libvirtd_opts variable in <span class="bold"><
:</p><pre class="screen">service libvirt-bin restart</pre></li></ul></div></li></ol></div><p>
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="Nova-Compute-and-API"/>Nova</h3></div></div></div><p>
</p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>Install the packages
- :</p><pre class="screen">apt-get -y install nova-api-metadata nova-compute-kvm novnc nova-novncproxy</pre></li><li class="listitem"><p>Configure Nova :</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Edit <span class="bold"><strong>/etc/nova/api-paste.ini</strong></span>
+ :</p><pre class="screen">apt-get -y install nova-api-metadata nova-compute-kvm</pre></li><li class="listitem"><p>Configure Nova :</p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>Edit <span class="bold"><strong>/etc/nova/api-paste.ini</strong></span>
file and modify
:</p><pre class="screen">admin_tenant_name = service
admin_user = nova
@@ -434,7 +433,7 @@ image_service=nova.image.glance.GlanceImageService
# novnc #
novnc_enable=true
-novncproxy_base_url=http://192.168.0.2:6080/vnc_auto.html
+novncproxy_base_url=http://192.168.0.1:6080/vnc_auto.html
vncserver_proxyclient_address=127.0.0.1
vncserver_listen=0.0.0.0
@@ -473,7 +472,7 @@ enable_tunneling = True
[AGENT]
root_helper = sudo /usr/bin/quantum-rootwrap /etc/quantum/rootwrap.conf</pre></li><li class="listitem"><p>Start the Agent
:</p><pre class="screen">service quantum-plugin-openvswitch-agent restart</pre></li></ol></div><p>
- </p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Play"/>Create your first VM</h2></div></div></div><p>This section is going to be written very soon.</p></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Credits"/>Credits</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="Thanks"/>Thank's to ...</h3></div></div></div><p>John Griffith - SolidFire</p><p>Martin Loschwitz - Hastexo</p><p>Adam Gandelman - Canonical</p><p>Dan Wendlandt - Nicira / VMware</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="License"/>License</h3></div></div></div><pre class="programlisting"> Copyright 2012 Emilien Macchi
+ </p></div></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a id="Credits"/>Credits</h2></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="Thanks"/>Thank's to ...</h3></div></div></div><p>John Griffith - SolidFire</p><p>Martin Loschwitz - Hastexo</p><p>Adam Gandelman - Canonical</p><p>Dan Wendlandt - Nicira / VMware</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="License"/>License</h3></div></div></div><pre class="programlisting"> Copyright 2012 Emilien Macchi
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

0 comments on commit d5ed363

Please sign in to comment.