pg_autoscaler is not Python 3 compatible
src/scripts/run_mypy.sh revealed some type errors:
pybind/mgr/pg_autoscaler/module.py: note: In member "get_subtree_resource_status" of class "PgAutoscaler": pybind/mgr/pg_autoscaler/module.py:192: error: "Dict[Any, Any]" has no attribute "itervalues" pybind/mgr/pg_autoscaler/module.py: note: In member "_maybe_adjust" of class "PgAutoscaler": pybind/mgr/pg_autoscaler/module.py:359: error: Name 'cr_name' is not defined pybind/mgr/pg_autoscaler/module.py:410: error: "Dict[Any, float]" has no attribute "iteritems" pybind/mgr/pg_autoscaler/module.py:437: error: "Dict[Any, int]" has no attribute "iteritems"
Those errors look like some incompatibilities to Python 3.
#8 Updated by Nathan Cutler 9 months ago
Sebastian Wagner wrote:
The other PR is https://github.com/ceph/ceph/pull/27154
(This is in addition to https://github.com/ceph/ceph/pull/26831 which is reflected in the "Pull request ID" field of this tracker issue... - that one was merged into master before nautilus was released.)