Description of problem: lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: Exception in thread Thread-2: lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: Traceback (most recent call last): lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/lib64/python3.8/threading.py", line 932, in _bootstrap_inner lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: Exception in thread Thread-4: lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: Traceback (most recent call last): lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/lib64/python3.8/threading.py", line 932, in _bootstrap_inner lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: self.run() lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 54, in run lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: self.run_agents() lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 67, in run_agents lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: from .common.grpcclient import GRPcClient, gen_configuration lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: ImportError: cannot import name 'GRPcClient' from 'diskprediction_cloud.common.grpcclient' (/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py) lis 01 21:19:51 naib.pipebreaker.pl audit[33218]: AVC avc: denied { name_connect } for pid=33218 comm="dashboard" dest=8080 scontext=system_u:system_r:ceph_t:s0 tcontext=system_u:object_r:http_cache_port_t:s0 tclass=tcp_socket permissive=1 lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: self.run() lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 54, in run lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: self.run_agents() lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 67, in run_agents lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: from .common.grpcclient import GRPcClient, gen_configuration lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: File "/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py", line 2, in <module> lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: import grpc lis 01 21:19:51 naib.pipebreaker.pl ceph-mgr[33218]: ModuleNotFoundError: No module named 'grpc' ^^ this can be fixed by installing: python3-gprcio Then it fails with: lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: Traceback (most recent call last): lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/lib64/python3.8/threading.py", line 932, in _bootstrap_inner lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: self.run() lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 54, in run lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: self.run_agents() lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 67, in run_agents lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: from .common.grpcclient import GRPcClient, gen_configuration lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: ImportError: cannot import name 'GRPcClient' from 'diskprediction_cloud.common.grpcclient' (/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py) lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: self.run() lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 54, in run lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: self.run_agents() lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 67, in run_agents lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: from .common.grpcclient import GRPcClient, gen_configuration lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py", line 8, in <module> lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: from . import client_pb2 lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: File "/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2.py", line 6, in <module> lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: from google.protobuf import descriptor as _descriptor lis 01 21:27:45 naib.pipebreaker.pl ceph-mgr[34135]: ModuleNotFoundError: No module named 'google' ^^ this is fixable by installing: python3-protobuf lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: ImportError: cannot import name 'GRPcClient' from 'diskprediction_cloud.common.grpcclient' (/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py) lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: self.run() lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 54, in run lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: self.run_agents() lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: File "/usr/share/ceph/mgr/diskprediction_cloud/task.py", line 67, in run_agents lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: from .common.grpcclient import GRPcClient, gen_configuration lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: File "/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py", line 8, in <module> lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: from . import client_pb2 lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: File "/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2.py", line 16, in <module> lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 lis 01 21:33:44 naib.pipebreaker.pl ceph-mgr[35259]: ModuleNotFoundError: No module named 'google.api' ^^ for this I haven't found which package is missing Version-Release number of selected component (if applicable): ceph-mgr-14.2.4-1.fc32.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I'm not a python or google APIs expert, but this https://github.com/protocolbuffers/protobuf/issues/3773 seems (to me) to suggest that protoc has to be run to generate files from templates to resolve the reference to annotations_pb2
Partial fix (added missing python3-{gprcio,protobuf} Requires: in ceph-14.2.4-2
FEDORA-2019-b50e0a6cf2 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-b50e0a6cf2
ceph-14.2.4-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-b50e0a6cf2
FEDORA-2019-5a4ce4e1ac has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-5a4ce4e1ac
ceph-14.2.4-3.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-5a4ce4e1ac
ceph-14.2.4-3.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.
This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32.