Project

General

Profile

Feature #21683

After "ceph mgr module enable", new module's commands should be usable immediately

Added by John Spray almost 2 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
10/05/2017
Due date:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

Currently, commands for a newly enabled module will appear missing until the mgr daemon has come back up after restart and reported itself to the monitors.

For example, this doesn't work (or is at least racy):

ceph mgr module enable status
ceph fs status <-- this will give EINVAL because the mgr didn't restart just yet, it'll start working in a second.

We need something to happen on the mons so that the CLI knows to not EINVAL any commands until the newly-started mgr has reported the new module's commands.

This is not absolutely functionally necessary, but will make the life of anyone doing any scripting much simpler.

History

#1 Updated by John Spray over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to John Spray

#2 Updated by John Spray over 1 year ago

  • Status changed from In Progress to Need Review

#3 Updated by John Spray over 1 year ago

  • Status changed from Need Review to Resolved

Also available in: Atom PDF