bzr925 nova-compute can not start up ...see log

Asked by Hugo Kou

i nova-compute 2011.2~bzr925-0ubuntu0ppa1~maverick1 OpenStack Compute - Nova - compute node
OS: Ubuntu maverick server

well, I try to use deploment tool with truck instead of release

there comes some error

2011-03-31 12:07:08,691 - INFO - Execute shell command: ssh -o StrictHostKeyChecking=no -t <email address hidden> 'sudo -u root sh -c "service nova-compute status"'
2011-03-31 12:07:08,691 - DEBUG - *****The output of the shell command is from here:*****
2011-03-31 12:07:08,807 - DEBUG - nova-compute stop/waiting
2011-03-31 12:07:08,807 - DEBUG - Connection to ubuntu3.tw.megatrends.com closed.
2011-03-31 12:07:08,807 - DEBUG - *****The output of the shell command is to here. *****
2011-03-31 12:07:08,808 - DEBUG -
2011-03-31 12:07:08,808 - DEBUG -
2011-03-31 12:07:08,808 - ERROR - Error occured when staring the service(nova-compute).

so I trun to ubuntu3 host and check nova-compute.log

=======nova-compute.log========

2011-03-31 12:10:58,116 ERROR nova [-] in Service.create()
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 270, in serve
(nova): TRACE: services = [Service.create()]
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 173, in create
(nova): TRACE: report_interval, periodic_interval)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 73, in __init__
(nova): TRACE: self.manager = manager_class(host=self.host, *args, **kwargs)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 127, in __init__
(nova): TRACE: utils.import_object(compute_driver),
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 72, in import_object
(nova): TRACE: __import__(import_str)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/connection.py", line 31, in <module>
(nova): TRACE: from nova.virt import vmwareapi_conn
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/vmwareapi_conn.py", line 46, in <module>
(nova): TRACE: from nova.virt.vmwareapi import vim
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/vmwareapi/vim.py", line 49, in <module>
(nova): TRACE: class VIMMessagePlugin(MessagePlugin):
(nova): TRACE: NameError: name 'MessagePlugin' is not defined
(nova): TRACE:
2011-03-31 12:10:58,123 CRITICAL nova [-] name 'MessagePlugin' is not defined
(nova): TRACE: Traceback (most recent call last):
(nova): TRACE: File "/usr/bin/nova-compute", line 48, in <module>
(nova): TRACE: service.serve()
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 270, in serve
(nova): TRACE: services = [Service.create()]
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 173, in create
(nova): TRACE: report_interval, periodic_interval)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line 73, in __init__
(nova): TRACE: self.manager = manager_class(host=self.host, *args, **kwargs)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 127, in __init__
(nova): TRACE: utils.import_object(compute_driver),
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 72, in import_object
(nova): TRACE: __import__(import_str)
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/connection.py", line 31, in <module>
(nova): TRACE: from nova.virt import vmwareapi_conn
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/vmwareapi_conn.py", line 46, in <module>
(nova): TRACE: from nova.virt.vmwareapi import vim
(nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/vmwareapi/vim.py", line 49, in <module>
(nova): TRACE: class VIMMessagePlugin(MessagePlugin):
(nova): TRACE: NameError: name 'MessagePlugin' is not defined
(nova): TRACE:

is this a bug ?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Vish Ishaya
Solved:
Last query:
Last reply:
Revision history for this message
Best Vish Ishaya (vishvananda) said :
#1

There is a bug about it. You should be able to work around it with apt-get
install python-suds or pip install suds.
On Mar 30, 2011 10:45 PM, "Hugo Kou" <email address hidden>
wrote:
> New question #151158 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/151158
>
> i nova-compute 2011.2~bzr925-0ubuntu0ppa1~maverick1 OpenStack Compute -
Nova - compute node
> OS: Ubuntu maverick server
>
> well, I try to use deploment tool with truck instead of release
>
> there comes some error
>
> 2011-03-31 12:07:08,691 - INFO - Execute shell command: ssh -o
StrictHostKeyChecking=no -t <email address hidden> 'sudo -u root sh
-c "service nova-compute status"'
> 2011-03-31 12:07:08,691 - DEBUG - *****The output of the shell command is
from here:*****
> 2011-03-31 12:07:08,807 - DEBUG - nova-compute stop/waiting
> 2011-03-31 12:07:08,807 - DEBUG - Connection to ubuntu3.tw.megatrends.comclosed.
> 2011-03-31 12:07:08,807 - DEBUG - *****The output of the shell command is
to here. *****
> 2011-03-31 12:07:08,808 - DEBUG -
> 2011-03-31 12:07:08,808 - DEBUG -
> 2011-03-31 12:07:08,808 - ERROR - Error occured when staring the
service(nova-compute).
>
>
> so I trun to ubuntu3 host and check nova-compute.log
>
> =======nova-compute.log========
>
> 2011-03-31 12:10:58,116 ERROR nova [-] in Service.create()
> (nova): TRACE: Traceback (most recent call last):
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line
270, in serve
> (nova): TRACE: services = [Service.create()]
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line
173, in create
> (nova): TRACE: report_interval, periodic_interval)
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line
73, in __init__
> (nova): TRACE: self.manager = manager_class(host=self.host, *args,
**kwargs)
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 127, in
__init__
> (nova): TRACE: utils.import_object(compute_driver),
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 72,
in import_object
> (nova): TRACE: __import__(import_str)
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/virt/connection.py", line 31, in <module>
> (nova): TRACE: from nova.virt import vmwareapi_conn
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/virt/vmwareapi_conn.py", line 46, in
<module>
> (nova): TRACE: from nova.virt.vmwareapi import vim
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/virt/vmwareapi/vim.py", line 49, in
<module>
> (nova): TRACE: class VIMMessagePlugin(MessagePlugin):
> (nova): TRACE: NameError: name 'MessagePlugin' is not defined
> (nova): TRACE:
> 2011-03-31 12:10:58,123 CRITICAL nova [-] name 'MessagePlugin' is not
defined
> (nova): TRACE: Traceback (most recent call last):
> (nova): TRACE: File "/usr/bin/nova-compute", line 48, in <module>
> (nova): TRACE: service.serve()
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line
270, in serve
> (nova): TRACE: services = [Service.create()]
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line
173, in create
> (nova): TRACE: report_interval, periodic_interval)
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/service.py", line
73, in __init__
> (nova): TRACE: self.manager = manager_class(host=self.host, *args,
**kwargs)
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/compute/manager.py", line 127, in
__init__
> (nova): TRACE: utils.import_object(compute_driver),
> (nova): TRACE: File "/usr/lib/pymodules/python2.6/nova/utils.py", line 72,
in import_object
> (nova): TRACE: __import__(import_str)
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/virt/connection.py", line 31, in <module>
> (nova): TRACE: from nova.virt import vmwareapi_conn
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/virt/vmwareapi_conn.py", line 46, in
<module>
> (nova): TRACE: from nova.virt.vmwareapi import vim
> (nova): TRACE: File
"/usr/lib/pymodules/python2.6/nova/virt/vmwareapi/vim.py", line 49, in
<module>
> (nova): TRACE: class VIMMessagePlugin(MessagePlugin):
> (nova): TRACE: NameError: name 'MessagePlugin' is not defined
> (nova): TRACE:
>
>
> is this a bug ?
>
>
>
>
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Hugo Kou (tonytkdk) said :
#2

Thanks Vish Ishaya, that solved my question.

Revision history for this message
Hugo Kou (tonytkdk) said :
#3

apt-get install python-suds

solved it

Revision history for this message
Ivan Kolodyazhny (e0ne) said :
#4

I've got same errors. It would be good to add python-suds package to pip-requires file.

Revision history for this message
Brian Lamar (blamar) said :
#5

Hey Ivan, this should have been fixed in a previous revision of Nova, which revision are you using?

Revision history for this message
Ivan Kolodyazhny (e0ne) said :
#6

Hello Brian, I'm using trunk.

Revision history for this message
Brian Lamar (blamar) said :
#7

Can you please provide the traceback you're getting? paste.openstack.org