Bug Fix : Tacker server can't restart when host reboot
In the devstack, tacker server can't restart
when host reboot.
Therefore, this patch enable the tacker server to
the systemctl and restart it, using run_process in
devstack.
Related-Bug:
@@ -146,7 +146,7 @@ function start_tacker {
run_process tacker-conductor "$TACKER_BIN_DIR/tacker-conductor $cfg_file_options"
# Start the Tacker service
sudo cp $TACKER_DIR/etc/systemd/system/tacker.service /etc/systemd/system/devstack@tacker.service
- sudo systemctl daemon-reload
+ sudo systemctl enable devstack@tacker.service
sudo systemctl restart devstack@tacker.service
echo "Waiting for Tacker to start..."
if ! timeout $SERVICE_TIMEOUT sh -c "while ! wget --no-proxy -q -O- $service_protocol://$TACKER_HOST:$service_port; do sleep 1; done"; then
