Glance Simplestreams Sync

  • By OpenStack Charmers
  • Cloud
Channel Version Revision Published Runs on
latest/stable 47 47 09 Feb 2022
Ubuntu 21.10 Ubuntu 21.04 Ubuntu 20.10 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
latest/edge 78 78 25 Jul 2022
Ubuntu 22.04 Ubuntu 20.04
yoga/stable 76 76 19 Jul 2022
Ubuntu 22.04 Ubuntu 20.04
xena/stable 77 77 05 Aug 2022
Ubuntu 20.04
wallaby/edge 91d83d8 59 25 Feb 2022
Ubuntu 20.04
victoria/edge 91d83d8 59 25 Feb 2022
Ubuntu 20.04
ussuri/edge 47 47 04 Mar 2022
Ubuntu 21.10 Ubuntu 21.04 Ubuntu 20.10 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04
train/edge 91d83d8 60 25 Feb 2022
Ubuntu 20.04
stein/edge 91d83d8 60 25 Feb 2022
Ubuntu 20.04
rocky/edge 91d83d8 60 25 Feb 2022
Ubuntu 20.04
queens/edge 91d83d8 61 25 Feb 2022
Ubuntu 20.04
juju deploy glance-simplestreams-sync
Show information


21.10 21.04 20.10 20.04 18.04 16.04


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


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.