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.
Reviewed: https:/ /review. opendev. org/c/openstack /os-brick/ +/794198 /opendev. org/openstack/ os-brick/ commit/ 57409c28b52ee2b ff90679b4c93059 bf5b5ba2b6
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/train
commit 57409c28b52ee2b ff90679b4c93059 bf5b5ba2b6
Author: Brian Rosmaita <email address hidden>
Date: Tue Sep 8 11:44:25 2020 -0400
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/configura tion/mon- config- ref/
Co-authored-by: Alex Kavanagh <email address hidden>
Co-authored-by: Ivan Kolodyazhny <email address hidden>
Change-Id: I86eb31535d9902 91945de5d9846b1 a03157ec2cf 6686919dd0229c9 26bce7073a) 957d6ffbf62829b 516189aeae) 5e661f1fe007b58 c2bfaff757)
Closes-bug: #1865754
(cherry picked from commit c6ad4d864c6088b
(cherry picked from commit 474583b4f8469f7
(cherry picked from commit 91c73a433a2b367