kolla/docker/zaqar/extend_start.sh
Eduardo Gonzalez 69e2e9fff1 Fix zaqar container
This PS is part of a rework on zaqar container.
In it's current state is not working in kolla.
Will be adding/fixing issues under this PS.

- Remove bootstrap zaqar:
  At this point zaqar-manage command does not exist.
  Boostraping is not needed while starting zaqar container.

- Add pymongo package in source install.

- Create /var/log/kolla folder.

- Change zaqar homedir to /var/lib/zaqar and unify creation.

- Zaqar's source default have config files as *.sample.
  Policy.json need to be present if keystone auth
  is going to be used.

- Zaqar uses wsgi to the API, heka decoder need to be added

Change-Id: I9c6716b64345d9e846902ffbfbf033135e3eabd9
Closes-Bug: #1647831
2017-01-07 12:54:51 +00:00

9 lines
190 B
Bash
Executable File

#!/bin/bash
if [[ ! -d "/var/log/kolla/zaqar" ]]; then
mkdir -p /var/log/kolla/zaqar
fi
if [[ $(stat -c %a /var/log/kolla/zaqar) != "755" ]]; then
chmod 755 /var/log/kolla/zaqar
fi