Fixes to nova network after ubuntu testing

* Removes some services restarting that weren't ever installed
* Ensures python-novaclient is installed and an RC file is sourced
* Comments out deep dive into KVM as it's not necessary in install guide

Change-Id: I7a23720786ac9b1e9ac686e7c44c4d32599bdcd2
This commit is contained in:
annegentle 2013-10-15 17:08:56 -05:00
parent 445dc761f0
commit d3f6bff9f4
4 changed files with 13 additions and 15 deletions

View File

@ -8,7 +8,7 @@
<xi:include href="../common/section_getstart_compute.xml"/>
<xi:include href="section_nova-controller.xml"/>
<xi:include href="section_nova-compute.xml"/>
<xi:include href="section_nova-kvm.xml"/>
<!-- <xi:include href="section_nova-kvm.xml"/>-->
<xi:include href="section_nova-network.xml"/>
<xi:include href="section_nova-boot.xml"/>

View File

@ -125,7 +125,7 @@
<computeroutput>+--------------------------------------+--------+--------+----------------------+
| ID | Name | Status | Networks |
+--------------------------------------+--------+--------+----------------------+
| 3bdf98a0-c767-4247-bf41-2d147e4aa043 | cirrOS | ACTIVE | demonet=192.168.0.11 |
| 3bdf98a0-c767-4247-bf41-2d147e4aa043 | cirrOS | ACTIVE | demonet=192.168.0.11 |
+--------------------------------------+--------+--------+----------------------+</computeroutput>
</screen>
<note><para>You can also retrieve additional details about the specific instance using the

View File

@ -38,12 +38,15 @@
<para>Install the MySQL client libraries. You do not need to install the MySQL database
server or start the MySQL service.</para>
</listitem>
<listitem>
<para>Enable the OpenStack packages for the distribution you are using, see <xref linkend="basics-packages"/>.</para>
</listitem>
</itemizedlist>
</step>
<step><para>After configuring the operating system, install the appropriate
packages for the compute service.</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install nova-compute-kvm</userinput></screen>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>apt-get install nova-compute-kvm python-novaclient</userinput></screen>
<screen os="centos;rhel;fedora"><prompt>#</prompt> <userinput>yum install openstack-nova-compute</userinput></screen>
<screen os="opensuse"><prompt>#</prompt> <userinput>zypper install openstack-nova-compute kvm openstack-utils</userinput></screen>
</step>

View File

@ -10,8 +10,8 @@
chosen the simplest production-ready configuration for this guide: the legacy
networking in OpenStack Compute, with a flat network, that takes care of DHCP
and is made highly available by splitting across multiple hosts.</para>
<note><para>If you require the full software-defined networking stack, see
<link linkend="ch_neutron">Using Neutron Networking</link></para></note>
<note><para>If you require the full software-defined networking stack, see <link
linkend="ch_neutron">Using Neutron Networking</link>.</para></note>
<procedure>
<step><para>After performing initial configuration of the compute node,
install the appropriate packages for compute networking.</para>
@ -58,22 +58,17 @@ public_interface = br100
<step>
<para>Now, restart the relevant services:</para>
<screen os="ubuntu;debian"><prompt>#</prompt> <userinput>service nova-api restart</userinput>
<prompt>#</prompt> <userinput>service nova-consoleauth restart</userinput>
<prompt>#</prompt> <userinput>service nova-novncproxy restart</userinput>
<screen os="ubuntu;debian">
<prompt>#</prompt> <userinput>service nova-network restart</userinput></screen>
<screen os='centos;rhel;fedora'><prompt>#</prompt> <userinput>service openstack-nova-api restart</userinput>
<prompt>#</prompt> <userinput>service openstack-nova-consoleauth restart</userinput>
<prompt>#</prompt> <userinput>service openstack-nova-novncproxy restart</userinput>
<screen os='centos;rhel;fedora'>
<prompt>#</prompt> <userinput>service openstack-nova-network restart</userinput></screen>
<screen os="opensuse"><prompt>#</prompt> <userinput>systemctl restart openstack-nova-api.service</userinput>
<prompt>#</prompt> <userinput>systemctl restart openstack-nova-consoleauth.service</userinput>
<prompt>#</prompt> <userinput>systemctl restart openstack-nova-novncproxy.service</userinput>
<screen os="opensuse">
<prompt>#</prompt> <userinput>systemctl restart openstack-nova-network.service</userinput></screen>
</step>
<step>
<para>You must run the command that creates the network that the virtual machines use.
<para>You must run the command that creates the network that the virtual machines use.
You only need to run this command once, from a place where your admin user credentials are loaded.</para>
<screen>source keystonerc</screen>
<screen><prompt>#</prompt> <userinput>nova network-create vmnet --fixed-range-v4=10.0.0.0/24 --bridge-interface=br100 --multi-host=T</userinput></screen>
</step>
</procedure>