Comment 5 for bug 1836239

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

Reviewed: https://review.opendev.org/672489
Committed: https://git.openstack.org/cgit/starlingx/config/commit/?id=7588f6d950bbd16d5bb2593dce07841589fb8ba5
Submitter: Zuul
Branch: master

commit 7588f6d950bbd16d5bb2593dce07841589fb8ba5
Author: Daniel Badea <email address hidden>
Date: Wed Jul 24 09:33:42 2019 +0000

    Ceph: update crush map when storage tier is renamed

    Renaming storage tiers is supported as long as they are not
    in use (no OSDs attached). Tier name is updated correctly
    in the inventory database but the crush map is still using
    the old name. This causes issues when trying to use the renamed
    storage tier.

    Add function to rename crush map buckets referenced by the storage
    tier being renamed. Note that changes to the crush map are
    incremental. Any exception raised while renaming buckets is
    in progress causes the crush map to be rolled back.

    Change-Id: Ie8f5162e61d291eed29f2f663ec596cd4402e5d9
    Closes-Bug: 1836239
    Signed-off-by: Daniel Badea <email address hidden>