-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify manila-test to evict mds clients when ceph unhealthy
During manila-ganesha charm deployment sometimes zombie ceph mds clients will be left attached to ceph fs. This locks the ceph fs service and breaks the test (can't create a manila-share). The bug is annoying, from a test gate perspective, but clears itself after 5-10 minutes, and so isn't (it is currently understood) a production issue. This patch detects the ceph unhealthy condition and then forcibly evicts the ceph MDS clients which then allows the test to proceed. Related-Bug: https://bugs.launchpad.net/charm-manila-ganesha/+bug/2073498
- Loading branch information
1 parent
3911361
commit 363ff1d
Showing
2 changed files
with
87 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters