kolla-ansible/docker/designate/designate-base/extend_start.sh
Ross Krumbeck e4259f805b Fix designate bootstrap.
According to
http://docs.openstack.org/developer/designate/getting-started.html#initialize-start-the-central-service
designate database bootstrap to be done by designate-manage database sync.
Was also missing designate-manage pool_manager_cache sync.
designate-manage command is packaged with designate-central.
Boot strap commands moved to designate-central.
Added creation of log directories.
Added python2-oslo-reports and python2-suds for bootstrap to complete.

Change-Id: I3896064b0abb31c96307b16005a340fc193aac3c
Closes-Bug: 1610795
2016-08-11 11:03:27 +10:00

11 lines
258 B
Bash

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