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/751246 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=91c73a433a2 b3675e661f1fe00 7b58c2bfaff757
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 91c73a433a2b367 5e661f1fe007b58 c2bfaff757
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)
Closes-bug: #1865754
(cherry picked from commit c6ad4d864c6088b
(cherry picked from commit 474583b4f8469f7