Merge "Permission issue with heat."

This commit is contained in:
Zuul 2018-02-28 09:21:45 +00:00 committed by Gerrit Code Review
commit 3835b3d28a
4 changed files with 32 additions and 3 deletions

View File

@ -154,7 +154,9 @@ function start_tacker {
# Start tacker conductor
run_process tacker-conductor "$TACKER_BIN_DIR/tacker-conductor $cfg_file_options"
# Start the Tacker service
run_process tacker "$TACKER_BIN_DIR/tacker-server $cfg_file_options"
sudo cp $TACKER_DIR/etc/systemd/system/tacker.service /etc/systemd/system/devstack@tacker.service
sudo systemctl daemon-reload
sudo systemctl restart devstack@tacker.service
echo "Waiting for Tacker to start..."
if is_ssl_enabled_service "tacker"; then
ssl_ca="--ca-certificate=${SSL_BUNDLE_FILE}"

View File

@ -247,6 +247,23 @@ If you are using keystone v2 then,
..
10). To support systemd, copy tacker.service file to "/etc/systemd/system/"
directory, and restart systemctl daemon.
.. code-block:: console
sudo su
cp etc/systemd/system/tacker.service /etc/systemd/system/
systemctl daemon-reload
..
.. note::
Needs systemd support.
By default Ubuntu16.04 onward is supported.
..
Install Tacker client
=====================

View File

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

View File

@ -13,7 +13,6 @@
import json
import time
import unittest
from oslo_config import cfg
@ -27,7 +26,6 @@ CONF = cfg.CONF
class VnfTestToscaScale(base.BaseTackerTest):
@unittest.skip("Skip and wait for releasing Heat Translator")
def test_vnf_tosca_scale(self):
data = dict()
data['tosca'] = read_file('sample-tosca-scale-all.yaml')