Project

General

Profile

Feature #21683

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

Added by John Spray over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% 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 6 years ago

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

#2 Updated by John Spray over 6 years ago

  • Status changed from In Progress to Fix Under Review

#3 Updated by John Spray about 6 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF