Only bind mount images dir /w local Glance storage
/var/lib/images should not be bind mounted unless: The glance server is not on metal Is using local file storage Isn't using glance_nfs_client settings This isn't required for non-file backed glance servers, and will cause failures if /var/lib/images is bind mounted when using nfs_clients for glance. Closes-bug: #1503411 Change-Id: Ie90f75652a960af664fcf8f29d554045f0599944
This commit is contained in:
parent
62932d9c9d
commit
537912778d
|
@ -36,7 +36,10 @@
|
|||
container_config:
|
||||
- "lxc.mount.entry=/openstack/{{ container_name }} var/lib/glance/images none bind 0 0"
|
||||
delegate_to: "{{ physical_host }}"
|
||||
when: not is_metal | bool
|
||||
when: >
|
||||
(not is_metal | bool) and
|
||||
(glance_default_store == "file") and
|
||||
(glance_nfs_client is not defined)
|
||||
register: container_extra_config
|
||||
tags:
|
||||
- glance-cache-dir
|
||||
|
|
Loading…
Reference in New Issue