Glance Simplestreams Sync

  • OpenStack Charmers
  • Cloud
Channel Revision Published Runs on
latest/edge 123 04 Oct 2024
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 122 04 Oct 2024
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 121 04 Oct 2024
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 120 04 Oct 2024
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 110 07 Mar 2024
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 108 25 Oct 2023
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 102 14 Apr 2023
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 78 25 Jul 2022
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
latest/edge 9 11 Nov 2020
Ubuntu 24.04 Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04 Ubuntu 20.04 Ubuntu 14.04
yoga/stable 127 17 Oct 2024
Ubuntu 22.04 Ubuntu 20.04
zed/stable 128 17 Oct 2024
Ubuntu 22.10 Ubuntu 22.04
xena/stable 113 03 Jun 2024
Ubuntu 20.04
wallaby/stable 114 03 Jun 2024
Ubuntu 20.04
victoria/stable 111 03 Jun 2024
Ubuntu 20.04
ussuri/stable 112 03 Jun 2024
Ubuntu 20.04 Ubuntu 18.04
train/candidate 89 28 Nov 2022
Ubuntu 18.04
train/edge 93 16 Jan 2023
Ubuntu 18.04
stein/candidate 89 28 Nov 2022
Ubuntu 18.04
stein/edge 93 16 Jan 2023
Ubuntu 18.04
rocky/candidate 89 28 Nov 2022
Ubuntu 18.04
rocky/edge 93 16 Jan 2023
Ubuntu 18.04
queens/candidate 89 28 Nov 2022
Ubuntu 18.04
queens/edge 93 16 Jan 2023
Ubuntu 18.04
2024.1/candidate 124 15 Oct 2024
Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.04
2024.1/candidate 108 24 Jan 2024
Ubuntu 23.10 Ubuntu 23.04 Ubuntu 22.04
2023.2/stable 125 16 Oct 2024
Ubuntu 23.10 Ubuntu 22.04
2023.1/stable 126 16 Oct 2024
Ubuntu 23.04 Ubuntu 22.10 Ubuntu 22.04
juju deploy glance-simplestreams-sync --channel yoga/stable
Show information

Platform:

Ubuntu
24.04 23.10 23.04 22.10 22.04 20.04 18.04 14.04

Learn about configurations >

  • 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'.