Glance Sync

  • By Canonical BootStack Charmers
  • Cloud
Channel Version Revision Published Runs on
latest/stable b6440a4 6 28 Apr 2022
Ubuntu 20.04 Ubuntu 18.04
latest/candidate b6440a4 6 21 Apr 2022
Ubuntu 20.04 Ubuntu 18.04
latest/edge b6440a4 6 21 Apr 2022
Ubuntu 20.04 Ubuntu 18.04
juju deploy glance-sync
Show information


20.04 18.04
  • admin_email | string


    email address for notifications

  • authorized_keys | string

    base64 encoded command limited authorized ssh keys file to authorize slave rsync calls. Affects master mode only

  • config_dir | string

    Default: /srv/glance_sync/config

    directory to store configuration like novarc

  • cron_frequency | string

    Default: 10 */3 * * *

    cron frequency for sync script

  • data_dir | string

    Default: /srv/glance_sync/data

    directory to store image and metadata files

  • extra_packages | string

    Space separated list of extra deb packages to install.

  • install_keys | string

    List of signing keys for install_sources package sources, per charmhelpers standard format (a yaml list of strings encoded as a string). The keys should be the full ASCII armoured GPG public keys. While GPG key ids are also supported and looked up on a keyserver, operators should be aware that this mechanism is insecure. null can be used if a standard package signing key is used that will already be installed on the machine, and for PPA sources where the package signing key is securely retrieved from Launchpad.

  • install_sources | string

    List of extra apt sources, per charm-helpers standard format (a yaml list of strings encoded as a string). Each source may be either a line that can be added directly to sources.list(5), or in the form ppa:<user>/<ppa-name> for adding Personal Package Archives, or a distribution component to enable.

  • log_dir | string

    Default: /srv/glance_sync/logs

    directory to store sync logfiles

  • master_creds | string

    Comma separated OpenStack credentials to be used to download images from the master region. Affects slave mode only. It is strongly recommended this be a user with a dedicated role, and not a full admin. Takes the format of username=foo, password=bar, project=baz, region=Region1, auth_url=, domain=Default

  • master_mode | boolean

    enables the unit to function as the sync master

  • 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-postgresql-0 If you're running multiple environments with the same services in them this allows you to differentiate between them

  • novarc | string

    base64 encoded custom novarc file

  • package_status | string

    Default: install

    The status of service-affecting packages will be set to this value in the dpkg database. Valid values are "install" and "hold".

  • script_dir | string

    Default: /srv/glance_sync/scripts

    directory to store scripts

  • sync_enabled | boolean

    Default: True

    switch to enable or disable sync

  • sync_source | string

    rsync URL of master to sync images from. Affects slave mode only. for example: ubuntu@

  • trusted_ssl_ca | string

    base64 encoded SSL ca cert to use for OpenStack API client connections. This relies on the same CA being used for both the master and slave region