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

Create ceph-mgr #10328

Merged
merged 78 commits into from
Sep 30, 2016
Merged

Create ceph-mgr #10328

merged 78 commits into from
Sep 30, 2016

Commits on Sep 29, 2016

  1. msg: typedef uint8_t entity_type_t

    ...rather than having a mixture of explicit __u8
    and implicit enums/ints.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    d2a209f View commit details
    Browse the repository at this point in the history
  2. mon,mds: include 'addr' in daemon metadata

    This is useful for correlating daemon metadata
    to cluster maps.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    51a6105 View commit details
    Browse the repository at this point in the history
  3. mon: drop encoded buffer after decode

    This bufferlist was being kept around as a
    class member but it didn't need to be.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    3f6676a View commit details
    Browse the repository at this point in the history
  4. vstart: fix warning when no CEPH_MAX_MDS set

    This was a typo in 29535ca
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    fbe7ae5 View commit details
    Browse the repository at this point in the history
  5. monc: remove unused AuthAuthorizeHandlerRegistry

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    27fdf87 View commit details
    Browse the repository at this point in the history
  6. mon: fix missing osd metadata (again)

    The JSON output was getting broken by continuing
    in the wrong place.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    c5700ce View commit details
    Browse the repository at this point in the history
  7. mon: add with_monmap to MonClient

    Analogous to Objecter::with_osdmap, for safe access
    to the map.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    85ba9a3 View commit details
    Browse the repository at this point in the history
  8. common: move ceph_version up into collect_sys_info

    ...so that we get this piece of metadata from every
    service uniformly.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    1a33123 View commit details
    Browse the repository at this point in the history
  9. common: add 'mgr' and 'mgrc' subsystems for logging

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    fefaac7 View commit details
    Browse the repository at this point in the history
  10. common: add mgr config settings

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    c4965fd View commit details
    Browse the repository at this point in the history
  11. common/cmdparse: additional helpers

    For dumping a cmdmap to a Formatter, and for
    checking the prefix of a cmddesc.
    
    Used by ceph-mgr when routing commands to python
    modules.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    6caae0e View commit details
    Browse the repository at this point in the history
  12. pybind: fix handling bad cmd json

    The 'save_exception' local would otherwise
    be referenced before assignment during
    exception handling.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    a11ff90 View commit details
    Browse the repository at this point in the history
  13. client: refactor command handling

    Create a CommandTable structure for places
    in Client, MgrClient, Objecter where we do
    basically the same kind of thing for sending
    and tracking MCommands.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    7e6b4f1 View commit details
    Browse the repository at this point in the history
  14. messages: add ceph-mgr messages

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    e3b2225 View commit details
    Browse the repository at this point in the history
  15. msg: introduce mgr entity_type_t

    Mgr will probably ultimately have different auth caps,
    so let's make it a separate entity up front instead
    of e.g. pretending to be a mon.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    eaada77 View commit details
    Browse the repository at this point in the history
  16. mon: add MgrMonitor

    This is responsible for learning the locations of
    mgrs, picking an active one, and sharing that
    info with MgrClient consumers who subscribe to 'mgrmap'
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    8450840 View commit details
    Browse the repository at this point in the history
  17. vstart: set up and run ceph-mgr

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    e32f2a9 View commit details
    Browse the repository at this point in the history
  18. auth: add mgr service type

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    bbc6631 View commit details
    Browse the repository at this point in the history
  19. mgr: create ceph-mgr service

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    ac30e6c View commit details
    Browse the repository at this point in the history
  20. common: accessors for list of perf counters

    ...and store the list by a string path, for
    consumption by the world outside of integer
    perf counter/subsystem IDs.
    
    This is for consumption by MgrClient.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    3283b1e View commit details
    Browse the repository at this point in the history
  21. mgrc: create MgrClient

    The ceph-mgr equivalent to monclient
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    88442d2 View commit details
    Browse the repository at this point in the history
  22. osd: embed a MgrClient

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    10da6d2 View commit details
    Browse the repository at this point in the history
  23. librados: expose mgr_command

    This involves giving RadosClient an embedded
    MgrClient.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    157f986 View commit details
    Browse the repository at this point in the history
  24. pybind: expose mgr commands

    This is "tell mgr" at the moment but it should
    be a slicker syntax later (ceph.in is awkward
    to refactor just now)
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    3f4d80c View commit details
    Browse the repository at this point in the history
  25. cmake: update for ceph-mgr

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    b3189d6 View commit details
    Browse the repository at this point in the history
  26. pybind: create mgr python module folder

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    44c95af View commit details
    Browse the repository at this point in the history
  27. pybind/mgr: add the rest module

    This is derived from what used to be Calamari.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    b82533f View commit details
    Browse the repository at this point in the history
  28. mgr: api_docs.py: Update for use outside Calamari

    The ceph_state module is implemented in C++, and isn't available at
    build time, which causes import failures when api_docs.py tries to
    import calamari_rest in order to introspect it (MgrModule is eventually
    imported, which in turn tries to import ceph_state, which fails unless
    we stub it out).
    
    Additional changes:
    
    * Search calamari_rest.urls (not calamari_web)
    
    calamari_web isn't available - it largely held static content in
    Calamari, and in turn included calamari_rest.urls.  Here in ceph-mgr we
    only have calamari_rest.
    
    * note that --list-urls does nothing, apparently
    
    * Pass actions to old as_view method
    
    django-rest-framework 3.x raises TypeError if the actions argument isn't
    passed to as_view().
    
    * Use view().get_view_name() instead of metadata
    
    Attempting to access view().metadata(None)['name'] results in
    "AttributeError: 'super' object has no attribute 'metadata'".
    
    * Use somewhat unfriendly field class names
    
    django-rest-framework 3.x seems to have done away with type_label for
    fields, so instead use the field's class name, which is somewhat
    unfriendly, but arguably better than nothing.
    
    * import global_instance to fix ImportError
    
    This is necessary to avoid what seems to be weird import loops (if this
    isn't present, we later get "ImportError: cannot import name
    UserRequest" or similar).
    
    * Make api_examples.json optional
    
    This way we at least get bare docs with no examples, rather than no docs
    at all.
    
    * Explain how to generate API docs
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    eafe2e9 View commit details
    Browse the repository at this point in the history
  29. mgr: fix locking in DaemonMetadata

    Locks are great but it helps if you actually
    bother acquiring them...
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    b7c9561 View commit details
    Browse the repository at this point in the history
  30. pybind/mgr: remove unused CalamariConfig

    No longer need to set CALAMARI_CONFIG when running.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    a53dc64 View commit details
    Browse the repository at this point in the history
  31. pybind/mgr: fix django request logging

    This was going to a text file, hook it in
    to the proper logging.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    cc0b8fb View commit details
    Browse the repository at this point in the history
  32. mgr: s/DaemonMetadata/DaemonState/g

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    d9dfb43 View commit details
    Browse the repository at this point in the history
  33. mgr: enable multiple python modules

    serve() each one in a separate thread, include a shutdown()
    hook so that we can tear down cleanly.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    c81e542 View commit details
    Browse the repository at this point in the history
  34. pybind/mgr: implement shutdown() in rest.py

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    0bff7af View commit details
    Browse the repository at this point in the history
  35. mgr: flesh out standby/HA

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    7845f8d View commit details
    Browse the repository at this point in the history
  36. mgrc: reset send_report timer on session change

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    1643a7f View commit details
    Browse the repository at this point in the history
  37. mgr: enable active daemon to return to standby

    Rather than respawn a whole process, just fall back
    to being a standby.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    fd537bc View commit details
    Browse the repository at this point in the history
  38. mds: embed a MgrClient

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    96e10e9 View commit details
    Browse the repository at this point in the history
  39. mgr: Use signed int log level in PyModules::log()

    Using an unsigned causes a build failure when expanding the dout macro.
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    054708a View commit details
    Browse the repository at this point in the history
  40. pybind/mgr: remove unused gevent code

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    7eb4572 View commit details
    Browse the repository at this point in the history
  41. pybind/mgr: move rest into dir

    Let's make each module its own directory.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    5366980 View commit details
    Browse the repository at this point in the history
  42. mgr: store some counter history

    ...and expose it to python modules.
    
    Also fix some of the code around how we updated
    DaemonState.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    9501bfd View commit details
    Browse the repository at this point in the history
  43. mgrc: fix report sending after failover

    The send_report loop doesn't get kicked off
    on configure messages unless the period is
    set to its initial value (0).
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    e310486 View commit details
    Browse the repository at this point in the history
  44. pybind/mgr: expose get_counter in MgrModule

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    80281ed View commit details
    Browse the repository at this point in the history
  45. mgrc: enable sending pgstats

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    803b66a View commit details
    Browse the repository at this point in the history
  46. osd: send PGStats to mgr as well as mon

    This is a rough implementation that sends all the stats,
    without the efficiency of the queue+acks that we use
    when talking to the mon.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    30dec8e View commit details
    Browse the repository at this point in the history
  47. mgr: handle PGStats with a PGMap

    No longer need the mon to send us
    the pg_summary json hack.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    fa147e3 View commit details
    Browse the repository at this point in the history
  48. pybind/mgr: update rest module for pg_summary

    ...which is now generated properly from PGMap
    instead of reconstituted from some JSON.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    f77276a View commit details
    Browse the repository at this point in the history
  49. common/TextTable: add include guards

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    ab24038 View commit details
    Browse the repository at this point in the history
  50. mon: move "df" dump code from PGMonitor to PGMap

    ...so that ceph-mgr can use it too.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    519a01d View commit details
    Browse the repository at this point in the history
  51. mgr: expose "df" to python modules

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    ea46778 View commit details
    Browse the repository at this point in the history
  52. pybind/mgr: fix logging

    Previously only the errors were getting through, because
    other stuff was getting held up in the python logging
    framework.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    e6de53a View commit details
    Browse the repository at this point in the history
  53. mgrc: mark down connections with dead sessions

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    c38d491 View commit details
    Browse the repository at this point in the history
  54. mgr: dispose of connections after handle_command

    ...to avoid leaking them and eventually running out of fds.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    0812669 View commit details
    Browse the repository at this point in the history
  55. mgr: expose osd stats from pgmap

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    7122fac View commit details
    Browse the repository at this point in the history
  56. mon: implement MgrMonitor.preprocess_beacon

    So that we're not throwing out new mgrmap epochs
    every beacon.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    7b8179b View commit details
    Browse the repository at this point in the history
  57. mgrc: less vebose logging of messages

    ...no need to tell us about all the things you're *not* handling.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    8db0137 View commit details
    Browse the repository at this point in the history
  58. mgr: skip past broken modules and load the rest

    ...instead of stopping at the first python module
    that fails to load.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    fc3090f View commit details
    Browse the repository at this point in the history
  59. pybind/mgr: add fsstatus module

    A demonstration of creating a simple
    ASCII-art status display by fusing
    the metadata, perf counters, and maps that
    are available to python modules in ceph-mgr.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    ba64847 View commit details
    Browse the repository at this point in the history
  60. doc: add initial ceph-mgr docs

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    567b9fb View commit details
    Browse the repository at this point in the history
  61. packaging: add boost-python dependency

    Although ceph-mgr isn't packaged yet, builders
    use these files to cue installation of dependencies.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    8897757 View commit details
    Browse the repository at this point in the history
  62. common: refactor CommandTable

    Avoid handling out raw pointers to the ops,
    which are in fact owned by the table.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    2210772 View commit details
    Browse the repository at this point in the history
  63. mgr: update for Dispatcher::ms_handle_refused

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    58dd3db View commit details
    Browse the repository at this point in the history
  64. mon: refactor PGMap updating code for reuse in mgr

    ...and remove the copypasta from mgr.
    
    mgr still doesn't do all the same logic (it doesn't
    have osdmap history handy) but it is now much easier
    to see which bits are used one place vs. the other.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    afa7078 View commit details
    Browse the repository at this point in the history
  65. mon: remove need for friending OSDMap to PGMapUpdater

    This used to be the friend relationship to PGMonitor.  It
    was never really needed anyway, it was only being used
    to skip the getter on `pools`
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    78b6eeb View commit details
    Browse the repository at this point in the history
  66. mgr: fixup ClusterState with_*map fns

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    45b3393 View commit details
    Browse the repository at this point in the history
  67. mgr: fix OSDMap notifications

    This broken when MgrStandby was separated out,
    because it now eats the original OSDMap message
    without calling maybe_request_map.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    1bb9edb View commit details
    Browse the repository at this point in the history
  68. pybind/mgr: clean up unused code

    ...and change the "if False" django-rest-framework
    conditionals to actual version checks, with a view
    to genuinely supporting 2.x in future if needed.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    da76c59 View commit details
    Browse the repository at this point in the history
  69. cmake: install ceph-mgr and its python modules

    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    c6972b9 View commit details
    Browse the repository at this point in the history
  70. systemd: add ceph-mgr service and target files

    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    d8ded57 View commit details
    Browse the repository at this point in the history
  71. ceph.spec.in: add ceph-mgr package

    This adds ceph-mgr following the same pattern used for ceph-mon,
    ceph-mds, ceph-osd.  I've removed the boost-python BuildRequire
    for SUSE distros, because we don't ship that (the relevant bits
    are already included in boost-devel).
    
    NOTE: This gives an installable ceph-mgr, but not necessarily a
    runnable ceph-mgr.  This is because ceph-mgr needs the following
    python packages:
    
    - CherryPy
    - Django
    - gevent
    - python-dateutil
    - djangorestframework
    
    Not all of these are available as distro packages.  For example,
    on openSUSE Tumbleweed, we don't have djangorestframework available
    in the base distro, and our Django version is 1.9, which seems to
    be incompatible with ceph-mgr.  I'm not sure of the situation on
    other distros.
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    2e9e21e View commit details
    Browse the repository at this point in the history
  72. systemd: encourage ceph-mgr to start in sync with ceph-mon

    This change introduces the following behaviour:
    
    - When ceph-mon starts, it will try to start ceph-mgr with the same
      instance id (Wants=), but will *not* fail to start if ceph-mgr
      doesn't start (i.e. the mon still works as it always did).
    - ceph-mgr will start After= ceph-mon, and will stop and start when
      ceph-mon stops and starts, because it's PartOf= ceph-mon.
    
    If you don't want ceph-mgr to run on the mons, you need to mask the
    service, i.e. `systemctl mask ceph-mgr@INSTANCE`.  Hostnames are
    typically instance names, so `systemctl mask ceph-mgr@$(hostname)`
    should suffice if you wish to disable ceph-mgr on the mons.
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    61d7793 View commit details
    Browse the repository at this point in the history
  73. systemd: autogenerate ceph-mgr key during daemon startup

    This is a hack to inject a key for the mgr daemon, using whatever
    key already exists on the mon on this node to gain sufficient
    permissions to create the mgr key.  Failure is ignored at every
    step (the '-' prefix) in case someone has already used some other
    trick to set everything up manually.
    
    Signed-off-by: Tim Serong <tserong@suse.com>
    tserong authored and John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    082199f View commit details
    Browse the repository at this point in the history
  74. packaging: add debian packaging for ceph-mgr

    ...at least, try to!  This is a copy-paste of the ceph-mds
    packaging with a search and replace mds to mgr.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    042b6b4 View commit details
    Browse the repository at this point in the history
  75. mgr: remove hardcoded site-packages

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    f8514ef View commit details
    Browse the repository at this point in the history
  76. vstart: include cython mods in PYTHONPATH

    This is useful for ceph-mgr because it means that
    any in-mgr modules that want to use e.g. rbd
    can find it when running in a vstart cluster.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    592bb9c View commit details
    Browse the repository at this point in the history
  77. pybind/mgr/rest: fix "sync_object" API endpoint

    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    9a33766 View commit details
    Browse the repository at this point in the history
  78. pybind/mgr/rest: remove unused DebugJob

    This dates back from the Calamari/Salt days.
    
    Signed-off-by: John Spray <john.spray@redhat.com>
    John Spray committed Sep 29, 2016
    Configuration menu
    Copy the full SHA
    6537e63 View commit details
    Browse the repository at this point in the history