<div><p>I've installed nova-compute along with xen and 
libvirt in a fresh Ubuntu 11.10 install. But I'm experiencing some 
problems to get it running.</p>
<p>nova-compute service fails to start and nova-compute.log shows this error message:</p>
<p>2011-12-26 09:36:03,679 CRITICAL nova [-] [Errno 2] No such file or directory: '/var/lib/nova/instances/Domain-0/console.ring'<br>
(nova): TRACE: Traceback (most recent call last):<br>
(nova): TRACE:   File "/usr/bin/nova-compute", line 49, in <module><br>
(nova): TRACE:     service.wait()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 357, in wait<br>
(nova): TRACE:     _launcher.wait()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 107, in wait<br>
(nova): TRACE:     service.wait()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 166, in wait<br>
(nova): TRACE:     return self._exit_event.wait()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/eventlet/event.py", line 116, in wait<br>
(nova): TRACE:     return hubs.get_hub().switch()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 177, in switch<br>
(nova): TRACE:     return self.greenlet.switch()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line 192, in main<br>
(nova): TRACE:     result = function(*args, **kwargs)<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 77, in run_server<br>
(nova): TRACE:     server.start()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 137, in start<br>
(nova): TRACE:     self.manager.init_host()<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 157, in init_host<br>
(nova): TRACE:     self.driver.init_host(host=self.host)<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 253, in init_host<br>
(nova): TRACE:     self._start_console_logger(name, fifo_path, ringbuffer_path)<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 297, in _start_console_logger<br>
(nova): TRACE:     self.console_loggers[name] = ConsoleLogger(fifo_path, ringbuffer_path)<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 186, in __init__<br>
(nova): TRACE:     FLAGS.libvirt_console_log_size)<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 932, in __init__<br>
(nova): TRACE:     self.f = self._open(backing_file)<br>
(nova): TRACE:   File "/usr/lib/python2.7/dist-packages/nova/utils.py", line 970, in _open<br>
(nova): TRACE:     fd = os.open(filename, os.O_RDWR | os.O_CREAT, 0666)<br>
(nova): TRACE: OSError: [Errno 2] No such file or directory: '/var/lib/nova/instances/Domain-0/console.ring'</p>
<p>Is there anything else I need to do to make Diablo work with Xen? It 
seems that openstack is considering Domain-0 an instance. I have a Ubuntu 10.04 configuration that works fine, I've found out that in this configuration "virsh list" doesn't show Domain-0, so that may be the problem. But for libvirt showing the Domain-0 vm seems like the correct behaviour, nova-compute is the one that should ignore it.</p>
<p></p><p>I've filed a bug (<a href="https://bugs.launchpad.net/bugs/912701" target="_blank"> https://bugs.launchpad.net/bugs/912701</a> ) and also a question ( <a href="https://answers.launchpad.net/nova/+question/182917" target="_blank">https://answers.launchpad.net/nova/+question/182917</a> ), but I've got no answer yet. This is pretty critical, is there something I can do to workaround it? I would want to avoid using xenapi directly.<br>
</p></div>