master
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>
Cyborg
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.
- Free software: Apache license
- Wiki: https://wiki.openstack.org/wiki/Cyborg
- Source: https://opendev.org/openstack/cyborg
- Blueprints: https://blueprints.launchpad.net/openstack-cyborg
- Bugs: https://bugs.launchpad.net/openstack-cyborg
- Documentation: https://docs.openstack.org/cyborg/latest/
- Release notes: https://docs.openstack.org/releasenotes/cyborg/
- Design specifications: https://specs.openstack.org/openstack/cyborg-specs/
Features
- REST API for basic accelerator life cycle management
- Generic driver for common accelerator support
Languages
Python
79.7%
Perl
13.7%
C
3.4%
Shell
3.1%
Makefile
0.1%