Hopem Glance Simplestreams Sync

  • By Edward Hope-Morley
  • Cloud
Channel Revision Published Runs on
latest/stable 10 09 Feb 2022
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy hopem-glance-simplestreams-sync
Show information

Platform:

Ubuntu
20.04 18.04 16.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_properties | string

    YAML-formatted list of any custom properties to be set in glance for the synced image, e.g. architecture, hypervisor_type.

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

  • key | string

    Key ID to import to the apt keyring to support use with arbitary source configuration from outside of Launchpad archives or PPA's.

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

  • rabbit-user | string

    Default: glance-simplestreams-sync

    Username to request access on rabbitmq-server.

  • rabbit-vhost | string

    Default: openstack

    RabbitMQ virtual host to request access on rabbitmq-server.

  • region | string

    Default: RegionOne

    Openstack region to operate in.

  • run | boolean

    Default: True

    Should the sync be running or not?

  • source | string

    Optional configuration to support use of additional sources such as: - ppa:myteam/ppa - cloud:trusty-proposed/kilo - http://my.archive.com/ubuntu main The last option should be used in conjunction with the key configuration option.

  • ssl_ca | string

    base64-encoded SSL CA to use to verify certificates from keystone and glance if using SSL on the services.

  • use_swift | boolean

    Default: True

    Should the charm set up the product-streams endpoint with swift's URLs?

  • user_agent | string

    Default: glance-simplestreams-sync

    User agent to use when requesting images from image servers listed in the mirror_list.