I don't quite follow your question, nova-compute should run in the VM host (dom0), not in the guest VM (domU), right? Otherwise how could nova-compute have access to all dom0 privileges to start and manipulate vms?<br>
<br>This is my nova.conf:<br><br>--dhcpbridge_flagfile=/etc/nova/nova.conf<br>--dhcpbridge=/usr/bin/nova-dhcpbridge<br>--logdir=/var/log/nova<br>--state_path=/var/lib/nova<br>--lock_path=/var/lock/nova<br>--verbose<br>--s3_host=10.0.254.9<br>
--rabbit_host=10.0.254.9<br>--cc_host=10.0.254.9<br>--ec2_url=<a href="http://10.0.254.9:8773/services/Cloud">http://10.0.254.9:8773/services/Cloud</a><br>--sql_connection=mysql://<a href="http://novadbadmin:root@10.0.254.9/nova">novadbadmin:root@10.0.254.9/nova</a><br>
--network_manager=nova.network.manager.FlatDHCPManager<br>--network_host=10.0.254.9<br>--flat_network_bridge=xenbr0<br>--libvirt_type=xen<br>--xenapi_remap_vbd_dev=true<br>--glance_api_servers=<a href="http://10.0.254.9:9292">10.0.254.9:9292</a><br>
--image_service=nova.image.glance.GlanceImageService<br>--nouse_cow_images<br><br><div class="gmail_quote">Em 11 de janeiro de 2012 12:06, jeffrey coho <span dir="ltr"><<a href="mailto:jeffreycohobupt@gmail.com">jeffreycohobupt@gmail.com</a>></span> escreveu:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<div>   where did u install ur nova-compute? u should put it on a domU(PV mode). what's more,</div><div>can u screenshot ur nova.conf here plz?</div>
<div><br><br><div class="gmail_quote"><div><div class="h5">2012/1/11 Rogério Vinhal Nunes <span dir="ltr"><<a href="mailto:rogervn@dcc.ufmg.br" target="_blank">rogervn@dcc.ufmg.br</a>></span><br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><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>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br>Sincerely yours,<div>Jeff</div><br>
</font></span></div>
</blockquote></div><br>