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/750452 /git.openstack. org/cgit/ openstack/ os-brick/ commit/ ?id=c6ad4d864c6 088b6686919dd02 29c926bce7073a
Committed: https:/
Submitter: Zuul
Branch: master
commit c6ad4d864c6088b 6686919dd0229c9 26bce7073a
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
Closes-bug: #1865754