← Back to team overview

openstack team mailing list archive

[nova-compute] Startup error

 

Hello,

I'm clueless as how to solve this problem, any ideas?

DEBUG nova.utils [req-007e9c3f-2dcb-4b42-8486-800a51e272e1 None None]
>> backend <module 'nova.db.sqlalchemy.api' from
>> '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from
>> (pid=17035) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
>
> Traceback (most recent call last):
>
>   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 336,
>> in fire_timers
>
>     timer()
>
>   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 56,
>> in __call__
>
>     cb(*args, **kw)
>
>   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line
>> 192, in main
>
>     result = function(*args, **kwargs)
>
>   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in
>> run_server
>
>     server.start()
>
>   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 174, in
>> start
>
>     self.manager.update_available_resource(ctxt)
>
>   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line
>> 2403, in update_available_resource
>
>     self.driver.update_available_resource(context, self.host)
>
>   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py",
>> line 1898, in update_available_resource
>
>     'local_gb': self.get_local_gb_total(),
>
>   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py",
>> line 1712, in get_local_gb_total
>
>     stats = libvirt_utils.get_fs_info(FLAGS.instances_path)
>
>   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line
>> 277, in get_fs_info
>
>     hddinfo = os.statvfs(path)
>
> OSError: [Errno 2] No such file or directory:
>> '/usr/lib/python2.7/dist-packages/instances'
>
> 2012-04-27 16:51:48 CRITICAL nova [-] [Errno 2] No such file or directory:
>> '/usr/lib/python2.7/dist-packages/instances'
>
> 2012-04-27 16:51:48 TRACE nova Traceback (most recent call last):
>
> 2012-04-27 16:51:48 TRACE nova   File "/usr/bin/nova-compute", line 49, in
>> <module>
>
> 2012-04-27 16:51:48 TRACE nova     service.wait()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/service.py", line 413, in wait
>
> 2012-04-27 16:51:48 TRACE nova     _launcher.wait()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/service.py", line 131, in wait
>
> 2012-04-27 16:51:48 TRACE nova     service.wait()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in
>> wait
>
> 2012-04-27 16:51:48 TRACE nova     return self._exit_event.wait()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait
>
> 2012-04-27 16:51:48 TRACE nova     return hubs.get_hub().switch()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch
>
> 2012-04-27 16:51:48 TRACE nova     return self.greenlet.switch()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in
>> main
>
> 2012-04-27 16:51:48 TRACE nova     result = function(*args, **kwargs)
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/service.py", line 101, in run_server
>
> 2012-04-27 16:51:48 TRACE nova     server.start()
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/service.py", line 174, in start
>
> 2012-04-27 16:51:48 TRACE nova
>> self.manager.update_available_resource(ctxt)
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2403, in
>> update_available_resource
>
> 2012-04-27 16:51:48 TRACE nova
>> self.driver.update_available_resource(context, self.host)
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
>> 1898, in update_available_resource
>
> 2012-04-27 16:51:48 TRACE nova     'local_gb': self.get_local_gb_total(),
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line
>> 1712, in get_local_gb_total
>
> 2012-04-27 16:51:48 TRACE nova     stats =
>> libvirt_utils.get_fs_info(FLAGS.instances_path)
>
> 2012-04-27 16:51:48 TRACE nova   File
>> "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/utils.py", line 277, in
>> get_fs_info
>
> 2012-04-27 16:51:48 TRACE nova     hddinfo = os.statvfs(path)
>
> 2012-04-27 16:51:48 TRACE nova OSError: [Errno 2] No such file or
>> directory: '/usr/lib/python2.7/dist-packages/instances'
>
> 2012-04-27 16:51:48 TRACE nova
>
> Exception KeyError: KeyError(140477118368240,) in <module 'threading' from
>> '/usr/lib/python2.7/threading.pyc'> ignored
>
>
>
Regards,

Leander

Follow ups