Where are Openstack images stored?

I have openstack private cloud deployed in my organization. I have virtual images such as an ubuntu image, a windows image that is loaded via the openstack toolbar. But I would like to know where the images are stored in the openstack node controller.

I tried to go the way: / etc / glance and / var / lib / glance . But it does not list any downloadable images.

It would be great if I could get an idea of ​​the same.

+4
source share
4 answers

Default: /var/lib/glance/images/

+3
source

- OpenStack. API-.

, , . .

/etc/glance/glance.conf, , .

default_store=STORE

STORE , . - .

, , .

/etc/glance/glance.conf :

filesystem_store_datadir=PATH

PATH . , :

Default: /var/lib/glance/images/

ref: http://docs.openstack.org/developer/glance/configuring.html

+1

, nova image-list glance image-list.

In the web interface, select the project, then select "Select Images" and click on the image name, look for the identifier and use the verification identifier for the image in / var / lib / glance / images.

+1
source

From the following command you can find a list of images uploaded to the environment.

$ glance image-list

Check the list of images, and if you want to load an image from the list of images, run the following command:

$ glance image-download <imagename> > <imagename.qcow2>

it will upload the image to the place where you execute the command.

+1
source

Source: https://habr.com/ru/post/1539420/


All Articles