Project

General

Profile

Actions

Cleanup #56460

open

mgr/dashboard: use mgr.send_mon_command instead of mgr.remote mgr/dashboard: short_description

Added by Pere Díaz Bou almost 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Component - RBD Mirroring
Target version:
-
% Done:

0%

Tags:
Backport:
quincy,pacific
Reviewed:
Affected Versions:
Pull request ID:

Description

Description of problem

In services/rbd.py:_rbd_support_remote we are using mgr.remote to call rbd_support module functions directly. This is a problem since in pacific the layout of functions is different causing errors with backward compability.
Instead we could use send_mon_command because commands are stable between versions.

Environment

  • ceph version string:
  • Platform (OS/distro/release):
  • Cluster details (nodes, monitors, OSDs):
  • Did it happen on a stable environment or after a migration/upgrade?:
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)):

How reproducible

Steps:

  1. ...

Actual results

Please add logs and/or screenshots

Expected results

here

Additional info

here

No data to display

Actions

Also available in: Atom PDF