From df389de45999258e73dd137e2570abe861b4f069 Mon Sep 17 00:00:00 2001 From: Pranav Salunke Date: Mon, 5 Oct 2015 13:12:17 +0200 Subject: [PATCH] install: Liberty updates for obs (*suse/SLES) * Updates relevant sections for openSUSE-*/SLES* * Adds some work-arounds for potential deadends. * Updates package and service names. Change-Id: I85c1678d04737bc11915e3f3b1d9653abad1adaa Implements: blueprint installguide-liberty --- .../source/environment-dependencies.rst | 23 ++++++++++++++++++- .../source/environment-ntp-controller.rst | 8 +++---- doc/install-guide/source/keystone-install.rst | 9 +++++++- .../source/neutron-controller-install.rst | 4 ++-- 4 files changed, 36 insertions(+), 8 deletions(-) diff --git a/doc/install-guide/source/environment-dependencies.rst b/doc/install-guide/source/environment-dependencies.rst index 11336232fa..14550fa636 100644 --- a/doc/install-guide/source/environment-dependencies.rst +++ b/doc/install-guide/source/environment-dependencies.rst @@ -282,7 +282,7 @@ Install and configure the database server .. code-block:: console - # zypper install mariadb-client mariadb python-mysql + # zypper install mariadb-client mariadb python-PyMySQL .. only:: ubuntu or debian @@ -433,6 +433,27 @@ Configure the message queue service # systemctl enable rabbitmq-server.service # systemctl start rabbitmq-server.service + .. only:: obs + + In case the message queue service does not start and gives ``nodedown`` error, + perform the following steps. + + * Copy the ``/usr/lib/systemd/system/epmd.socket`` file to the + ``/etc/systemd/system`` directory. + + * Edit the ``/etc/systemd/system/epmd.socket`` file to contain the following: + + .. code-block:: ini + + [Socket] + ... + ListenStream=MANAGEMENT_INTERFACE_IP_ADDRESS:4369 + + Replace ``MANAGEMENT_INTERFACE_IP_ADDRESS`` with the IP address of the + management network interface on your controller node. + + * Start the message queue service again. + #. Add the ``openstack`` user: .. code-block:: console diff --git a/doc/install-guide/source/environment-ntp-controller.rst b/doc/install-guide/source/environment-ntp-controller.rst index 8796f875d2..6cba9bbe10 100644 --- a/doc/install-guide/source/environment-ntp-controller.rst +++ b/doc/install-guide/source/environment-ntp-controller.rst @@ -22,19 +22,19 @@ Install the packages: .. only:: obs - On openSUSE: + On openSUSE 13.2: .. code-block:: console - # zypper addrepo http://download.opensuse.org/repositories/network:time/openSUSE_13.2/network:time.repo + # zypper addrepo -f http://download.opensuse.org/repositories/network:time/openSUSE_13.2/network:time.repo network_time # zypper refresh # zypper install chrony - On SLES: + On SLES 12: .. code-block:: console - # zypper addrepo http://download.opensuse.org/repositories/network:time/SLE_12/network:time.repo + # zypper addrepo -f http://download.opensuse.org/repositories/network:time/SLE_12/network:time.repo network_time # zypper refresh # zypper install chrony diff --git a/doc/install-guide/source/keystone-install.rst b/doc/install-guide/source/keystone-install.rst index d200a09de4..2a7d02bc32 100644 --- a/doc/install-guide/source/keystone-install.rst +++ b/doc/install-guide/source/keystone-install.rst @@ -97,7 +97,8 @@ database and an administration token. .. code-block:: console # zypper install openstack-keystone apache2-mod_wsgi \ - memcached python-python-memcached + memcached python-python-memcached python-devel \ + python-pycrypto .. only:: obs or rdo @@ -520,6 +521,12 @@ Finalize the installation .. only:: obs + #. Activate the Apache module ``mod_version``: + + .. code-block:: console + + # a2enmod version + #. Start the Apache HTTP service and configure it to start when the system boots: .. code-block:: console diff --git a/doc/install-guide/source/neutron-controller-install.rst b/doc/install-guide/source/neutron-controller-install.rst index 20dea615b4..4eede9e70a 100644 --- a/doc/install-guide/source/neutron-controller-install.rst +++ b/doc/install-guide/source/neutron-controller-install.rst @@ -342,11 +342,11 @@ Finalize installation .. code-block:: console # systemctl enable openstack-neutron.service \ - openstack-neutron-linuxbridge.service \ + openstack-neutron-linuxbridge-agent.service \ openstack-neutron-dhcp-agent.service \ openstack-neutron-metadata-agent.service # systemctl start openstack-neutron.service \ - openstack-neutron-linuxbridge.service \ + openstack-neutron-linuxbridge-agent.service \ openstack-neutron-dhcp-agent.service \ openstack-neutron-metadata-agent.service