]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Revert "Merge pull request #55436 from tchaikov/mgr-python-3.12" 56617/head
authorAdam King <adking@redhat.com>
Tue, 2 Apr 2024 12:47:22 +0000 (08:47 -0400)
committerAdam King <adking@redhat.com>
Tue, 2 Apr 2024 12:49:06 +0000 (08:49 -0400)
commit6f0ce7a6e99c900e97a18ab7e2c766791a474f8f
tree5a87fe58fe5cbee26c651957dfadc9b81a9e38e5
parenta2cd8d51056f4b7fa6dc4835b9860a11f6440764
Revert "Merge pull request #55436 from tchaikov/mgr-python-3.12"

This reverts commit 8dffa8707dc665eb7ca6e2f48fa34e0fa8ac5b51, reversing
changes made to 80374da12bcc708d1fa306484842b3f97ac42acb.

This commit broke the import of the "mgr_module" module
within the python modules in the mgr at least on python 3.6.8
that we currently use in our centos 8 stream based containers

Failures would look like (removing beginning of log lines)

Loading python module 'alerts'
Module not found: 'mgr_module'
Class not found in module 'alerts'
Error loading module 'alerts': (22) Invalid argument

Signed-off-by: Adam King <adking@redhat.com>
src/mgr/PyModule.cc
src/mgr/PyModule.h
src/mgr/PyModuleRegistry.cc
src/mgr/PyModuleRegistry.h