tacker conductor service doesn't start after manual installation

The installation instructions for tacker conductor are not
included in the installation manual.

Close-Bug: #1777566
Change-Id: I47b2f76fe7df9b4de229d3bdc95700ad9dc1f99a
This commit is contained in:
Li Jiale 2018-06-19 13:48:25 +08:00
parent 5e0335c007
commit 136a001ad2
2 changed files with 29 additions and 3 deletions

View File

@ -44,7 +44,7 @@ is like the below:
export OS_TENANT_NAME=admin export OS_TENANT_NAME=admin
export OS_USERNAME=admin export OS_USERNAME=admin
export OS_PASSWORD=KTskN5eUMTpeHLKorRcZBBbH0AM96wdvgQhwENxY export OS_PASSWORD=KTskN5eUMTpeHLKorRcZBBbH0AM96wdvgQhwENxY
export OS_AUTH_URL=http://localhost:5000/v3 export OS_AUTH_URL=http://localhost:5000/identity
export OS_INTERFACE=internal export OS_INTERFACE=internal
export OS_IDENTITY_API_VERSION=3 export OS_IDENTITY_API_VERSION=3
export OS_REGION_NAME=RegionOne export OS_REGION_NAME=RegionOne
@ -247,13 +247,14 @@ If you are using keystone v2 then,
.. ..
10). To support systemd, copy tacker.service file to "/etc/systemd/system/" 10). To support systemd, copy tacker.service and tacker-conductor.service file to
directory, and restart systemctl daemon. "/etc/systemd/system/" directory, and restart systemctl daemon.
.. code-block:: console .. code-block:: console
sudo su sudo su
cp etc/systemd/system/tacker.service /etc/systemd/system/ cp etc/systemd/system/tacker.service /etc/systemd/system/
cp etc/systemd/system/tacker-conductor.service /etc/systemd/system/
systemctl daemon-reload systemctl daemon-reload
.. ..
@ -331,3 +332,16 @@ required because the console will be locked by a running process.
--config-file /usr/local/etc/tacker/tacker.conf \ --config-file /usr/local/etc/tacker/tacker.conf \
--log-file /var/log/tacker/tacker.log --log-file /var/log/tacker/tacker.log
.. ..
Starting Tacker conductor
=========================
1).Open a new console and launch tacker-conductor. A separate terminal is
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
..

View File

@ -0,0 +1,12 @@
[Unit]
Description = OpenStack tacker conductor service
[Service]
ExecReload = /bin/kill -HUP $MAINPID
TimeoutStopSec = 300
KillMode = process
WorkingDirectory = /tmp
ExecStart=/usr/local/bin/tacker-conductor --config-file /etc/tacker/tacker.conf
[Install]
WantedBy = multi-user.target