Project

General

Profile

Actions

Bug #47514

closed

pybind: balancer show: AttributeError: 'Plan' object has no attribute 'show'

Added by Rene Moser over 3 years ago. Updated over 2 years ago.

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

0%

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

Description

ceph version 15.2.4 (7447c15c6ff58d7fce91843b705a268a1917325c) octopus (stable)

# ceph balancer optimize storage lab-volumes lab-images
# ceph balancer show storage
Error EINVAL: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/mgr_module.py", line 1167, in _handle_command
    return self.handle_command(inbuf, cmd)
  File "/usr/share/ceph/mgr/balancer/module.py", line 602, in handle_command
    return (0, plan.show(), '')
AttributeError: 'Plan' object has no attribute 'show'

Related issues 2 (0 open2 closed)

Copied to mgr - Backport #51484: pacific: pybind: balancer show: AttributeError: 'Plan' object has no attribute 'show'ResolvedCory SnyderActions
Copied to mgr - Backport #51485: octopus: pybind: balancer show: AttributeError: 'Plan' object has no attribute 'show'ResolvedCory SnyderActions
Actions

Also available in: Atom PDF