cinder-volume.service crashes: no module named 'wrapt'

Bug #1961685 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Invalid
Wishlist
Unassigned

Bug Description

Using Ubuntu openstack and ran into this error when setting up my storage node.

Looks like the cinder-volume.service crashes when debtcollector/removals.py tries to import the wrapt module.

Confusingly, appears the wrapt module is already installed. I can enter python3 and type "import wrapt" without error. Any suggestions? Thank you for the assistance.

     Feb 22 05:03:21 storage1 cinder-volume[6432]: from debtcollector import removals
        Feb 22 05:03:21 storage1 cinder-volume[6432]: File "/usr/local/lib/python3.8/dist-packages/debtcollector/removals.py", line 18, in <module>
        Feb 22 05:03:21 storage1 cinder-volume[6432]: import wrapt
        Feb 22 05:03:21 storage1 cinder-volume[6432]: ModuleNotFoundError: No module named 'wrapt'
        Feb 22 05:03:21 storage1 systemd[1]: cinder-volume.service: Main process exited, code=exited, status=1/FAILURE
        Feb 22 05:03:21 storage1 systemd[1]: cinder-volume.service: Failed with result 'exit-code'.
        Feb 22 05:03:21 storage1 systemd[1]: cinder-volume.service: Scheduled restart job, restart counter is at 4.
        Feb 22 05:03:21 storage1 systemd[1]: Stopped OpenStack Cinder Volume.
        Feb 22 05:03:21 storage1 systemd[1]: Started OpenStack Cinder Volume.
        Feb 22 05:03:22 storage1 cinder-volume[6437]: Traceback (most recent call last):
        Feb 22 05:03:22 storage1 cinder-volume[6437]: File "/usr/bin/cinder-volume", line 6, in <module>
        Feb 22 05:03:22 storage1 cinder-volume[6437]: from cinder.cmd.volume import main
        Feb 22 05:03:22 storage1 cinder-volume[6437]: File "/usr/lib/python3/dist-packages/cinder/cmd/volume.py", line 43, in <module>
        Feb 22 05:03:22 storage1 cinder-volume[6437]: from oslo_config import cfg
        Feb 22 05:03:22 storage1 cinder-volume[6437]: File "/usr/local/lib/python3.8/dist-packages/oslo_config/cfg.py", line 45, in <module>
        Feb 22 05:03:22 storage1 cinder-volume[6437]: from oslo_config import types
        Feb 22 05:03:22 storage1 cinder-volume[6437]: File "/usr/local/lib/python3.8/dist-packages/oslo_config/types.py", line 28, in <module>
        Feb 22 05:03:22 storage1 cinder-volume[6437]: from debtcollector import removals
        Feb 22 05:03:22 storage1 cinder-volume[6437]: File "/usr/local/lib/python3.8/dist-packages/debtcollector/removals.py", line 18, in <module>
        Feb 22 05:03:22 storage1 cinder-volume[6437]: import wrapt
        Feb 22 05:03:22 storage1 cinder-volume[6437]: ModuleNotFoundError: No module named 'wrapt'
        Feb 22 05:03:22 storage1 systemd[1]: cinder-volume.service: Main process exited, code=exited, status=1/FAILURE
        Feb 22 05:03:22 storage1 systemd[1]: cinder-volume.service: Failed with result 'exit-code'.
        Feb 22 05:03:22 storage1 systemd[1]: cinder-volume.service: Scheduled restart job, restart counter is at 5.
        Feb 22 05:03:22 storage1 systemd[1]: Stopped OpenStack Cinder Volume.
        Feb 22 05:03:22 storage1 systemd[1]: cinder-volume.service: Start request repeated too quickly.
        Feb 22 05:03:22 storage1 systemd[1]: cinder-volume.service: Failed with result 'exit-code'.
        Feb 22 05:03:22 storage1 systemd[1]: Failed to start OpenStack Cinder Volume.

Tags: wrapt
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Greetings,
This isn't a Cinder bug. Looks like a problem with debtcollector or the environment you're using. I'm not an expert but I would check the installation tool. Thanks.
Best Regards

Changed in cinder:
importance: Undecided → Wishlist
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.