Glance folder to store images
I noticied in the glance configuration file after deploying openstack that filesystem_store_datadir=/var/lib/glance/images/ however, upon inspection, I found that images weren't stored in that folder, instead all images where located in this folder */var/lib/docker/volumes/glance/_data/images/.* So I'm thinking if actually filesystem_store_datadir is not used to store images but maybe something else.
Look at where the volume is mounted in the container with docker inspect glance_api. It's likely mapped to that location in the container from docker volume. ________________________________ From: A Monster <amonster369@gmail.com> Sent: 29 June 2022 13:12 To: openstack-discuss <openstack-discuss@lists.openstack.org> Subject: Glance folder to store images CAUTION: This email originates from outside THG ________________________________ I noticied in the glance configuration file after deploying openstack that filesystem_store_datadir=/var/lib/glance/images/ however, upon inspection, I found that images weren't stored in that folder, instead all images where located in this folder /var/lib/docker/volumes/glance/_data/images/. So I'm thinking if actually filesystem_store_datadir is not used to store images but maybe something else. Danny Webb Principal OpenStack Engineer The Hut Group<http://www.thehutgroup.com/> Tel: Email: Danny.Webb@thehutgroup.com<mailto:Danny.Webb@thehutgroup.com> For the purposes of this email, the "company" means The Hut Group Limited, a company registered in England and Wales (company number 6539496) whose registered office is at Fifth Floor, Voyager House, Chicago Avenue, Manchester Airport, M90 3DQ and/or any of its respective subsidiaries. Confidentiality Notice This e-mail is confidential and intended for the use of the named recipient only. If you are not the intended recipient please notify us by telephone immediately on +44(0)1606 811888 or return it to us by e-mail. Please then delete it from your system and note that any use, dissemination, forwarding, printing or copying is strictly prohibited. Any views or opinions are solely those of the author and do not necessarily represent those of the company. Encryptions and Viruses Please note that this e-mail and any attachments have not been encrypted. They may therefore be liable to be compromised. Please also note that it is your responsibility to scan this e-mail and any attachments for viruses. We do not, to the extent permitted by law, accept any liability (whether in contract, negligence or otherwise) for any virus infection and/or external compromise of security and/or confidentiality in relation to transmissions sent by e-mail. Monitoring Activity and use of the company's systems is monitored to secure its effective use and operation and for other lawful business purposes. Communications using these systems will also be monitored and may be recorded to secure effective use and operation and for other lawful business purposes. hgvyjuv
You don't say which deployment tool you used to set up OpenStack, but given the content of your message, I assume you are using Kolla. In Kolla, many services have a corresponding volume used to store persistent data. Glance has a glance volume which is used by the glance_api container for the file backend.
From inside the container, the glance service would see this volume mounted at /var/lib/glance.
On Wed, 29 Jun 2022 at 14:16, A Monster <amonster369@gmail.com> wrote:
I noticied in the glance configuration file after deploying openstack that filesystem_store_datadir=/var/lib/glance/images/ however, upon inspection, I found that images weren't stored in that folder, instead all images where located in this folder */var/lib/docker/volumes/glance/_data/images/.* So I'm thinking if actually filesystem_store_datadir is not used to store images but maybe something else.
participants (3)
-
A Monster
-
Danny Webb
-
Pierre Riteau