Skip to content

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

@DanielPickens

Description

@DanielPickens

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions