Solution for Module 'restful' has failed dependency: PyO3 modules

complexplaster27

New Member
Jul 10, 2023
9
0
1
Hi All,

I noticed after updating to 8.0 my Ceph was complaining with the following error:

Module 'restful' has failed dependency: PyO3 modules may only be initialized once per interpreter processModule 'restful' has failed dependency: PyO3 modules may only be initialized once per interpreter process

This warning is persistent and doesn't go away on its own.

I found this was because I have Ceph Manager Dashboard enabled and running and the PyO3 modules are not updated in Debian Bookworm.
To remedy this I ran the following commands in a shell:

ceph mgr module disable dashboard
ceph mgr module disable restful

After this the status of Ceph changed from warning to health ok and I've had no signs of adverse effects with Ceph since doing this.

Hope this helps anyone who may stumble across this issue.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!