---
title: Charmhub | Deploy Glance Simplestreams Sync using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Glance Simplestreams Sync on any cloud.
url: https://charmhub.io/glance-simplestreams-sync/configurations
---

# Glance Simplestreams Sync

[OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")

* [OpenStack Charmers](https://charmhub.io/publisher/openstack-charmers "View all packages from OpenStack Charmers")
* [Cloud](https://charmhub.io/?filter=cloud)

Platform:

24.04

23.10

23.04

22.10

22.04

20.04

18.04

14.04

yoga/stable 127

```
juju deploy glance-simplestreams-sync --channel yoga/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [cloud\_name](https://charmhub.io/glance-simplestreams-sync/configurations#cloud_name)
* [content\_id\_template](https://charmhub.io/glance-simplestreams-sync/configurations#content_id_template)
* [custom\_keyring](https://charmhub.io/glance-simplestreams-sync/configurations#custom_keyring)
* [custom\_properties](https://charmhub.io/glance-simplestreams-sync/configurations#custom_properties)
* [frequency](https://charmhub.io/glance-simplestreams-sync/configurations#frequency)
* [hypervisor\_mapping](https://charmhub.io/glance-simplestreams-sync/configurations#hypervisor_mapping)
* [ignore\_proxy\_for\_object\_store](https://charmhub.io/glance-simplestreams-sync/configurations#ignore_proxy_for_object_store)
* [key](https://charmhub.io/glance-simplestreams-sync/configurations#key)
* [mirror\_list](https://charmhub.io/glance-simplestreams-sync/configurations#mirror_list)
* [nagios\_context](https://charmhub.io/glance-simplestreams-sync/configurations#nagios_context)
* [nagios\_servicegroups](https://charmhub.io/glance-simplestreams-sync/configurations#nagios_servicegroups)
* [name\_prefix](https://charmhub.io/glance-simplestreams-sync/configurations#name_prefix)
* [region](https://charmhub.io/glance-simplestreams-sync/configurations#region)
* [run](https://charmhub.io/glance-simplestreams-sync/configurations#run)
* [snap-channel](https://charmhub.io/glance-simplestreams-sync/configurations#snap-channel)
* [source](https://charmhub.io/glance-simplestreams-sync/configurations#source)
* [ssl\_ca](https://charmhub.io/glance-simplestreams-sync/configurations#ssl_ca)
* [use-internal-endpoints](https://charmhub.io/glance-simplestreams-sync/configurations#use-internal-endpoints)
* [use\_swift](https://charmhub.io/glance-simplestreams-sync/configurations#use_swift)
* [user\_agent](https://charmhub.io/glance-simplestreams-sync/configurations#user_agent)
* [visibility](https://charmhub.io/glance-simplestreams-sync/configurations#visibility)

[Learn about configurations >](https://juju.is/docs/juju/configuration#heading--application-configuration)

* cloud\_name | string

  Default: glance-simplestreams-sync-openstack

  Cloud name to be used in simplestreams index file
* content\_id\_template | string

  Default: auto.sync

  A Python-style .format() template to use when generating content\_id properties for images uploaded to glance.
  The content\_id is considered when matching images between the source and destination to decide which images to mirror. By varying this value you can mirror disjoint sets of images from the same source into a single glance, either by using multiple deployments of this charm, or by using a tool such as sstream-mirror-glance, and they will not interfere with each other.
  Here is a more interesting example value:

  ```
  com.example.customstack.{region}:ubuntu:celery-worker
  ```

  Currently the only available substitution is "region". Any other attempted substitutions will break the sync script.
* custom\_keyring | string

  base64-encoded GPG keyring for verifying the simplestreams mirror
  signature. Only required when mirroring a custom user-created repository,
  defaults to /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg which is
  used to sign cloud-images.ubuntu.com.

  Can be produced with the following command:
  gpg --no-default-keyring --keyring gnupg-ring:custom\_keyring.gpg
  --keyserver keyserver.ubuntu.com --recv-keys KEYID
* custom\_properties | string

  Space separated list of custom properties (format key=value) to be set in glance for all synced images e.g. hw\_firmware\_type, hw\_vif\_multiqueue\_enabled.
* frequency | string

  Default: daily

  cron job frequency - one of ['hourly', 'daily', 'weekly']
* hypervisor\_mapping | boolean

  Enable configuration of hypervisor-type on synced images.
  .
  This is useful in multi-hypervisor clouds supporting both LXD and KVM.
* ignore\_proxy\_for\_object\_store | boolean

  Default: True

  Controls whether Juju model proxy settings are going to be used
  by sstream-mirror-glance when connecting to object-store endpoints
  from the Keystone catalog.
* key | string

  DEPRECATED - option no longer used and will be removed
* mirror\_list | string

  Default: [{url: 'http://cloud-images.ubuntu.com/releases/', name\_prefix: 'ubuntu:released', path: 'streams/v1/index.sjson', max: 1, item\_filters: ['release~(trusty|xenial|bionic|focal|jammy)', 'arch~(x86\_64|amd64)', 'ftype~(disk1.img|disk.img)']}]

  YAML-formatted list of simplestreams mirrors and their configuration properties. Defaults to downloading the released images from cloud-images.ubuntu.com.
* nagios\_context | string

  Default: juju

  Used by the nrpe-external-master subordinate charm.
  A string that will be prepended to instance name to set the host name
  in nagios. So for instance the hostname would be something like:
  juju-myservice-0
  If you're running multiple environments with the same services in them
  this allows you to differentiate between them.
* nagios\_servicegroups | string

  A comma-separated list of nagios servicegroups.
  If left empty, the nagios\_context will be used as the servicegroup
* name\_prefix | string

  Default: auto-sync/

  This is prefixed to the object name when uploading to glance.
* region | string

  Default: RegionOne

  OpenStack region to operate in.
* run | boolean

  Enable cron-based synchronisation
* snap-channel | string

  Default: stable

  Snap channel to install simplestreams snap from
* source | string

  DEPRECATED - option no longer used and will be removed
* ssl\_ca | string

  base64-encoded SSL CA to use to verify certificates from keystone and
  glance if using SSL on the services.
* use-internal-endpoints | boolean

  OpenStack mostly defaults to using public endpoints for internal
  communication between services. If set to True this option will
  configure services to use internal endpoints where possible.
* use\_swift | boolean

  Default: True

  Controls whether swift will be used for image metadata storage or not. If set to False, image metadata will not be written to object store while images will still be synced to Glance.
* user\_agent | string

  Default: glance-simplestreams-sync

  User agent to use when requesting images from image servers listed in the mirror\_list.
* visibility | string

  Default: public

  Visibility to apply to stored images. Possible values are 'public', 'private', 'community', and 'shared'.
