Feature: Add wrapper function for enhanced deployment of describe_service to support querying OSD's
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