← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1256081] Re: Cannot launch instances from horizon

 

It seems this bug is a question. I mark this invalid as a bug.

** Changed in: horizon
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1256081

Title:
  Cannot launch instances from horizon

Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  Hi,

  I cannot launch an image from horizon:

  Error: The server has either erred or is incapable of performing the
  requested operation. (HTTP 500) (Request-ID: req-
  27902a03-9690-493b-8213-dae447df1b29)

  It says that it was unable to launch the instance.

  But it works well when I launch from the CLI, and then horizon can
  manage it.

  Logs are:

  2013-11-28 19:15:47.811 1903 ERROR nova.api.openstack [req-27902a03-9690-493b-8213-dae447df1b29 03cc38dac979425abb2b76763b922036 c010bd7c02174062bb1df9c9cc9e6c15] Caught error: Timeout while waiting on RPC response - topic: "network", RPC method: "validate_networks" info: "<unknown>"
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack Traceback (most recent call last):
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 119, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return req.get_response(self.application)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     application, catch_exc_info=False)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 539, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return self.app(env, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     response = self.app(environ, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return resp(environ, start_response)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 917, in __call__
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     content_type, body, accept)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 976, in _process_stack
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1057, in dispatch
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return method(req=request, **action_args)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 920, in create
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     legacy_bdm=legacy_bdm)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 105, in inner
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     rv = f(*args, **kwargs)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1220, in create
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     legacy_bdm=legacy_bdm)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 861, in _create_instance
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     block_device_mapping, auto_disk_config, reservation_id)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 675, in _validate_and_build_base_options
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     self._check_requested_networks(context, requested_networks)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 439, in _check_requested_networks
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     self.network_api.validate_networks(context, requested_networks)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 93, in wrapped
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 421, in validate_networks
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     requested_networks)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 228, in validate_networks
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return self.client.call(ctxt, 'validate_networks', networks=networks)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 85, in call
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return self._invoke(self.proxy.call, ctxt, method, **kwargs)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/rpcclient.py", line 63, in _invoke
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     return cast_or_call(ctxt, msg, **self.kwargs)
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 130, in call
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack     exc.info, real_topic, msg.get('method'))
  2013-11-28 19:15:47.811 1903 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response - topic: "network", RPC method: "validate_networks" info: "<unknown>"

  
  It's like it cannot communicate with neutron. Or the nova-compute, I don't really know. 

  I have everything configured in controller node, but compute node has
  the neutron installation since it manages the network. I should surely
  install only the agents but didn't really know if it will work since
  the only hardware machine is on the cloud now is this compute node.

  
  This is the list of end point. As you can see fb019884661c417195ab753bf99fc854 is the neutron node and it's on the physical machine. 
  +----------------------------------+-----------+-------------------------------------------------------------+-------------------------------------------------------------+-------------------------------------------------------------+----------------------------------+
  |                id                |   region  |                          publicurl                          |                         internalurl                         |                           adminurl                          |            service_id            |
  +----------------------------------+-----------+-------------------------------------------------------------+-------------------------------------------------------------+-------------------------------------------------------------+----------------------------------+
  | a023b6da0177479ea9c77d0b32811edf | regionOne | http://controller.cloud.level2crm.com:8774/v2/%(tenant_id)s | http://controller.cloud.level2crm.com:8774/v2/%(tenant_id)s | http://controller.cloud.level2crm.com:8774/v2/%(tenant_id)s | 3f74ba83ad9c42798412f2d6f6657d0f |
  | cfb17b14512b4fcaa6c879c3d0ab3d4c | regionOne |       http://controller.cloud.level2crm.com:5000/v2.0       |       http://controller.cloud.level2crm.com:5000/v2.0       |       http://controller.cloud.level2crm.com:35357/v2.0      | b71f67ad472740f7b868d1755ef14d59 |
  | d39ec9e835384046b2a326ea3446973f | regionOne |          http://controller.cloud.level2crm.com:9292         |          http://controller.cloud.level2crm.com:9292         |          http://controller.cloud.level2crm.com:9292         | 7342abb7563c4711a3c10b3a466a1eec |
  | fb019884661c417195ab753bf99fc854 | regionOne |                   http://172.16.0.100:9696                  |                   http://172.16.0.100:9696                  |                   http://172.16.0.100:9696                  | 33364ae6e354455aa5471784827519d1 |
  +----------------------------------+-----------+-------------------------------------------------------------+-------------------------------------------------------------+-------------------------------------------------------------+----------------------------------+

  
  I have to say that horizon can connecto to this because it's able to manage net. 

  So why it fails to create an instance?

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1256081/+subscriptions