Comment 18 for bug 2007976

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/+/881793
Committed: https://opendev.org/openstack/charm-ceph-mon/commit/e99c38ae4cc6c89aa7818d38990cc9b2dfb5060d
Submitter: "Zuul (22348)"
Branch: master

commit e99c38ae4cc6c89aa7818d38990cc9b2dfb5060d
Author: jneo8 <email address hidden>
Date: Thu Apr 27 14:31:39 2023 +0800

    Fix persistent config file not update bug

    When ceph doing the version upgrade, it will check the previous ceph
    from the `source` config variable which store in persistent file.
    But the persistent file update is broken. It is because we use hookenv.Config
    from ops framework, but the hookenv._run_atexit, which
    save the change to file, is not been called.

    Partial-Bug: #2007976
    Change-Id: Ibf12a2b87736cb1d32788672fb390e027f15b936
    func-test-pr: https://github.com/openstack-charmers/zaza-openstack-tests/pull/1047