Project

General

Profile

Actions

Feature #24010

closed

Enable "-i" CLI file input to mgr module commands

Added by John Spray almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
python interface
Target version:
-
% Done:

0%

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

Description

Currently, people input things like SSL certificates by doing "ceph config-key set <foo> -i myfile.bin".

The "-i" functionality puts file content into the data part of the Message object. We don't do anything with this in DaemonServer when it receives a message, so mgr modules currently can't implement commands that use the "-i" mode.

This is problematic, because the "right" way to do things like SSL certificate loading is via the mgr module itself, so that they don't have to restart the mgr to pick up the contents of the mon store.

Actions #1

Updated by John Spray almost 6 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by John Spray over 5 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF