os-brick/os_brick
Brian Rosmaita 57409c28b5 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)
(cherry picked from commit 474583b4f8)
(cherry picked from commit 91c73a433a)
2021-06-02 12:13:27 +02:00
..
encryptors Skip cryptsetup password quality checking 2020-02-13 14:12:39 +00:00
initiator New fix for rbd connector to work with ceph octopus 2021-06-02 12:13:27 +02:00
local_dev Provide setting to ignore lvm descriptor leak warnings 2019-05-07 21:53:37 +00:00
privileged Fix "Remove VxFlex OS credentials" regression 2020-06-17 12:00:19 -04:00
remotefs Read mounts from /proc/mounts instead of running mount 2020-02-24 19:13:14 -05:00
tests New fix for rbd connector to work with ceph octopus 2021-06-02 12:13:27 +02:00
__init__.py doc: Remove cruft from conf.py 2017-08-08 15:44:29 +01:00
exception.py iSCSI: Fix flushing after multipath cfg change 2021-03-31 15:06:13 +02:00
executor.py iSCSI multipath: improve logging on connect 2017-06-26 20:31:59 +02:00
i18n.py Update and replace http with https for doc links 2017-07-26 02:18:44 +00:00
utils.py Mask passwords in utils.trace for func params 2016-11-08 12:55:46 -05:00
version.py Add reno for release notes management 2016-01-20 19:19:36 -06:00