The Image service (glance) enables users to discover, register, and retrieve virtual machine images. It offers a REST API that enables you to query virtual machine image metadata and retrieve an actual image. You can store virtual machine images made available through the Image service in a variety of locations, from simple file systems to object-storage systems like OpenStack Object Storage.
Важно
For simplicity, this guide describes configuring the Image service to
use the file
back end, which uploads and stores in a
directory on the controller node hosting the Image service. By
default, this directory is /var/lib/glance/images/
.
Before you proceed, ensure that the controller node has at least
several gigabytes of space available in this directory. Keep in
mind that since the file
back end is often local to a controller
node, it is not typically suitable for a multi-node glance deployment.
For information on requirements for other back ends, see Configuration Reference.
Служба образов OpenStack — центральный элемент модели “инфраструктура как услуга” (IaaS), как показано в Концептуальная архитектура. Она принимает запросы API для образов дисков и серверов, а также определения метаданных от конечных пользователей или от компонентов службы вычислительных ресурсов OpenStack. Кроме того, служба сохраняет образы дисков и серверов в репозиториях различного типа, включая хранилище объектов OpenStack.
Целый ряд периодических процессов использует службу образов OpenStack для поддержки кэширования. Служба репликации обеспечивает согласованность и доступность в рамках кластера. Кроме того, периодические процессы включают в себя аудиторы, корректоры и риперы.
Служба образов OpenStack включает следующие компоненты.
Сохраняет, обрабатывает и извлекает метаданные об образах. К метаданным относятся сведения о размере и типе образа.
Предупреждение
Регистр — это собственная служба для внутреннего использования службой образов OpenStack. Не предоставляйте эту службу пользователям.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.