Snap package for Glance
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenDev Sysadmins 2b4854ebf4 OpenDev Migration Patch 2 months ago
patches Patch (_COMMON) dirs into oslo.config defaults 2 years ago
snap Switch back to strict confinement 2 years ago
tests In test cleanup, only delete DB if it exists 1 year ago
.gitignore Added config files to snap. 1 year ago
.gitreview OpenDev Migration Patch 2 months ago
CONTRIBUTING.rst Change nova with glance (cut and paste error) 2 years ago
LICENSE Add misc bits of baseline scaffolding 2 years ago Update README snap install command 1 year ago
bindep.txt Switch to classic confinement 2 years ago
requirements.txt Misc updates 2 years ago
snapcraft.yaml Use auto-alias for glance-manage 2 years ago
tox.ini Use cirros images. 1 year ago

Glance Snap

This repository contains the source code of the snap for the OpenStack Image service, Glance.

Installing this snap

The glance snap can be installed directly from the snap store:

sudo snap install --channel=ocata/edge glance

The glance snap is working towards publication across tracks for OpenStack releases. The edge channel for each track will contain the tip of the OpenStack project’s master or stable branch, with the beta, candidate, and stable channels being reserved for released versions. The same version will be published progressively to beta, then candidate, and then stable once CI validation completes for the channel. This should result in an experience such as:

sudo snap install --channel=ocata/stable glance
sudo snap install --channel=pike/edge glance

Configuring glance

The glance snap gets its default configuration from the following $SNAP and $SNAP_COMMON locations:

└── glance
    ├── glance-api.conf
    ├── glance-manage.conf
    └── glance-registry.conf

└── glance
    └── glance.conf.d
        └── glance-snap.conf

The glance snap supports configuration updates via its $SNAP_COMMON writable area. The default glance configuration can be overridden as follows:

└── glance
    ├── glance.conf.d
    │   ├── glance-snap.conf
    │   ├── database.conf
    │   └── keystone.conf
    ├── glance-api.conf
    ├── glance-manage.conf
    └── glance-registry.conf

The glance configuration can be overridden or augmented by writing configuration snippets to files in the glance.conf.d directory.

Alternatively, glance configuration can be overridden by adding full config files to the glance/ directory. If overriding in this way, you’ll need to either point your config at additional config files located in $SNAP, or add those to $SNAP_COMMON as well.

Logging glance

The services for the glance snap will log to its $SNAP_COMMON writable area: /var/snap/glance/common/log.

Restarting glance services

To restart all glance services:

sudo systemctl restart snap.glance.*

or an individual service can be restarted by dropping the wildcard and specifying the full service name.

Building the glance snap

Simply clone this repository and then install and run snapcraft:

git clone
sudo apt install snapcraft
cd snap-glance


Please report any bugs related to this snap at: Launchpad.

Alternatively you can find the OpenStack Snap team in #openstack-snaps on Freenode IRC.