Tool
oic-sync: keep cloud images up to date in OpenStack and Proxmox VE
oic-sync keeps the images of this catalog in sync with your cloud. It reads the catalog index, verifies the cosign signature of each image, imports the versions you do not have yet, gives the newest one a stable name and retires the older ones.
OpenStack Glance
Import signed qcow2 images into Glance under stable names ("Debian 13"), retire old versions, delete the ones nothing uses.
Proxmox VE
Keep one cloud-init VM template per image on a node, ready for qm clone, rotated when a new version is published.
Your own mirror
Copy the signed catalog to a directory or an S3 bucket, every image verified, for internal and air-gapped clouds.
In short
- No local state, idempotent: when everything is up to date, a run changes nothing.
- A daily run from a systemd timer, a Kubernetes CronJob or a CI job is enough: the index is rebuilt once a day.
- A failed signature check means no import. Imports are checked against the published digests.
- Service, test and rescue images (
octavia-amphora,manila-service-image,trove-guest-image,cirros,cloud-rescue) are skipped unless named. - Status: alpha. License: Apache-2.0. Python 3.10 or newer.
Install
From PyPI with pipx, or as a signed container image (OpenStack backend included). Python 3.10 or newer.
# OpenStack: the backend needs openstacksdk, an optional extra
pipx install 'oic-sync[openstack]'
# Proxmox VE, on the node itself: no extra needed
pipx install oic-sync
# or the container image
docker run --rm -v ~/.config/openstack:/etc/openstack:ro \
ghcr.io/open-img-cloud/oic-sync openstack status --cloud mycloudTwo commands work without any cloud:
# What the index offers (no cloud needed)
oic-sync list
# Verify the cosign signatures of the index (no cloud needed)
oic-sync verify --image debian-13Then follow the guide for your platform. The full reference is the README on GitHub.