Currently the RBD store/backend doesn't report the FSID field.
To include the FSID field, we need a connection to the RBD cluster.
Luckily, while initializing the RBD store, we fetch the FSID and
put it in the _url_prefix field (given fsid and pool info are available).
We just need to fetch it from the _url_prefix field and return it
in the response.
If FSID is not set in the RBD store, we return NULL value.
This is required for the effort of optimizing the upload volume to
image operation from cinder RBD to glance RBD backend.
Partial-Implements: blueprint optimize-upload-volume-to-rbd-store
Change-Id: I3e7dc11bc632ca0f3e134e0bca7eb2442bf797ca
Windows OS support was deprecated in 2024.1 cycle because Winstackers
project was retired[1]. Remove the support now to get rid of os-win
which was also abandoned.
[1] a8bed388f26eb383449b4d040c4da84671587fb9
Change-Id: I737279c93a6231ebf2e8c87810040ce48622f4fc
This allows deployment tooling to easily switch from passing a binary
path to passing a Python module path. We'll use it shortly.
Change-Id: Ia67d3b1b2e80b8b2096cb86ba85f47047e89a3d2
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Add file to the reno documentation build to show release notes for
stable/2024.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.2.
Sem-Ver: feature
Change-Id: Ide1e759907ef22a4b25fffbea7538e5af26c340c
Add the new hw_firmware_stateless image property, which is now used to
request launching instances with stateless firmware in nova.
Depends-on: https://review.opendev.org/c/openstack/nova/+/908890
Change-Id: I24868b89bc79eda5657a6e2a5e98fb8fa150b1f3
Removing deprecated location_strategy functionality which was used
to prioritize location order for downloading the image.
The weighing mechanism introduced in the Bobcat development cycle
now should be used by operators who would like to prioritize
certain stores over others.
Change-Id: I7b760d2b28a8b289a303a0a9c1d91a9de0c7138a
This change adds a new location api GET
/v2/images/{image_id}/locations to get the locations associated
to the image.
This operation will be allowed to service user only,
and validated by the new policy rule `fetch_image_location`.
Implements: blueprint new-location-apis
Change-Id: I9d14465a83e76c73e12cec3b96d42e568ab97072
This change adds a new location api POST
/v2/images/{image_id}/locations to add the new location to
the image when in `queued` state only.
This operation will be service user & image owner only,
and validated by the new policy rule `add_image_location`.
Implements: blueprint new-location-apis
Change-Id: I238c21efd09de296e8928d8fa68bac4b41f81694
In case of glance multiple stores (mostly for ceph) nova initiates
copy-image functionality if image, from which the sever is being
created, is not present in the referring ceph store. This can fail if
image location which is already present in image but not available for
that glance edge node. This scenario can only be reproducible
with EDGE deployment.
In order to fix this, if the store is defined on that glance node
then only call set_acls method, else ignore it.
Closes-Bug: #2073945
Change-Id: I0409982ae27b662e60dd2363ba2f7863d0722fea
When Glance is configured to use Cinder store and we upload
volume to Glance in the optimized path, it fails with
InvalidLocation error.
This happens because Cinder is not aware about the store
in which we will create the image and supplies the old
format URL i.e. cinder://<vol-id> whereas Glance expects
new location format i.e. cinder://<store-id>/<vol-id>.
Glance has code to update the format from old location format
to new location format but it isn't triggered in case of
old location APIs.
This patch adds the context to the update store ID request
which calls the Cinder store to provide the updated location,
hence fixing the optimized path for upload volume to image.
Closes-Bug: #2054575
Change-Id: Idd1cb8982b40b85a17821596f76dfa10207f6381
This option has had no effect since the removal of native SSL support in
06b2465f598c014451c244d47c2ded4f1e2c6947 .
Change-Id: I7ad94bd2be45a25c9c1dccc552fa9110fc4862aa
Add file to the reno documentation build to show release notes for
stable/2024.1.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.1.
Sem-Ver: feature
Change-Id: I4b22aeaae7c01c92d3d463bda4c157c6a415ea8b
The stable/xena branch has been deleted, so reno can't find its
release notes. Use the xena-eom tag to indicate the end of the
Glance project's maintenance of the Xena series.
This strategy is consistent with the way we handled stable/yoga and
was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58
Change-Id: I57f167ee0d5a56a0ef2bbd12e4ea683b3b1d7079
The stable/wallaby branch has been deleted, so reno can't find its
release notes. Use the wallaby-eom tag to indicate the end of the
Glance project's maintenance of the Wallaby series.
This strategy is consistent with the way we handled stable/yoga and
was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58
Change-Id: Ib6ede82ce42168191eaa6a49c09178bf4ae8ec70
The stable/victoria branch has been deleted, so reno can't find its
release notes. Use the victoria-eom tag to indicate the end of the
Glance project's maintenance of the Victoria series.
This strategy is consistent with the way we handled stable/yoga and
was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58
Change-Id: I9d5d597e6debb1c71d72f0720c34714c516ad91b
The stable/yoga branch has been deleted, so reno can't find its
release notes. Use the yoga-eom tag to indicate the end of the
Glance project's maintenance of the Yoga series.
This strategy was agreed upon at the 8 Feb Glance meeting:
https://meetings.opendev.org/meetings/glance/2024/glance.2024-02-08-14.00.log.html#l-58
Change-Id: I806421d268bbd7a0c5ca2d90147c6afb34566094
sqlite cache driver and related configuration options will be
deprecated from this cycle.
Related blueprint centralized-cache-db
Change-Id: I0c1affff05a2a4c2838cfad2b637e7660b056eef