2016-01-02 05:54:23 |
Lingfeng Xiong |
description |
glance images are currently stored in a docker container "glance-data", which is mounted from somewhere like:
/var/lib/docker/volumes/5cf532d1905df1df45bc686e8aec9ac129b6a0a357ee7232ff92cdd35e5c04ba/_data
Is there anyway to modify this mount point? For example, when images are stored in a NAS share, it is necessary to modify this mount point. |
glance images are currently stored in a docker container "glance-data", which is mounted from somewhere like:
/var/lib/docker/volumes/5cf532d1905df1df45bc686e8aec9ac129b6a0a357ee7232ff92cdd35e5c04ba/_data
Is there anyway to modify this mount point? For example, when images are stored in a NAS share, it is necessary to modify this mount point.
My current approach is to mount the NFS share manually on host, then modify ansible/role/glance/tasks/start.yml , set "volumes" in "glance_api" to "/glance-storage:/var/lib/glance". |
|
2016-01-02 05:55:43 |
Lingfeng Xiong |
description |
glance images are currently stored in a docker container "glance-data", which is mounted from somewhere like:
/var/lib/docker/volumes/5cf532d1905df1df45bc686e8aec9ac129b6a0a357ee7232ff92cdd35e5c04ba/_data
Is there anyway to modify this mount point? For example, when images are stored in a NAS share, it is necessary to modify this mount point.
My current approach is to mount the NFS share manually on host, then modify ansible/role/glance/tasks/start.yml , set "volumes" in "glance_api" to "/glance-storage:/var/lib/glance". |
glance images are currently stored in a docker container "glance-data", which is mounted from somewhere like:
/var/lib/docker/volumes/5cf532d1905df1df45bc686e8aec9ac129b6a0a357ee7232ff92cdd35e5c04ba/_data
Is there anyway to modify this mount point? For example, when images are stored in a NAS share, it is necessary to modify this mount point.
My current approach is to mount the NFS share manually on host, then modify ansible/role/glance/tasks/start.yml , set "volumes" in "glance_api" to "/glance-storage:/var/lib/glance". and comment out "volumes_from" section. |
|