Bug #56150
openNumerous SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
0%
Description
see https://bugzilla.redhat.com/show_bug.cgi?id=2095946Description of problem:
Some commands fail with "SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats". Health is permanently in error:
- ceph -s
cluster:
id: 128d924d-38ab-4d9b-a4fe-74a59e3ca69c
health: HEALTH_ERR
Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
- ceph telemetry status
Error EINVAL: SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
mgr log:
2022-06-11T00:01:01.048+0200 7f1aa4be7640 -1 mgr handle_command module 'crash' command handler threw exception: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
2022-06-11T00:01:01.049+0200 7f1aa4be7640 -1 mgr.server reply reply (22) Invalid argument SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
Version-Release number of selected component (if applicable):
ceph-common-17.2.0-5.fc37.x86_64
ceph-mgr-17.2.0-5.fc37.x86_64
How reproducible:
Always
Additional info:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1964322
https://bugs.archlinux.org/task/73335