Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mgr/cephadm: rewrite/simplify describe_service
The prior implementation first tried to fabricate services based on the running daemons, and then filled in defined services on top. This led to duplication and a range of small errors. Instead, flip this around: start with the services that are defined, and only fill in 'unmanaged' services where we need to. Drop the osd kludges and instead rely on DaemonDescription.service_id to return the right thing. Signed-off-by: Sage Weil <sage@newdream.net>
- Loading branch information
Showing
1 changed file
with
46 additions
and
68 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