os-brick/os_brick/tests
Brian Rosmaita 474583b4f8 New fix for rbd connector to work with ceph octopus
Found while testing cinder-backup with ceph on Ubuntu Focal, which
installs ceph Octopus.  Octopus apparently enforces the requirement
that the config file contain a '[global]' section for general
requirements.  The '[global]' section goes back at least to ceph
Hammer [0], so we will simply add it to the temporary ceph config
file that os-brick generates in the RBDConnector class.

[0] https://docs.ceph.com/docs/hammer/rados/configuration/mon-config-ref/

Co-authored-by: Alex Kavanagh <alex@ajkavanagh.co.uk>
Co-authored-by: Ivan Kolodyazhny <e0ne@e0ne.info>

Change-Id: I86eb31535d990291945de5d9846b1a03157ec2cf
Closes-bug: #1865754
(cherry picked from commit c6ad4d864c)
2020-09-09 09:32:25 -04:00
..
caches Add volume local cache support to os-brick 2020-08-26 14:37:15 +08:00
encryptors Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
initiator New fix for rbd connector to work with ceph octopus 2020-09-09 09:32:25 -04:00
local_dev Switch from retrying to tenacity 2020-05-06 09:08:01 -05:00
privileged RBD: Fix check_valid_device 2020-07-30 14:07:49 +02:00
remotefs Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
windows Switch from unittest2 compat methods to Python 3.x methods 2020-06-23 14:14:34 +02:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
base.py Switch from retrying to tenacity 2020-05-06 09:08:01 -05:00
test_brick.py Removes unnecessary utf-8 encoding 2016-12-22 10:24:40 +07:00
test_exception.py Use six.text_type instead of unicode 2015-04-03 10:22:45 +03:00
test_executor.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_utils.py Switch from retrying to tenacity 2020-05-06 09:08:01 -05:00