Compute manager crashes without any indication for a reason

Bug #882598 reported by Stanislaw Pitucha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

Compute manager fails with the following stacktrace without any indication about the reason. This seems to happen randomly. (from Diablo final)

2011-10-27 11:30:56,094 DEBUG nova.utils [-] Inner Exception: cannot import name v1_1 from (pid=5515) import_class /usr/lib/python2.7/dist-packages/nova/utils.py:65
2011-10-27 11:30:56,094 CRITICAL nova [-] Class ComputeManager could not be found
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/nova-compute", line 47, in <module>
(nova): TRACE: server = service.Service.create(binary='nova-compute')
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 216, in create
(nova): TRACE: report_interval, periodic_interval)
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 125, in __init__
(nova): TRACE: manager_class = utils.import_class(self.manager_class_name)
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 66, in import_class
(nova): TRACE: raise exception.ClassNotFound(class_name=class_str)
(nova): TRACE: ClassNotFound: Class ComputeManager could not be found
(nova): TRACE:
2011-10-27 11:39:16,868 DEBUG nova.utils [-] Inner Exception: cannot import name v1_1 from (pid=7187) import_class /usr/lib/python2.7/dist-packages/nova/utils.py:65
2011-10-27 11:39:16,869 CRITICAL nova [-] Class ComputeManager could not be found
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/nova-compute", line 47, in <module>
(nova): TRACE: server = service.Service.create(binary='nova-compute')
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 216, in create
(nova): TRACE: report_interval, periodic_interval)
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/service.py", line 125, in __init__
(nova): TRACE: manager_class = utils.import_class(self.manager_class_name)
(nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 66, in import_class
(nova): TRACE: raise exception.ClassNotFound(class_name=class_str)
(nova): TRACE: ClassNotFound: Class ComputeManager could not be found
(nova): TRACE:

Revision history for this message
Stanislaw Pitucha (stanislaw-pitucha) wrote :

Exception indicates that the novaclient is missing, but it is not the case - it can be imported without problems:

$ python -c 'from novaclient import v1_1 as novaclient ; print "ok"'
ok

Revision history for this message
Mark McLoughlin (markmc) wrote :

@stanislaw - are you still seeing this issue? I don't see any other reports of it

Brian Waldon (bcwaldon)
Changed in nova:
status: New → Incomplete
Revision history for this message
Thierry Carrez (ttx) wrote :

We cannot solve the issue you reported without more information. Could you please provide the requested information ?

Revision history for this message
Stanislaw Pitucha (stanislaw-pitucha) wrote :

Nope, that's all I know and as far as I remember it never occurred again.

Revision history for this message
Chuck Short (zulcss) wrote :

Closing based on above comments.

Changed in nova:
status: Incomplete → 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.