Project

General

Profile

Actions

Bug #23330

closed

mon command "mgr metadata $name" has inconsistent argument naming

Added by Jan Fajerski about 6 years ago. Updated over 3 years ago.

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

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When running the following mon command:

std::ostringstream oss;
auto c = new MetadataUpdate(daemon_state, key);
oss << "{\"prefix\": \"mgr metadata\", \"who\": \"" 
      << key.second << "\"}";
monc->start_mon_command({oss.str()}, {}, &c->outbl, &c->outs, c);

MetadataUpdate::finish tries to decode an object but receives an array with one element.


Related issues 2 (0 open2 closed)

Related to mgr - Bug #23286: mgr: ActivePyModules::list_servers_python() returns mgr with empty hostnameResolvedChang Liu

Actions
Copied to mgr - Backport #23722: luminous: mon command "mgr metadata $name" has inconsistent argument namingRejectedActions
Actions

Also available in: Atom PDF