Skip to content
Snippets Groups Projects
Commit c37d1d25 authored by Christian Berendt's avatar Christian Berendt
Browse files

Load the metadata definitions during Glance bootstrap

Change-Id: I4e6ecbcfbd11a516b1ddc2fe7a62f20b8313ae07
Closes-bug: #1584698
parent c518baaf
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,8 @@ ...@@ -43,6 +43,8 @@
- container_envs.results - container_envs.results
- check_results.results - check_results.results
- include: bootstrap_service.yml
- include: start.yml - include: start.yml
when: remove_containers.changed when: remove_containers.changed
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty. # of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
glance-manage db_sync glance-manage db_sync
glance-manage db_load_metadefs
sudo chown -R glance: /var/lib/glance/ sudo chown -R glance: /var/lib/glance/
exit 0 exit 0
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment