Kolla provides production-ready containers and deployment tools for operating OpenStack clouds
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
432B

  1. #!/bin/bash
  2. if [[ ! -f "/var/log/kolla/designate/designate-manage.log" ]]; then
  3. touch /var/log/kolla/designate/designate-manage.log
  4. chmod 644 /var/log/kolla/designate/designate-manage.log
  5. fi
  6. # Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
  7. # of the KOLLA_BOOTSTRAP variable being set, including empty.
  8. if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
  9. designate-manage database sync
  10. exit 0
  11. fi