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

Feature: Add wrapper function for enhanced deployment of describe_service to support querying OSD's #1892

Open
DanielPickens opened this issue Jan 26, 2025 · 0 comments

Comments

@DanielPickens
Copy link

Description:
Add a feature that wraps this function into a list to deploy multiple services of the same type but with different IDs

What would this fix:
This would fix the low hanging fruit of describe_service not allowing for deploying OSD's with different ID's onto the same node, which will encapsulate support for querying multiple OSD's on the same node instance.
Feature example:

            if minion_role in minion_result:
                if not isinstance(minion_result[minion_role], list):
                    minion_result[minion_role] = [minion_result[minion_role]]
                minion_result[minion_role].append({
                    'service_instance': daemon_ids[minion]['host']
                })
            else:
                minion_result[minion_role] = {
                    'service_instance': daemon_ids[minion]['host']
                }

What would you like to be added:
A wrapper that defines context to describe_service module to deploy multiple services of the same type but with different IDs
on the same node. Of course, DeepSea will deploy multiple OSDs on
the same node, but describe_service doesn't support querying OSDs, We want to deploy this on the same node, where multiple OSD's are deployed on same node

Who is this for:
@suse/deepsea/mgr_orch.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant