Comment 9 for bug 1960622

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-ceph-mon (master)

Reviewed: https://review.opendev.org/c/openstack/charm-ceph-mon/+/829970
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/d695ab315f7808f90eedad36a194f3d29d66eb4d
Submitter: "Zuul (22348)"
Branch: master

commit d695ab315f7808f90eedad36a194f3d29d66eb4d
Author: Corey Bryant <email address hidden>
Date: Fri Feb 18 12:25:37 2022 -0500

    Fix handling of profile-name

    The current code:
    self.profile_name = op.get('crush-profile', profile_name)

    will only default to profile_name if the 'crush-profile' key
    doesn't exist in the op dictionary. If the 'crush-profile' key
    exists and is set to None, the default profile_name is not used.

    This change will use the default profile_name in both cases.

    A full charm-helpers sync is done here.

    Closes-Bug: #1960622
    Change-Id: If9749e16eadfab5523d06c82f3899a83b8c6fdc1