{"id":20111287,"url":"https://github.com/openstack/charm-glance-simplestreams-sync","last_synced_at":"2025-08-07T09:09:46.785Z","repository":{"id":65323820,"uuid":"135754153","full_name":"openstack/charm-glance-simplestreams-sync","owner":"openstack","description":"Juju Charm - Glance Simplestreams Sync. Mirror of code maintained at opendev.org.","archived":false,"fork":false,"pushed_at":"2025-03-14T20:59:18.000Z","size":1146,"stargazers_count":5,"open_issues_count":0,"forks_count":9,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-09T11:52:42.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://opendev.org/openstack/charm-glance-simplestreams-sync","language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openstack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-01T19:06:29.000Z","updated_at":"2024-11-17T21:27:52.000Z","dependencies_parsed_at":"2024-09-06T18:29:46.365Z","dependency_job_id":"4c8516fd-09ad-4b9a-960f-809f4f3150e0","html_url":"https://github.com/openstack/charm-glance-simplestreams-sync","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fcharm-glance-simplestreams-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fcharm-glance-simplestreams-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fcharm-glance-simplestreams-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openstack%2Fcharm-glance-simplestreams-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openstack","download_url":"https://codeload.github.com/openstack/charm-glance-simplestreams-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252666275,"owners_count":21785235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T18:15:15.049Z","updated_at":"2025-05-06T10:32:57.926Z","avatar_url":"https://github.com/openstack.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Overview\n\nThe glance-simplestreams-sync charm keeps OpenStack cloud images (in Glance)\nsynchronised with the latest available images from a Simplestreams mirror(s).\nIt uses Cron to do this.\n\nThe charm places simplestreams metadata in Object storage for future use by\nJuju. It then publishes the URL for that metadata as the endpoints of a new\nOpenStack service called 'product-streams'.\n\nThe charm installs Simplestreams from a [snap][snap-upstream].\n\n# Usage\n\n# Configuration\n\nThis section covers common and/or important configuration options. See file\n`config.yaml` for the full list of options, along with their descriptions and\ndefault values. See the [Juju documentation][juju-docs-config-apps] for details\non configuring applications.\n\n#### `run`\n\nThe `run` option enables the synchronisation cron script. This option accepts\nBoolean values ('true' or 'false') with the default value being 'false'.\nChanging the value from 'false' to 'true' will immediately schedule an image\nsync.\n\n\u003e **Note**: Enabling this option at cloud deploy time may cause a race\n  condition with the set up of a possible storage backend for Glance.\n\n#### `frequency`\n\nThe `frequency` option controls how often the sync cron job is run. It is used\nto link the cron script into `/etc/cron.\u003cfrequency\u003e`. Valid string values are:\n'hourly', 'daily', and 'weekly'. The default is 'daily'.\n\n#### `region`\n\nThe `region` option states the OpenStack region to operate in. The default\nvalue is 'RegionOne'.\n\n#### `mirror_list`\n\nThe `mirror_list` option is a YAML-formatted list of Simplestreams mirrors and\ntheir configuration properties. The default behaviour is to download images\nfrom [https://cloud-images.ubuntu.com][cloud-images.ubuntu.com].\n\n#### `ssl_ca`\n\nThe `ssl_ca` option verifies (optionally) the certificates when in SSL mode for\nKeystone and Glance. This should be provided as a base64 encoded PEM\ncertificate.\n\n## Deployment\n\nTo deploy to an existing OpenStack cloud (that already includes Glance, Object\nstorage, and Keystone):\n\n    juju deploy glance-simplestreams-sync\n    juju add-relation glance-simplestreams-sync:identity-service keystone:identity-service\n\n\u003e **Note**: Charmed OpenStack commonly employs Ceph-backed Object storage (see\n  the [ceph-radosgw charm][ceph-radosgw-charm]). Otherwise, a vanilla\n  Swift-based solution can be used (see the [swift-proxy charm][swift-proxy-charm]).\n\n## Actions\n\nJuju [actions][juju-docs-actions] allow specific operations to be performed on\na per-unit basis. This charm supports the single action `sync-images`, which\nallows for a one-time image sync from the currently configured mirror list.\n\n## Juju resources\n\nThe charm support juju resources, which is handy in offline deployments. Prefetch the snaps:\n\n    snap download --channel=stable simplestreams\n\nProvide downloaded snaps as resources to the application:\n\n    juju deploy cs:glance-simplestreams-sync --resource simplestreams=simplestreams_27.snap\n\n# Bugs\n\nPlease report bugs on [Launchpad][lp-bugs-charm-glance-simplestreams-sync].\n\nFor general charm questions refer to the [OpenStack Charm Guide][cg].\n\n\u003c!-- LINKS --\u003e\n\n[cg]: https://docs.openstack.org/charm-guide\n[cdg]: https://docs.openstack.org/project-deploy-guide/charm-deployment-guide\n[lp-bugs-charm-glance-simplestreams-sync]: https://bugs.launchpad.net/charm-glance-simplestreams-sync/+filebug\n[juju-docs-actions]: https://juju.is/docs/working-with-actions\n[juju-docs-config-apps]: https://juju.is/docs/configuring-applications\n[snap-upstream]: https://snapcraft.io/\n[cloud-images.ubuntu.com]: https://cloud-images.ubuntu.com\n[ceph-radosgw-charm]: https://jaas.ai/ceph-radosgw\n[swift-proxy-charm]: https://jaas.ai/swift-proxy\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstack%2Fcharm-glance-simplestreams-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenstack%2Fcharm-glance-simplestreams-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenstack%2Fcharm-glance-simplestreams-sync/lists"}