[Bug 1964322] Re: Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
sascha arthur
1964322 at bugs.launchpad.net
Sun Mar 27 20:57:19 UTC 2022
even after reboot / restart.. under random circumstances this bug comes
back.
~ # dpkg -l | grep ceph
ii ceph-base 17.1.0-0ubuntu3 amd64 common ceph daemon libraries and management tools
ii ceph-common 17.1.0-0ubuntu3 amd64 common utilities to mount and interact with a ceph storage cluster
ii ceph-mds 17.1.0-0ubuntu3 amd64 metadata server for the ceph distributed file system
ii ceph-mgr 17.1.0-0ubuntu3 amd64 manager for the ceph distributed file system
ii ceph-mgr-modules-core 17.1.0-0ubuntu3 all ceph manager modules which are always enabled
ii ceph-mon 17.1.0-0ubuntu3 amd64 monitor server for the ceph storage system
ii ceph-osd 17.1.0-0ubuntu3 amd64 OSD server for the ceph storage system
ii ceph-volume 17.1.0-0ubuntu3 all tool to facilidate OSD deployment
ii libcephfs2 17.1.0-0ubuntu3 amd64 Ceph distributed file system client library
ii libsqlite3-mod-ceph 17.1.0-0ubuntu3 amd64 SQLite3 VFS for Ceph
ii python3-ceph-argparse 17.1.0-0ubuntu3 amd64 Python 3 utility libraries for Ceph CLI
ii python3-ceph-common 17.1.0-0ubuntu3 all Python 3 utility libraries for Ceph
ii python3-cephfs 17.1.0-0ubuntu3 amd64 Python 3 libraries for the Ceph libcephfs library
~ # uptime
20:55:23 up 52 min, 2 users, load average: 0.04, 0.13, 0.22
~ # ceph crash ls
Error EINVAL: SystemError: 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
any idea?
** Changed in: ceph (Ubuntu)
Status: Fix Released => Confirmed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1964322
Title:
Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be
defined for '#' formats
Status in ceph package in Ubuntu:
Confirmed
Bug description:
#ceph -s
...
health: HEALTH_ERR
Module 'devicehealth' has failed: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
..
# dpkg -l | grep ceph
ii ceph-base 17.1.0-0ubuntu1 amd64 common ceph daemon libraries and management tools
ii ceph-common 17.1.0-0ubuntu1 amd64 common utilities to mount and interact with a ceph storage cluster
ii ceph-mds 17.1.0-0ubuntu1 amd64 metadata server for the ceph distributed file system
ii ceph-mgr 17.1.0-0ubuntu1 amd64 manager for the ceph distributed file system
ii ceph-mgr-modules-core 17.1.0-0ubuntu1 all ceph manager modules which are always enabled
ii ceph-mon 17.1.0-0ubuntu1 amd64 monitor server for the ceph storage system
ii ceph-osd 17.1.0-0ubuntu1 amd64 OSD server for the ceph storage system
ii ceph-volume 17.1.0-0ubuntu1 all tool to facilidate OSD deployment
ii libcephfs2 17.1.0-0ubuntu1 amd64 Ceph distributed file system client library
ii libsqlite3-mod-ceph 17.1.0-0ubuntu1 amd64 SQLite3 VFS for Ceph
ii python3-ceph-argparse 17.1.0-0ubuntu1 amd64 Python 3 utility libraries for Ceph CLI
ii python3-ceph-common 17.1.0-0ubuntu1 all Python 3 utility libraries for Ceph
ii python3-cephfs 17.1.0-0ubuntu1 amd64 Python 3 libraries for the Ceph libcephfs library
# ls -alh /usr/bin/python3
lrwxrwxrwx 1 root root 10 Jan 13 16:58 /usr/bin/python3 -> python3.10
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
Codename: jammy
2022-03-08T17:58:18.807+0000 7f7734ff9640 -1 Traceback (most recent call last):
File "/usr/share/ceph/mgr/devicehealth/module.py", line 338, in serve
if self.db_ready() and self.enable_monitoring:
File "/usr/share/ceph/mgr/mgr_module.py", line 1189, in db_ready
return self.db is not None
File "/usr/share/ceph/mgr/mgr_module.py", line 1201, in db
self._db = self.open_db()
File "/usr/share/ceph/mgr/mgr_module.py", line 1178, in open_db
self.create_mgr_pool()
File "/usr/share/ceph/mgr/mgr_module.py", line 1084, in create_mgr_pool
self.rename_pool(devhealth, self.MGR_POOL_NAME)
File "/usr/share/ceph/mgr/mgr_module.py", line 1048, in rename_pool
self.check_mon_command(c)
File "/usr/share/ceph/mgr/mgr_module.py", line 1560, in check_mon_command
r = HandleCommandResult(*self.mon_command(cmd_dict, inbuf))
File "/usr/share/ceph/mgr/mgr_module.py", line 1577, in mon_command
self.send_command(result, "mon", "", json.dumps(cmd_dict), "", inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 1641, in send_command
self._ceph_send_command(result, svc_type, svc_id, command, tag, inbuf)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
maybe bug fix here: https://github.com/ceph/ceph/pull/44112
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1964322/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list