Failed to delete ocf resources via delete_resources option
Now the charm is using 'crm -w -F resource stop <RES>'
and 'crm -w -F configure delete <RES>' to delete legacy ocf
resource via delete_resources option, but the 'stop' step will
fail when ocf file no longer exists (e.g. due to packages no
longer being available after upgrade). In addition, the daemon
process may still be running after the upgrade in this case.
Reviewed: https:/ /review. openstack. org/384438 /git.openstack. org/cgit/ openstack/ charm-hacluster /commit/ ?id=da39626f063 9681097df8b589b a0282c132eaaee
Committed: https:/
Submitter: Jenkins
Branch: master
commit da39626f0639681 097df8b589ba028 2c132eaaee
Author: Zhang Hua <email address hidden>
Date: Mon Oct 10 19:34:16 2016 +0800
Failed to delete ocf resources via delete_resources option
Now the charm is using 'crm -w -F resource stop <RES>'
and 'crm -w -F configure delete <RES>' to delete legacy ocf
resource via delete_resources option, but the 'stop' step will
fail when ocf file no longer exists (e.g. due to packages no
longer being available after upgrade). In addition, the daemon
process may still be running after the upgrade in this case.
Change-Id: I7fdac7894366a8 8a154da5a0510ac c535ee776d8
Closes-Bug: #1631858