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

mgr/dashboard: list services and daemons #33531

Merged
merged 3 commits into from Mar 5, 2020
Merged

Commits on Mar 2, 2020

  1. mgr/dashboard: list services and daemons

    - Display services and daemons in the cluster/services page.
    - Display daemons in the cluster/hosts/host-detail page (Daemons tab).
    
    This PR also partially addresses https://tracker.ceph.com/issues/43165:
    The endpoint `/api/orchestrator/service` is removed.
    
    Create new endpoints:
      - `/api/service`: listing all services in the Ceph cluster.
      - `/api/service/<service_name>/daemons`: listing daemons for a
        service. e.g. daemons of OSD.
      - `/api/host/<hostname>/daemons`: listing daemons of a host.
    
    Fixes: https://tracker.ceph.com/issues/44221
    
    Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
    bk201 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    55adeb9 View commit details
    Browse the repository at this point in the history
  2. mgr/test_orchestrator: refactor listing services/daemons

    - Refactor list_daemons: return ceph-xxx processes on host.
    - Refactor describe_service: return services by grouping ceph-xxx
      processes on host.
    - Add dummy data.
    
    Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
    bk201 committed Mar 2, 2020
    Configuration menu
    Copy the full SHA
    229c081 View commit details
    Browse the repository at this point in the history

Commits on Mar 5, 2020

  1. qa/tasks/mgr/test_orchestrator_cli: fix test_ps* tests

    The ps output names daemons like 'type.foo', e.g., 'mgr.x'.  Now that
    the test_orchestrator impl is less bonkers this needs to be adjusted to
    match reality.
    
    Signed-off-by: Sage Weil <sage@redhat.com>
    liewegas committed Mar 5, 2020
    Configuration menu
    Copy the full SHA
    bb126cf View commit details
    Browse the repository at this point in the history