Lucian Petrut 26495b75bb Fix Windows support
With a single line change, we can use this cinder client extension
on Windows. This patch will avoid the os.getuid call, which is
unavailable on Windows.

Note that on Windows, we aren't doing any privilege escalation,
assuming that we already have the required rights.

Here's a sample: http://paste.openstack.org/raw/802466/

Change-Id: Ic554b5df2adee38b97665c578ca69b33c8694ca7
2021-02-19 17:05:58 +02:00

1.2 KiB

Team and repository tags

image

python-brick-cinderclient-ext

OpenStack Cinder Brick client for local volume attachement

Features

  • Get volume connector information

Dependencies

Requires dependency:

* python-cinderclient

Optional dependencies based on Cinder driver's protocol:

* open-iscsi, udev - for volume attachment via iSCSI

NOTE (e0ne): current version is tested on Linux and Windows hosts

For any other information, refer to the parent projects, Cinder and python-cinderclient:

*  https://opendev.org/openstack/cinder
*  https://opendev.org/openstack/python-cinderclient