From 2e34c323870311707603b31da9fa6af85671291e Mon Sep 17 00:00:00 2001 From: Manpreet Kaur Date: Fri, 21 Aug 2020 07:25:44 +0000 Subject: [PATCH] Fix miscellaneous errors in Manual Installation This patch fixes below mention problems, * In section "Installing Tacker Server", the message queue configuration details are missing from the [DEFAULT] section of shared tacker configuration file. Second the memcached_server in [keystone_authtoken] section, has an inconsistent parameter value with respect to other OpenStack installation documents. * Replace "sudo su" with "sudo" in commands which require root privilege. * Replace old convention of starting tacker and tacker-conductor service. Change-Id: I68301e673e786d2d9227fd8df85d0d85dfcec825 Closes-Bug: #1892353 --- doc/source/install/manual_installation.rst | 32 +++++++++------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/doc/source/install/manual_installation.rst b/doc/source/install/manual_installation.rst index c2aa2b33e..abcab54a3 100644 --- a/doc/source/install/manual_installation.rst +++ b/doc/source/install/manual_installation.rst @@ -188,13 +188,13 @@ Installing Tacker Server .. code-block:: ini [agent] - root_helper = sudo /usr/bin/tacker-rootwrap /usr/local/etc/tacker/rootwrap.conf + root_helper = sudo /usr/bin/tacker-rootwrap /etc/tacker/rootwrap.conf .. code-block:: ini [DEFAULT] auth_strategy = keystone - policy_file = /usr/local/etc/tacker/policy.json + policy_file = /etc/tacker/policy.json debug = True use_syslog = False bind_host = @@ -202,13 +202,14 @@ Installing Tacker Server service_plugins = nfvo,vnfm state_path = /var/lib/tacker + transport_url = rabbit://:@:5672/ ... [nfvo_vim] vim_drivers = openstack [keystone_authtoken] - memcached_servers = 11211 + memcached_servers = :11211 region_name = RegionOne auth_type = password project_domain_name = @@ -221,7 +222,7 @@ Installing Tacker Server ... [agent] - root_helper = sudo /usr/local/bin/tacker-rootwrap /usr/local/etc/tacker/rootwrap.conf + root_helper = sudo /usr/local/bin/tacker-rootwrap /etc/tacker/rootwrap.conf ... [database] @@ -231,20 +232,18 @@ Installing Tacker Server [tacker] monitor_driver = ping,http_ping -#. Copy the ``tacker.conf`` to ``/usr/local/etc/tacker/`` directory. +#. Copy the ``tacker.conf`` to ``/etc/tacker/`` directory. .. code-block:: console - $ sudo su - $ cp etc/tacker/tacker.conf /usr/local/etc/tacker/ + $ sudo cp etc/tacker/tacker.conf /etc/tacker/ #. Populate Tacker database. - .. code-block:: console $ /usr/local/bin/tacker-db-manage \ - --config-file /usr/local/etc/tacker/tacker.conf \ + --config-file /etc/tacker/tacker.conf \ upgrade head #. To make tacker be controlled from systemd, copy ``tacker.service`` and @@ -253,10 +252,9 @@ Installing Tacker Server .. code-block:: console - $ sudo su - $ cp etc/systemd/system/tacker.service /etc/systemd/system/ - $ cp etc/systemd/system/tacker-conductor.service /etc/systemd/system/ - $ systemctl daemon-reload + $ sudo cp etc/systemd/system/tacker.service /etc/systemd/system/ + $ sudo cp etc/systemd/system/tacker-conductor.service /etc/systemd/system/ + $ sudo systemctl daemon-reload Install Tacker Client --------------------- @@ -313,9 +311,7 @@ required because the console will be locked by a running process. .. code-block:: console - $ sudo python3 /usr/local/bin/tacker-server \ - --config-file /usr/local/etc/tacker/tacker.conf \ - --log-file /var/log/tacker/tacker.log + $ sudo systemctl start tacker.service Starting Tacker conductor ------------------------- @@ -325,6 +321,4 @@ required because the console will be locked by a running process. .. code-block:: console - $ sudo python /usr/local/bin/tacker-conductor \ - --config-file /usr/local/etc/tacker/tacker.conf \ - --log-file /var/log/tacker/tacker-conductor.log + $ sudo systemctl start tacker-conductor.service