Skip to content

Commit a9421ee

Browse files
committed
mgr/cephadm: clear CEPHADM_DAEMON_PREPARE_CREATE_FAIL warnings
This is a new warning with the parallel deployment work (it would have fallen under the general CEPHADM_APPLY_SPEC_FAIL before) so we need to make sure to clear it along with the other deployment related health warnings. Otherwise, once it happens once the warning sticks around forever even if the issue has been resolved. Signed-off-by: Adam King <[email protected]> (cherry picked from commit da14411) Resolves: rhbz#2372821
1 parent 44a16e7 commit a9421ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pybind/mgr/cephadm/serve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ def _apply_all_services(self) -> bool:
636636
# and not dependant on other daemon's placements in any way
637637
specs = [s for s in _specs if not s.placement.count] + [s for s in _specs if s.placement.count]
638638

639-
for name in ['CEPHADM_APPLY_SPEC_FAIL', 'CEPHADM_DAEMON_PLACE_FAIL']:
639+
for name in ['CEPHADM_APPLY_SPEC_FAIL', 'CEPHADM_DAEMON_PLACE_FAIL', 'CEPHADM_DAEMON_PREPARE_CREATE_FAIL']:
640640
self.mgr.remove_health_warning(name)
641641
self.mgr.apply_spec_fails = []
642642
hosts_altered: Set[str] = set()

0 commit comments

Comments
 (0)