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
This commit is contained in:
Manpreet Kaur 2020-08-21 07:25:44 +00:00
parent ef7bc61632
commit 2e34c32387
1 changed files with 13 additions and 19 deletions

View File

@ -188,13 +188,13 @@ Installing Tacker Server
.. code-block:: ini .. code-block:: ini
[agent] [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 .. code-block:: ini
[DEFAULT] [DEFAULT]
auth_strategy = keystone auth_strategy = keystone
policy_file = /usr/local/etc/tacker/policy.json policy_file = /etc/tacker/policy.json
debug = True debug = True
use_syslog = False use_syslog = False
bind_host = <TACKER_NODE_IP> bind_host = <TACKER_NODE_IP>
@ -202,13 +202,14 @@ Installing Tacker Server
service_plugins = nfvo,vnfm service_plugins = nfvo,vnfm
state_path = /var/lib/tacker state_path = /var/lib/tacker
transport_url = rabbit://<RABBIT_USERID>:<RABBIT_PASSWORD>@<TACKER_NODE_IP>:5672/
... ...
[nfvo_vim] [nfvo_vim]
vim_drivers = openstack vim_drivers = openstack
[keystone_authtoken] [keystone_authtoken]
memcached_servers = 11211 memcached_servers = <TACKER_NODE_IP>:11211
region_name = RegionOne region_name = RegionOne
auth_type = password auth_type = password
project_domain_name = <DOMAIN_NAME> project_domain_name = <DOMAIN_NAME>
@ -221,7 +222,7 @@ Installing Tacker Server
... ...
[agent] [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] [database]
@ -231,20 +232,18 @@ Installing Tacker Server
[tacker] [tacker]
monitor_driver = ping,http_ping 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 .. code-block:: console
$ sudo su $ sudo cp etc/tacker/tacker.conf /etc/tacker/
$ cp etc/tacker/tacker.conf /usr/local/etc/tacker/
#. Populate Tacker database. #. Populate Tacker database.
.. code-block:: console .. code-block:: console
$ /usr/local/bin/tacker-db-manage \ $ /usr/local/bin/tacker-db-manage \
--config-file /usr/local/etc/tacker/tacker.conf \ --config-file /etc/tacker/tacker.conf \
upgrade head upgrade head
#. To make tacker be controlled from systemd, copy ``tacker.service`` and #. To make tacker be controlled from systemd, copy ``tacker.service`` and
@ -253,10 +252,9 @@ Installing Tacker Server
.. code-block:: console .. code-block:: console
$ sudo su $ sudo cp etc/systemd/system/tacker.service /etc/systemd/system/
$ cp etc/systemd/system/tacker.service /etc/systemd/system/ $ sudo cp etc/systemd/system/tacker-conductor.service /etc/systemd/system/
$ cp etc/systemd/system/tacker-conductor.service /etc/systemd/system/ $ sudo systemctl daemon-reload
$ systemctl daemon-reload
Install Tacker Client Install Tacker Client
--------------------- ---------------------
@ -313,9 +311,7 @@ required because the console will be locked by a running process.
.. code-block:: console .. code-block:: console
$ sudo python3 /usr/local/bin/tacker-server \ $ sudo systemctl start tacker.service
--config-file /usr/local/etc/tacker/tacker.conf \
--log-file /var/log/tacker/tacker.log
Starting Tacker conductor Starting Tacker conductor
------------------------- -------------------------
@ -325,6 +321,4 @@ required because the console will be locked by a running process.
.. code-block:: console .. code-block:: console
$ sudo python /usr/local/bin/tacker-conductor \ $ sudo systemctl start tacker-conductor.service
--config-file /usr/local/etc/tacker/tacker.conf \
--log-file /var/log/tacker/tacker-conductor.log