Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: mgr/orchestrator: add filtering and count option for orch host ls #44531

Merged

Conversation

sebastian-philipp
Copy link
Contributor

Backport of #44020

Filter orch host ls output for only hosts whose name
contains a certain substring or who have a certain label

Add a count flag that causes the command to return the number
of hosts found (either overall or matching the substring and/or
label) instead of a list of all the matching hosts

Fixes: https://tracker.ceph.com/issues/47774
Fixes: https://tracker.ceph.com/issues/53452

Signed-off-by: Adam King <adking@redhat.com>
(cherry picked from commit edd9bf3)
@sebastian-philipp
Copy link
Contributor Author

@sebastian-philipp sebastian-philipp merged commit c1cdcf6 into ceph:pacific Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants