skillfed

os-brick

OpenStack Cinder brick library for managing local volume attaches

os-brick v7.1.0 108.3K downloads/30d#12,562 on PyPI
Permissive license Apache-2.0 Active released

What it is and what it does

os-brick is the OpenStack Cinder brick library, a specialized tool for managing local storage volume attachments on a host system. It provides discovery of volumes being attached via various transport protocols and handles their removal. The package is part of the OpenStack ecosystem and integrates with Cinder, the block storage service.

The library depends on a suite of Oslo libraries (oslo.concurrency, oslo.config, oslo.context, oslo.log, oslo.i18n, oslo.privsep, oslo.serialization, oslo.service, oslo.utils) for configuration, logging, and service infrastructure, plus requests, tenacity, and psutil for HTTP communication, retry logic, and system utilities. It requires Python 3.11 or later and is actively maintained for current Python versions.

Use it for:

  • Discovering storage volumes attached to an OpenStack compute or storage node for inventory and monitoring.
  • Programmatically attaching and detaching block devices in Cinder-managed environments.
  • Integrating custom storage backends with OpenStack by leveraging the brick attachment API.
  • Managing multi-protocol storage connections in infrastructure automation.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages discovery and removal of storage volumes attached to a host, supporting multiple transport protocols for OpenStack Cinder integration.

Yes, if you are building or extending OpenStack Cinder deployments or custom storage integrations that require local volume attachment management. Not applicable for standalone use outside OpenStack environments. The package is actively maintained, has no known vulnerabilities, and carries a permissive license suitable for enterprise use.

Install

os-brick on PyPI

pip

pip install os-brick

uv

uv add os-brick

poetry

poetry add os-brick

Installing os-brick

Before you install

Low install friction with a pure Python wheel distribution. Active maintenance status with a recent release 87 days ago. Depends on 13 runtime libraries including Oslo components, requests, tenacity, and psutil.

License in practice

Apache-2.0 (permissive) allows use in most contexts including commercial deployments, with standard attribution requirements.

Quickstart

pip install os-brick

from os_brick import connector
# Use connector to discover and manage volumes

Requires Python 3.11 or later; designed for OpenStack environments with Cinder integration.

Verify before relying

  • Which specific transport protocols are supported for volume discovery and attachment.
  • Whether this package is intended for direct use or primarily as a Cinder dependency.
  • Performance characteristics or scalability limits for large numbers of attached volumes.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.11)
Install friction low — pure-Python wheel
Runtime dependencies 13 — pbr, oslo.concurrency, oslo.config, oslo.context, oslo.log, oslo.i18n, oslo.privsep, oslo.serialization, oslo.service, oslo.utils, requests, tenacity, psutil
Maintenance actively maintained — 87 days since the last release
First released
Downloads 108,322/month — #12,562 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: os_brick-7.1.0-py3-none-any.whl

Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: Implementation :: CPython

Tags

volume attachment managementstorage device discoveryopenstack cinder integrationlocal volume managementblock device attachment
openstackstorage-managementinfrastructure

More Distributed Computing packages