<div dir="ltr"><div>Good. Can you share the configuration file-nova.conf on compute ? It will help everybody.<br><br></div>-Dheerendra<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 30, 2013 at 8:25 PM, Florian Lindner <span dir="ltr"><<a href="mailto:mailinglists@xgm.de" target="_blank">mailinglists@xgm.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am Mittwoch, 30. Oktober 2013, 19:02:33 schrieb Dheerendra:<br>
<div class="im">> also look at the logs /var/log/nova/nova-network.log on compute node. It<br>
> should tell whether it is able to connect to rabbit on controller.<br>
<br>
</div>I got now! The problem was a missing database entry on the compute node. Sorry<br>
guys for this stupid error, though the docs don't mention creating the entry.<br>
<div class="im HOEnZb"><br>
Thanks for your help!<br>
Florian<br>
<br>
><br>
</div><div class="HOEnZb"><div class="h5">> -Dheerendra<br>
><br>
><br>
> On Wed, Oct 30, 2013 at 6:41 PM, Dheerendra <<br>
><br>
> <a href="mailto:dheerendra.madhusudhana@gmail.com">dheerendra.madhusudhana@gmail.com</a>> wrote:<br>
> > Hi Florian<br>
> ><br>
> > I observed this kind of issue when there is race condition.<br>
> ><br>
> > 1. RabbitMQ is NOT running on controller-node<br>
> > 2. You issue nova-network from compute-node. Now this step hangs.<br>
> > 3. Just see what is happening in nova-api.log on controller(tail -f<br>
> > /var/log/nova/nova-api.log)<br>
> > 4. Now you start the RabbitMQ on the controller node.<br>
> > 5. nova-network command compute returns the error. Also you will see<br>
> > 'timeout' error in nova-api.log.<br>
> ><br>
> > From your log I suspect this because initially RabitMQ was not up. Looks<br>
> > like you started it afterwards.<br>
> > Did you try to run the same 'nova-network' command for the second time ?<br>
> > i.e after restarting the rabbitMQ ?<br>
> ><br>
> > -Dheerendra<br>
> ><br>
> > On Wed, Oct 30, 2013 at 3:47 PM, Florian Lindner<br>
<<a href="mailto:mailinglists@xgm.de">mailinglists@xgm.de</a>>wrote:<br>
> >> Am Dienstag, 29. Oktober 2013, 14:32:00 schrieb Razique Mahroua:<br>
> >> > You are using Neutron?<br>
> >> > Looks like the Neutron server is unable to perform the request actually<br>
> >><br>
> >> Actually no, I don't think so, I think I use the nova-network.<br>
> >><br>
> >> The documentation<br>
> >> <a href="http://docs.openstack.org/havana/install-guide/install/apt/content/" target="_blank">http://docs.openstack.org/havana/install-guide/install/apt/content/</a> says:<br>
> >><br>
> >> Configuring Networking can be one of the most bewildering experiences you<br>
> >> will<br>
> >> encounter when working with OpenStack. To assist in this we have chosen<br>
> >> the<br>
> >> simplest production-ready configuration for this guide: the legacy<br>
> >> networking<br>
> >> in OpenStack Compute, with a flat network, that takes care of DHCP.<br>
> >><br>
> >> This setup uses "multi-host" functionality: the networking is configured<br>
> >> to be<br>
> >> highly available by splitting networking functionality across multiple<br>
> >> hosts.<br>
> >> As a result, there is no single network controller that acts as a single<br>
> >> point<br>
> >> of failure. Because each compute node is configured for networking in<br>
> >> this<br>
> >> setup, no additional networking configuration is required on the<br>
> >> controller.<br>
> >><br>
> >> (Chapter 5: Enabling Networking)<br>
> >><br>
> >> and I have installed the nova-network package.<br>
> >><br>
> >> I've downloaded my entire /etc to <a href="http://xgm.de/upload/etc/" target="_blank">http://xgm.de/upload/etc/</a> if you or<br>
> >> anyone<br>
> >> else wants to have a look! Yes, these "123" are the actual passwords,<br>
> >> it's<br>
> >> just from a VM on my local computer. ;-)<br>
> >><br>
> >> Thanks a lot!<br>
> >><br>
> >> Florian<br>
> >><br>
> >> > On October 29, 2013 at 12:00:18, Florian Lindner (<a href="mailto:mailinglists@xgm.de">mailinglists@xgm.de</a>)<br>
> >> > wrote:<br>
> >> ><br>
> >> > Am Montag, 28. Oktober 2013, 13:44:00 schrieb Craig E. Ward:<br>
> >> > > On the RabbitMQ server, are vhost and user id setup correctly?<br>
> >> ><br>
> >> > Ok, part of the problem seemed to be that the documentation assumed I<br>
> >><br>
> >> set<br>
> >><br>
> >> > the password guest for the rabbit guest account. Did that now and the<br>
> >> > problem changed:<br>
> >> ><br>
> >> > root@controller:~# nova network-create vmnet --fixed-range-v4=<br>
> >><br>
> >> <a href="http://10.0.0.0/24" target="_blank">10.0.0.0/24</a> --<br>
> >><br>
> >> > bridge-interface=br100 --multi-host=T<br>
> >> > ERROR: The server has either erred or is incapable of performing the<br>
> >> > requested operation. (HTTP 500) (Request-ID:<br>
> >> > req-900a80bd-dfc1-49fc-9599-239fd5b9b7e3)<br>
> >> ><br>
> >> > nova-api.log shows:<br>
> >> ><br>
> >> > <a href="http://pastebin.com/raw.php?i=13U8a4Na" target="_blank">http://pastebin.com/raw.php?i=13U8a4Na</a><br>
> >> ><br>
> >> ><br>
> >> > 2013-10-29 19:14:18.587 1272 INFO nova.osapi_compute.wsgi.server [-]<br>
> >><br>
> >> (1272)<br>
> >><br>
> >> > accepted ('192.168.122.10', 53116)<br>
> >> > 2013-10-29 19:14:19.207 1272 INFO nova.openstack.common.rpc.common<br>
> >> > [req-900a80bd-dfc1-49fc-9599-239fd5b9b7e3<br>
> >><br>
> >> a1dd41c156c64810b41d46d4062a2b17<br>
> >><br>
> >> > 68d6cb4e2ceb4700931b6489ad25fb6f] Connected to AMQP server on<br>
> >> > controller:5672 2013-10-29 19:14:19.218 1272 INFO<br>
> >> > nova.openstack.common.rpc.common<br>
> >><br>
> >> [req-900a80bd-dfc1-49fc-9599-239fd5b9b7e3<br>
> >><br>
> >> > a1dd41c156c64810b41d46d4062a2b17 68d6cb4e2ceb4700931b6489ad25fb6f]<br>
> >> > Connected to AMQP server on controller:5672 2013-10-29 19:15:19.238<br>
> >> > 1272<br>
> >> > ERROR nova.api.openstack [req-900a80bd- dfc1-49fc-9599-239fd5b9b7e3<br>
> >> > a1dd41c156c64810b41d46d4062a2b17<br>
> >> > 68d6cb4e2ceb4700931b6489ad25fb6f] Caught error: Timeout while waiting<br>
> >><br>
> >> on RPC<br>
> >><br>
> >> > response - topic: "network", RPC method: "create_networks" info:<br>
> >> > "<unknown>" 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack<br>
> >><br>
> >> Traceback<br>
> >><br>
> >> > (most recent call last):<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line<br>
> >><br>
> >> 119,<br>
> >><br>
> >> > in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > req.get_response(self.application)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack application,<br>
> >> > catch_exc_info=False)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in<br>
> >> > call_application<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack app_iter =<br>
> >> > application(self.environ, start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >><br>
> >> resp(environ,<br>
> >><br>
> >> > start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >><br>
> >> "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py<br>
> >> ",<br>
> >><br>
> >> > line 539, in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >><br>
> >> self.app(env,<br>
> >><br>
> >> > start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >><br>
> >> resp(environ,<br>
> >><br>
> >> > start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >><br>
> >> resp(environ,<br>
> >><br>
> >> > start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in<br>
> >> > __call__ 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack response<br>
> >><br>
> >> =<br>
> >><br>
> >> > self.app(environ, start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >><br>
> >> resp(environ,<br>
> >><br>
> >> > start_response)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack resp =<br>
> >> > self.call_func(req, *args, **self.kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > self.func(req, *args, **kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line<br>
> >><br>
> >> 917, in<br>
> >><br>
> >> > __call__<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack content_type,<br>
> >><br>
> >> body,<br>
> >><br>
> >> > accept)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line<br>
> >><br>
> >> 976, in<br>
> >><br>
> >> > _process_stack<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack action_result =<br>
> >> > self.dispatch(meth, request, action_args)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line<br>
> >><br>
> >> 1057, in<br>
> >><br>
> >> > dispatch<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > method(req=request, **action_args)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-<br>
> >> > packages/nova/api/openstack/compute/contrib/os_networks.py", line 126,<br>
> >><br>
> >> in<br>
> >><br>
> >> > create<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack network =<br>
> >> > self.network_api.create(context, **params)[0]<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 93, in<br>
> >><br>
> >> wrapped<br>
> >><br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return func(self,<br>
> >> > context, *args, **kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 142, in<br>
> >><br>
> >> create<br>
> >><br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > self.network_rpcapi.create_networks(context, **kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 102, in<br>
> >> > create_networks<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > self.client.call(ctxt, 'create_networks', **kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > self._invoke(self.proxy.call, ctxt, method, **kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in<br>
> >><br>
> >> _invoke<br>
> >><br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack return<br>
> >> > cast_or_call(ctxt, msg, **self.kwargs)<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack File<br>
> >> > "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py",<br>
> >><br>
> >> line<br>
> >><br>
> >> > 130, in call<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack <a href="http://exc.info" target="_blank">exc.info</a>,<br>
> >> > real_topic, msg.get('method'))<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack Timeout: Timeout<br>
> >><br>
> >> while<br>
> >><br>
> >> > waiting on RPC response - topic: "network", RPC method:<br>
> >> "create_networks"<br>
> >><br>
> >> > info: "<unknown>"<br>
> >> > 2013-10-29 19:15:19.238 1272 TRACE nova.api.openstack<br>
> >> > 2013-10-29 19:15:19.249 1272 INFO nova.api.openstack [req-900a80bd-<br>
> >> > dfc1-49fc-9599-239fd5b9b7e3 a1dd41c156c64810b41d46d4062a2b17<br>
> >> > 68d6cb4e2ceb4700931b6489ad25fb6f]<br>
> >> > <a href="http://controller:8774/v2/68d6cb4e2ceb4700931b6489ad25fb6f/os-networks" target="_blank">http://controller:8774/v2/68d6cb4e2ceb4700931b6489ad25fb6f/os-networks</a><br>
> >> > returned with HTTP 500<br>
> >> > 2013-10-29 19:15:19.255 1272 INFO nova.osapi_compute.wsgi.server<br>
> >> > [req-900a80bd-dfc1-49fc-9599-239fd5b9b7e3<br>
> >><br>
> >> a1dd41c156c64810b41d46d4062a2b17<br>
> >><br>
> >> > 68d6cb4e2ceb4700931b6489ad25fb6f] 192.168.122.10 "POST<br>
> >> > /v2/68d6cb4e2ceb4700931b6489ad25fb6f/os-networks HTTP/1.1" status: 500<br>
> >><br>
> >> len:<br>
> >> > 335 time: 60.6673729<br>
> >> ><br>
> >> > Sorry, I got not idea...<br>
> >> ><br>
> >> > Thanks!<br>
> >> > Florian<br>
> >> ><br>
> >> > > % rabbitmqctl list_users<br>
> >> > ><br>
> >> > > % rabbitmqctl list_vhosts<br>
> >> > ><br>
> >> > > The user and vhost should match what is in the OpenStack<br>
> >><br>
> >> configurations.<br>
> >><br>
> >> > > On 10/28/13 1:14 PM, Florian Lindner wrote:<br>
> >> > > > Am Montag, 28. Oktober 2013, 12:04:02 schrieb Razique Mahroua:<br>
> >> > > >> hey<br>
> >> > > >> is «controller» a hostame all ur servers can resolve?<br>
> >> > > ><br>
> >> > > > Yes, set in /etc/hosts.<br>
> >> > > ><br>
> >> > > > Regards,<br>
> >> > > > Florian<br>
> >> > > ><br>
> >> > > >> - Razique<br>
> >> > > >><br>
> >> > > >> On Oct 28, 2013, at 11:40, Florian Lindner <<a href="mailto:mailinglists@xgm.de">mailinglists@xgm.de</a>><br>
> >><br>
> >> wrote:<br>
> >> > > >>> Hello,<br>
> >> > > >>><br>
> >> > > >>> I've installed OpenStack on a Ubuntu 12.04 VM according to the<br>
> >><br>
> >> install<br>
> >><br>
> >> > > >>> guide. It worked fine until I created the compute node on a<br>
> >><br>
> >> second VM<br>
> >><br>
> >> > > >>> and<br>
> >><br>
> >> > > >>> tried to set up nova networking:<br>
> >> <a href="http://docs.openstack.org/havana/install-guide/install/apt/content/nov" target="_blank">http://docs.openstack.org/havana/install-guide/install/apt/content/nov</a><br>
> >><br>
> >> > > >>> a-> >>> ne twork.html<br>
> >> > > >>><br>
> >> > > >>> # nova network-create vmnet --fixed-range-v4=<a href="http://10.0.0.0/24--bridge-" target="_blank">10.0.0.0/24--bridge-</a><br>
> >> > > >>> interface=br100 --multi-host=T<br>
> >> > > >>><br>
> >> > > >>> just does nothing until canceled. I tried on the controller and<br>
> >> > > >>> compute1<br>
> >> > > >>> node.<br>
> >> > > >>><br>
> >> > > >>> nova-api.log shows:<br>
> >> > > >>><br>
> >> > > >>> ERROR nova.openstack.common.rpc.common AMQP server on<br>
> >><br>
> >> controller:5672<br>
> >><br>
> >> > > >>> is<br>
> >> > > >>> unreachable: Socket closed. Trying again in 1 seconds.<br>
> >> > > >>> INFO nova.openstack.common.rpc.common Reconnecting to AMQP server<br>
> >><br>
> >> on<br>
> >><br>
> >> > > >>> controller:5672<br>
> >> > > >>><br>
> >> > > >>> controller:~# netstat -lpn | grep beam<br>
> >> > > >>> tcp 0 0 <a href="http://0.0.0.0:36595" target="_blank">0.0.0.0:36595</a> 0.0.0.0:*<br>
> >> > > >>> LISTEN<br>
> >> > > >>> 1045/beam<br>
> >> > > >>> tcp6 0 0 :::5672 :::*<br>
> >> > > >>> LISTEN<br>
> >> > > >>> 1045/beam<br>
> >> > > >>><br>
> >> > > >>> It listens on this port, but IPv6. IMO on linux listing on an<br>
> >> > > >>> IPv6<br>
> >> > > >>> port<br>
> >> > > >>> also means listening on the same v4 port.<br>
> >> > > >>><br>
> >> > > >>> What's wrong with the installation?<br>
> >><br>
> >> _______________________________________________<br>
> >> Mailing list:<br>
> >> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> >> Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> >> Unsubscribe :<br>
> >> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
</div></div></blockquote></div><br></div>