Ask Your Question

Openstack Compute with Xen in Ubuntu 11.10 fails to load due to Domain-0 being considered an instance

asked 2011-12-26 13:47:11 -0500

rogervn gravatar image

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.

nova-compute service fails to start and nova-compute.log shows this error message:

2011-12-26 09:36:03,679 CRITICAL nova [-] [Errno 2] No such file or directory: '/var/lib/nova/instances/Domain-0/console.ring' (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-compute", line 49, in <module> (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/", line 357, in wait (nova): TRACE: _launcher.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/", line 107, in wait (nova): TRACE: service.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/", line 166, in wait (nova): TRACE: return self._exit_event.wait() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/", line 116, in wait (nova): TRACE: return hubs.get_hub().switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/hubs/", line 177, in switch (nova): TRACE: return self.greenlet.switch() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/eventlet/", line 192, in main (nova): TRACE: result = function(args, *kwargs) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/", line 77, in run_server (nova): TRACE: server.start() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/", line 137, in start (nova): TRACE: self.manager.init_host() (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/compute/", line 157, in init_host (nova): TRACE: self.driver.init_host( (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/", line 253, in init_host (nova): TRACE: self._start_console_logger(name, fifo_path, ringbuffer_path) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/", line 297, in _start_console_logger (nova): TRACE: self.console_loggers[name] = ConsoleLogger(fifo_path, ringbuffer_path) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/", line 186, in __init__ (nova): TRACE: FLAGS.libvirt_console_log_size) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/", line 932, in __init__ (nova): TRACE: self.f = self._open(backing_file) (nova): TRACE: File "/usr/lib/python2.7/dist-packages/nova/", line 970, in _open (nova): TRACE: fd =, os.O_RDWR | os.O_CREAT, 0666) (nova): TRACE: OSError: [Errno 2] No such file or directory: '/var/lib/nova/instances/Domain-0/console.ring'

Is there anything else I need to do to make Diablo work with Xen? It seems that openstack is considering Domain-0 an instance, what shouldn't be happening. I used to have a similar configuration in Ubuntu 10.04 and it worked fine.

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted

answered 2012-04-29 00:49:49 -0500

fifieldt gravatar image


The bug here ( ) was solved in the Essex release, so I propose to close this Question.



edit flag offensive delete link more

answered 2012-01-12 17:30:48 -0500

rogervn gravatar image

I have successfully run openstack with Libvirt + Xen in Ubuntu 10.04, but it may be only because libvirt wasn't showing Domain-0 as intended. Everything else run fine, what could make solving this little problema a nice addition of features.

edit flag offensive delete link more

answered 2012-01-04 13:44:14 -0500

foexle gravatar image

have the same issue. Any have a solution ?

edit flag offensive delete link more

answered 2012-01-04 14:44:12 -0500

rogervn gravatar image

I've posted this in the mailing list, still waiting for an answer.

I found out that this may be connected to libvirt because "virsh list" returns Domain-0, and my Ubuntu 10.04 working configuration didn't.

As this seems to be the correct behaviour for "virsh list", this seems like a openstack issue.

edit flag offensive delete link more

answered 2012-01-11 16:58:54 -0500

blamar gravatar image

I'm unsure if anyone has successfully run OpenStack with a Libvirt/Xen combination. I could be wrong, but I've heard of a number of issues running this setup.

While Libvirt supports connecting to a Xen hypervisor... most OpenStack deployers use KVM/QEMU or LXC with Libvirt or use XenServer with the XenServer-specific 'driver'.

I'm sure this doesn't help, but at least it's something as OpenStack might currently be the wrong tool to use for this combination.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-12-26 13:47:11 -0500

Seen: 88 times

Last updated: Apr 29 '12