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/750655 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=474583b4f84 69f7957d6ffbf62 829b516189aeae
Committed: https:/
Submitter: Zuul
Branch: stable/victoria
commit 474583b4f8469f7 957d6ffbf62829b 516189aeae
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)
Closes-bug: #1865754
(cherry picked from commit c6ad4d864c6088b