Merge "Load the metadata definitions during Glance bootstrap"

This commit is contained in:
Jenkins 2016-06-15 02:48:49 +00:00 committed by Gerrit Code Review
commit 9ed6712bd1
2 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,8 @@
- container_envs.results
- check_results.results
- include: bootstrap_service.yml
- include: start.yml
when: remove_containers.changed

View File

@ -4,6 +4,7 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
glance-manage db_sync
glance-manage db_load_metadefs
sudo chown -R glance: /var/lib/glance/
exit 0
fi