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.
Reviewed: https:/ /review. opendev. org/c/openstack /charm- ceph-mon/ +/881793 /opendev. org/openstack/ charm-ceph- mon/commit/ e99c38ae4cc6c89 aa7818d38990cc9 b2dfb5060d
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit e99c38ae4cc6c89 aa7818d38990cc9 b2dfb5060d
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 _run_atexit, which
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.
save the change to file, is not been called.
Partial-Bug: #2007976 1d32788672fb390 e027f15b936 /github. com/openstack- charmers/ zaza-openstack- tests/pull/ 1047
Change-Id: Ibf12a2b87736cb
func-test-pr: https:/