Juju Charm - Glance Simplestreams Sync
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.
Alex Kavanagh f60ec380c8 21.04 sync - add 'hirsute' in UBUNTU_RELEASES 1 week ago
actions Switch to using snap for simplestreams tools 10 months ago
charmhelpers 21.04 sync - add 'hirsute' in UBUNTU_RELEASES 1 week ago
files Release sync for 20.08 9 months ago
hooks Update location for CA cert 3 months ago
lib Update tox, requirements, add initial func tests framework 3 years ago
templates Drop RabbitMQ support 10 months ago
tests Prune gate tests 2 months ago
unit_tests Ensure all config files written on config-changed 9 months ago
.gitignore Update series metadata, test combos and readme 3 years ago
.gitreview OpenDev Migration Patch 2 years ago
.stestr.conf Replace ostestr with stestr in testing framework. 2 years ago
.zuul.yaml Switch to Ussuri jobs 1 year ago
HACKING.md Add doc pointing contributors to charm-guide 2 years ago
LICENSE Relicense to Apache2 3 years ago
Makefile Migrate from Amulet to Zaza 2 years ago
README.md Update README 8 months ago
actions.yaml Switch to using snap for simplestreams tools 10 months ago
charm-helpers-hooks.yaml 21.04 libraries freeze for charms on master branch 3 weeks ago
config.yaml Update README 8 months ago
copyright Update copyright date 3 years ago
metadata.yaml Add hirsute and remove trusty from metadata.yaml 2 months ago
osci.yaml Add new osci.yaml 2 months ago
requirements.txt Sync release-tools 4 months ago
setup.cfg Initial baseline from bzr 4 years ago
test-requirements.txt 21.04 libraries freeze for charms on master branch 3 weeks ago
tox.ini Sync release-tools 4 months ago



The glance-simplestreams-sync charm keeps OpenStack cloud images (in Glance) synchronised with the latest available images from a Simplestreams mirror(s). It uses Cron to do this.

The charm places simplestreams metadata in Object storage for future use by Juju. It then publishes the URL for that metadata as the endpoints of a new OpenStack service called 'product-streams'.

The charm installs Simplestreams from a snap.



This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.


The run option enables the synchronisation cron script. This option accepts Boolean values ('true' or 'false') with the default value being 'false'. Changing the value from 'false' to 'true' will immediately schedule an image sync.

Note: Enabling this option at cloud deploy time may cause a race condition with the set up of a possible storage backend for Glance.


The frequency option controls how often the sync cron job is run. It is used to link the cron script into /etc/cron.<frequency>. Valid string values are: 'hourly', 'daily', and 'weekly'. The default is 'daily'.


The region option states the OpenStack region to operate in. The default value is 'RegionOne'.


The mirror_list option is a YAML-formatted list of Simplestreams mirrors and their configuration properties. The default behaviour is to download images from https://cloud-images.ubuntu.com.


The ssl_ca option verifies (optionally) the certificates when in SSL mode for Keystone and Glance. This should be provided as a base64 encoded PEM certificate.


To deploy to an existing OpenStack cloud (that already includes Glance, Object storage, and Keystone):

juju deploy glance-simplestreams-sync
juju add-relation glance-simplestreams-sync:identity-service keystone:identity-service

Note: Charmed OpenStack commonly employs Ceph-backed Object storage (see the ceph-radosgw charm). Otherwise, a vanilla Swift-based solution can be used (see the swift-proxy charm).


Juju actions allow specific operations to be performed on a per-unit basis. This charm supports the single action sync-images, which allows for a one-time image sync from the currently configured mirror list.


Please report bugs on Launchpad.

For general charm questions refer to the OpenStack Charm Guide.