From 0643f7fb25ef2bf4584bd2b35f81074e504ae3ae Mon Sep 17 00:00:00 2001 From: Tom Fifield Date: Sat, 19 Oct 2013 18:45:51 +1100 Subject: [PATCH] Fixes for Centos install guide This patch fixes several areas in the install guide by running through and using them for Centos. Closes-Bug: 1241331 Change-Id: I247639f5f6aa82cc619ae7dfb0513f596f08c1a3 --- doc/install-guide/ch_basics.xml | 3 ++- .../section_dashboard-install.xml | 27 ++++++++++++++++--- doc/install-guide/section_nova-compute.xml | 7 ++++- doc/install-guide/section_nova-network.xml | 1 - 4 files changed, 32 insertions(+), 6 deletions(-) diff --git a/doc/install-guide/ch_basics.xml b/doc/install-guide/ch_basics.xml index 24af9ee93a6..4242f3a58fc 100644 --- a/doc/install-guide/ch_basics.xml +++ b/doc/install-guide/ch_basics.xml @@ -37,6 +37,7 @@ node can reach the other nodes on the internal network using host names like controller and compute1. + Start by disabling the NetworkManager service and enabling the network service. The network service is more suitable for the static @@ -293,7 +294,7 @@ hwclock -w # apt-get install python-mysqldb # yum install mysql MySQL-python # zypper install mariadb-client python-mysql - For SUSE Linux Enterprise, install MySQL: + For SUSE Linux Enterprise, install MySQL: # zypper install mysql-client python-mysql diff --git a/doc/install-guide/section_dashboard-install.xml b/doc/install-guide/section_dashboard-install.xml index c41fcb0c702..3907ff35be6 100644 --- a/doc/install-guide/section_dashboard-install.xml +++ b/doc/install-guide/section_dashboard-install.xml @@ -103,6 +103,20 @@ + Update the ALLOWED_HOSTSin + local_settings.py to include the addresses you wish to + access the dashboard from. + Edit /etc/openstack-dashboard/local_settings/etc/openstack-dashboard/local_settings.py/usr/share/openstack-dashboard/openstack_dashboard/local/local_settings.py + ALLOWED_HOSTS = ['localhost', 'my-desktop'] + + + This guide assumes that you are running the Dashboard on the controller node. You can easily run the dashboard on a separate server, by changing the appropriate settings in local_settings.py @@ -134,18 +148,25 @@ linkend="dashboard-session-database"/>. - + Start the Apache web server and memcached: - # service apache2 start + # service apache2 start # service memcached start # chckconfig apache2 on # chckconfig memcached on + # service httpd start +# service memcached start +# chckconfig httpd on +# chckconfig memcached on + # service apache2 restart +# service memcached restart You can now access the dashboard at - http://controller/horizon + http://controller/horizon + http://controller/dashboard http://controller. Login with credentials for any user that you created with the OpenStack Identity Service. diff --git a/doc/install-guide/section_nova-compute.xml b/doc/install-guide/section_nova-compute.xml index 4f17edc5ae7..bd6840c858f 100644 --- a/doc/install-guide/section_nova-compute.xml +++ b/doc/install-guide/section_nova-compute.xml @@ -23,7 +23,7 @@ Use different IP addresses when configuring eth0. This guide uses - 192.168.0.11 for the internal network. + 192.168.0.11 for the internal network. Do not configure eth1 with a static IP address. An IP address will be assigned and configured by the networking component of OpenStack. @@ -142,6 +142,11 @@ admin_password=NOVA_DBPASS Start the Compute service and configure it to start when the system boots. Restart the Compute service. # service nova-compute restart + # service libvirtd start +# service messagebus start +# chkconfig libvirtd on +# chkconfig messagebus on + # service openstack-nova-compute start # chkconfig openstack-nova-compute on diff --git a/doc/install-guide/section_nova-network.xml b/doc/install-guide/section_nova-network.xml index f54ac097e81..75ed86ed407 100644 --- a/doc/install-guide/section_nova-network.xml +++ b/doc/install-guide/section_nova-network.xml @@ -27,7 +27,6 @@ # openstack-config --set /etc/nova/nova.conf DEFAULT \ firewall_driver nova.virt.libvirt.firewall.IptablesFirewallDriver # openstack-config --set /etc/nova/nova.conf DEFAULT network_size 254 -# openstack-config --set /etc/nova/nova.conf DEFAULT routing_source_ip ADDRESS # openstack-config --set /etc/nova/nova.conf DEFAULT allow_same_net_traffic False # openstack-config --set /etc/nova/nova.conf DEFAULT multi_host True # openstack-config --set /etc/nova/nova.conf DEFAULT send_arp_for_ha True