os-brick/os_brick/tests/initiator
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
..
connectors New fix for rbd connector to work with ceph octopus 2020-09-09 09:32:25 -04:00
__init__.py renamed the project to os-brick 2015-02-05 23:58:37 +00:00
test_connector.py Remove CORAID AOE connector 2020-08-25 16:41:54 -04:00
test_host_driver.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxfc.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxrbd.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00
test_linuxscsi.py Leverage the iSCSI mpath to get the WWN 2020-08-13 22:10:09 -04:00
test_utils.py Use unittest.mock instead of third party mock 2020-04-18 16:22:50 -05:00