When creating Openstack VMs the user has to specify the image it wants
to use. sstream-mirror-glance adds a date to the image name, so they
always have to recheck which is the current latest image.
This commit adds the `set_latest_property` configuration to include
--set-latest-property to sstream-mirror-glance command line argument.
When --set-latest-property is given sstream-mirror-glance will set the
recently synced image with the `latest=true` property and then remove
the `latest` property from all the os_version/architecture matching
images.
Configure bundles to fetch simplestreams snap from edge channel
Reviewed: https:/ /review. opendev. org/c/openstack /charm- glance- simplestreams- sync/+/ 852445 /opendev. org/openstack/ charm-glance- simplestreams- sync/commit/ 4754aca4209d1d1 8854b05360953bd 5ba33cd668
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 4754aca4209d1d1 8854b05360953bd 5ba33cd668
Author: Guilherme Maluf Balzana <email address hidden>
Date: Wed Jul 27 17:40:21 2022 +0200
Add set_latest_property config to new image
When creating Openstack VMs the user has to specify the image it wants mirror- glance adds a date to the image name, so they
to use. sstream-
always have to recheck which is the current latest image.
This commit adds the `set_latest_ property` configuration to include latest- property to sstream- mirror- glance command line argument.
--set-
When --set-latest- property is given sstream- mirror- glance will set the architecture matching
recently synced image with the `latest=true` property and then remove
the `latest` property from all the os_version/
images.
Configure bundles to fetch simplestreams snap from edge channel
Closes-bug: #1933130 c81d637086e8142 782bf1dd36f /github. com/openstack- charmers/ zaza-openstack- tests/pull/ 853
Change-Id: Idf78294db7abb8
Func-Test-PR: https:/