FS#64235 - [ceph] pg_autoscaler fails

Attached to Project: Community Packages
Opened by Thomas Schneider (BlackLotus) - Wednesday, 23 October 2019, 18:05 GMT
Last edited by Thore Bödecker (foxxx0) - Saturday, 04 January 2020, 21:46 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Thore Bödecker (foxxx0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
When enabling cephs pg_autoscaler in the mgr
> ceph mgr module enable pg_autoscaler
ceph -s reports
> Module 'pg_autoscaler' has failed: 'dict' object has no attribute 'itervalues'


Additional info:
14.2.1-2 ceph and ceph-mgr

there was similar bug in gentoo https://bugs.gentoo.org/687946 , but the solution applied there doesn't apply here.
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851f6ed5d97b48d1100d7e347e0eaf4ef179a570

Steps to reproduce:
Install a ceph cluster
create a pool
enable the pg_autoscaler
check ceph -s or your logs
This task depends upon

Closed by  Thore Bödecker (foxxx0)
Saturday, 04 January 2020, 21:46 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed as of ceph-mgr-14.2.5-1
Comment by Thomas Schneider (BlackLotus) - Wednesday, 23 October 2019, 20:22 GMT
https://github.com/ceph/ceph/pull/27387
python3 incompatibility. probably fixed in the newest release so an update should be enough
Comment by loqs (loqs) - Thursday, 24 October 2019, 23:40 GMT Comment by Thore Bödecker (foxxx0) - Thursday, 21 November 2019, 13:55 GMT
Thanks for the report and sorry for the delay, i'm working on a 14.2.4 package, that should hopefully fix the issues you're experiencing.
Will update this bug when the new version is released, so make sure to "watch" it.
Comment by Thomas Schneider (BlackLotus) - Thursday, 21 November 2019, 15:50 GMT
Yeah I build it myself/fixed the bug manually right now. It works, but there are still problems which I hope will be fixed in the latest release.

My main problem right now is with the aarch64 package of the archlinuxarm project, but I didn't open bug reports there yet.
Comment by Aaron Brodersen (abrodersen) - Friday, 03 January 2020, 03:57 GMT
Any chance we can get the latest version packaged soon? This bug is rather annoying.
Comment by Thore Bödecker (foxxx0) - Saturday, 04 January 2020, 15:44 GMT
Hey, sorry for the delay.

A fixed version can be found in [testing]: 14.2.5-1
Please test this package and report back.
Comment by likeit (likeit) - Saturday, 04 January 2020, 19:38 GMT
Seems to work now without any problem.
Comment by Thore Bödecker (foxxx0) - Saturday, 04 January 2020, 21:46 GMT
thanks for reporting back, closing this as fixed.

Loading...