Description of problem: [RHCS 2.y] [RFE] Addition of online osd 'omap'compaction command Master branch: http://tracker.ceph.com/issues/19592 https://github.com/ceph/ceph/pull/16045 Jewel branch: http://tracker.ceph.com/issues/20675 Version-Release number of selected component (if applicable): Red Hat Ceph Storage 2.3
Jewel backport tracker and PR: http://tracker.ceph.com/issues/20675 https://github.com/ceph/ceph/pull/17101
I am marking this verified because it works on a newly installed system. However on an osd after I performed the operations in step 10 of https://bugzilla.redhat.com/show_bug.cgi?id=1462011, I got: [root@magna007 ceph-5]# ceph daemon osd.5 compact admin_socket: exception getting command descriptions: [Errno 2] No such file or directory admin_socket: exception getting command descriptions: [Errno 2] No such file or directory I am not sure if this is a problem or not. I am also updating bz 1462011 as well.
Has this fix made it into Ubuntu yet? On my test unbuntu setup, I get: root@magna024:/var/lib/ceph/osd/ceph-5# ceph daemon osd.5 compact no valid command found; 10 closest matches: git_version getomap <pool> <objectname> get_command_descriptions flush_journal get_latest_osdmap get_heap_property <property> dump_ops_in_flight dump_op_pq_state dump_watchers dump_reservations admin_socket: invalid command admin_socket: invalid command
Passed on both Ubuntu and Rhel. I ran into a slight gotcha in that I ran some of the commands as root rather than the ceph user. Josh helped me a bit and things worked after we changed permissions and ran as the correct user. This comment also applies to bugzilla #1462011
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:2903