melanie witt 79498b1edb Replace python-glanceclient with openstacksdk
The image download service previously used python-glanceclient to
communicate with Glance. Since openstacksdk is already a dependency
and provides an image service proxy, replace glanceclient usage with
openstacksdk's Connection.image.download_image().

The GlanceClientWrapper class and its manual endpoint discovery are
removed. Endpoint discovery is done via a keystoneauth Adapter so
that [glance] config options (endpoint_override, valid_interfaces)
are respected and version negotiation gets the explicit constraints
it needs -- the [glance] config group registers dummy version opts
that break the SDK's own negotiation via from_conf. The resolved
endpoint is passed as image_endpoint_override and the API version
is pinned to '2', following the same pattern used by Ironic (see
ironic/common/image_service.py). Per-request auth from the request
context (with optional service token wrapping) is preserved.

The retry logic is kept: HTTP 503, SDKException, and keystoneauth
connection errors are retried up to [glance] num_retries times.
Semantic errors (401, 403, 404, 400) raise immediately. Response
status codes from the file download are also validated, since the
SDK may return an error response without raising an exception.

When an image_href is a full URL, only the image UUID is extracted;
endpoint override from the URL is no longer supported (the only
caller passes UUIDs, and catalog-based discovery is the correct
approach).

The openstacksdk floor is raised from >=0.46.0 to >=4.0.0.

Assisted-by: Claude claude-opus-4-6 claude-code/2.1.317
Change-Id: I0594be57e73d5e047bf36b1e4dcc59c49e9bf85b
Signed-off-by: melanie witt <melwittt@gmail.com>
2026-11-03 10:11:25 -08:00
2026-10-29 10:28:16 +00:00
2026-09-17 15:48:40 +01:00
2019-04-19 19:39:22 +00:00
2026-02-05 17:14:38 +00:00
2026-03-05 16:29:56 +00:00

Cyborg

image

OpenStack Acceleration as a Service

Cyborg provides a general management framework for accelerators such as FPGA, GPU, SoCs, NVMe SSDs, CCIX caches, DPDK/SPDK, pmem and so forth.

Features

  • REST API for basic accelerator life cycle management
  • Generic driver for common accelerator support
S
Description
Acceleration Management
Readme
24 MiB
2 Watchers 0 Forks
Languages
Python 79.7%
Perl 13.7%
C 3.4%
Shell 3.1%
Makefile 0.1%