Load the metadata definitions during Glance bootstrap
Change-Id: I4e6ecbcfbd11a516b1ddc2fe7a62f20b8313ae07 Closes-bug: #1584698
This commit is contained in:
parent
c518baafd1
commit
c37d1d25bc
@ -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 @@
|
|||||||
# 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
|
||||||
|
Loading…
Reference in New Issue
Block a user