Actions
Feature #44831
closedTasks #46756: mgr/dashboard: orchestration workflows & enhancements
mgr/dashboard: Create Ceph services via Orchestrator by using ServiceSpec
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Component - Orchestrator
Target version:
% Done:
100%
Source:
Tags:
Backport:
octopus
Description
ServiceSpec is the data structure used by Orchestrator to manage services.
The example below asks Orchestrator to create rgw services on host1, host2, and host3.
service_type: rgw service_id: realm.zone placement: hosts: - host1 - host2 - host3 spec: ...
For more information about ServiceSpec, see
- https://docs.ceph.com/ceph-prs/34290/mgr/orchestrator/#service-specification.
- https://github.com/ceph/ceph/blob/58cc88dd14e4279d63b9ffda12cd19843ed84cfd/src/pybind/mgr/dashboard/frontend/src/app/shared/models/service.interface.ts#L11-L17
We already use DriveGroup (which is actually a subclass of ServiceSpec) to create OSDs in octopus.
We should create various services in Ceph too.
Services to be created (captured from https://pad.ceph.com/p/ceph-dashboard-pacific-priorities)
- MON
- MGR
- RGW
- NFS
- MDS
- Samba/CIFS
- iSCSI
The service creation should support PlacementSpec for service daemon placement.
https://docs.ceph.com/docs/master/mgr/orchestrator/#placement-specification
Actions