Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Launch instance: ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500)

Hi,

Launch my first insance. All nova-services, neutron agents run well. Gre tunnel is up.
Getting this when launch the instance:
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-59d7e6a0-2851-4190-87f6-2b63e9cacb64)


One thing i am looking on is nova secgroup-list with id 1. ?? ID 1 is a small number. How to be sure this is correct?

Anyway..

root@vitkenhost01:/etc/nova# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| f7d16d62-199a-48b3-bab3-377eecf311ca | demo-net | f8b77960-6fc0-4e07-abf2-fb402d91ca5a 192.168.1.0/24 |
| 061bcc85-191f-4566-b815-82d389391f85 | ext-net  | 7b408245-4738-4e4f-ac05-faa7caa0a132 10.55.0.0/23   |
+--------------------------------------+----------+-----------------------------------------------------+
root@vitkenhost01:/etc/nova# nova secgroup-list
+----+---------+-------------+
| Id | Name    | Description |
+----+---------+-------------+
| 1  | default | default     |
+----+---------+-------------+
root@vitkenhost01:/etc/nova# nova image-list
+--------------------------------------+---------------------+--------+--------+
| ID                                   | Name                | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| 4c18c3f4-306f-45d0-ae18-b0ae6870223e | cirros-0.3.3-x86_64 | ACTIVE |        |
+--------------------------------------+---------------------+--------+--------+
root@vitkenhost01:/etc/nova# nova hypervisor-list
+----+---------------------+
| ID | Hypervisor hostname |
+----+---------------------+
| 1  | vitkenhost01        |
+----+---------------------+





controller: var/log/nova-api.log

2015-04-02 21:56:17.362 2622 INFO oslo.messaging._drivers.impl_rabbit [req-bc57974b-294d-4de8-a1de-014ee9d0a638 ] Connecting to AMQP server on 10.55.0.28:5672
2015-04-02 21:56:17.372 2622 INFO oslo.messaging._drivers.impl_rabbit [req-bc57974b-294d-4de8-a1de-014ee9d0a638 ] Connected to AMQP server on 10.55.0.28:5672
2015-04-02 21:57:17.489 2622 ERROR nova.api.openstack [req-bc57974b-294d-4de8-a1de-014ee9d0a638 None] Caught error: Timed out waiting for a reply to message ID ecab1537051342ffb4d3da9e1cbc2853
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack Traceback (most recent call last):
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 124, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return req.get_response(self.application)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     application, catch_exc_info=False)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py", line 661, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self._app(env, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     response = self.app(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 910, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     content_type, body, accept)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 975, in _process_stack
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1059, in dispatch
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return method(req=request, **action_args)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 958, in create
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     check_server_group_quota=check_server_group_quota)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 131, in inner
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     rv = f(*args, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1457, in create
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     check_server_group_quota=check_server_group_quota)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1079, in _create_instance
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     max_count)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 770, in _validate_and_build_base_options
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     requested_networks, max_count)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 479, in _check_requested_networks
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     max_count)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 48, in wrapped
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 404, in validate_networks
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     requested_networks)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 245, in validate_networks
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self.client.call(ctxt, 'validate_networks', networks=networks)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 389, in call
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self.prepare().call(ctxt, method, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     retry=self.retry)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     timeout=timeout, retry=retry)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     retry=retry)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 397, in _send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     result = self._waiter.wait(msg_id, timeout)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 285, in wait
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     reply, ending = self._poll_connection(msg_id, timeout)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 235, in _poll_connection
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     % msg_id)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack MessagingTimeout: Timed out waiting for a reply to message ID ecab1537051342ffb4d3da9e1cbc2853
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack
2015-04-02 21:57:17.781 2622 INFO nova.api.openstack [req-bc57974b-294d-4de8-a1de-014ee9d0a638 None] http://10.55.0.28:8774/v2/752f009b107f4223919bc64faf91ebb6/servers returned with HTTP 500
2015-04-02 21:57:17.821 2622 INFO nova.osapi_compute.wsgi.server [req-bc57974b-294d-4de8-a1de-014ee9d0a638 None] 10.55.0.37 "POST /v2/752f009b107f4223919bc64faf91ebb6/servers HTTP/1.1" status: 500 len: 335 time: 61.9145682

Launch instance: ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500)

Hi,

Launch my first insance. insance.
Like this:::
nova boot --flavor m1.tiny --image cirros-0.3.3-x86_64 --nic net-id=f7d16d62-199a-48b3-bab3-377eecf311ca --security-group default --key-name demo-key demo-instance2

All nova-services, neutron agents run well. Gre tunnel is up.
Getting this when launch the instance:
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-59d7e6a0-2851-4190-87f6-2b63e9cacb64)


One thing i am looking on is nova secgroup-list with id 1. ?? ID 1 is a small number. How to be sure this is correct?

Anyway..

root@vitkenhost01:/etc/nova# neutron net-list
+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| f7d16d62-199a-48b3-bab3-377eecf311ca | demo-net | f8b77960-6fc0-4e07-abf2-fb402d91ca5a 192.168.1.0/24 |
| 061bcc85-191f-4566-b815-82d389391f85 | ext-net  | 7b408245-4738-4e4f-ac05-faa7caa0a132 10.55.0.0/23   |
+--------------------------------------+----------+-----------------------------------------------------+
root@vitkenhost01:/etc/nova# nova secgroup-list
+----+---------+-------------+
| Id | Name    | Description |
+----+---------+-------------+
| 1  | default | default     |
+----+---------+-------------+
root@vitkenhost01:/etc/nova# nova image-list
+--------------------------------------+---------------------+--------+--------+
| ID                                   | Name                | Status | Server |
+--------------------------------------+---------------------+--------+--------+
| 4c18c3f4-306f-45d0-ae18-b0ae6870223e | cirros-0.3.3-x86_64 | ACTIVE |        |
+--------------------------------------+---------------------+--------+--------+
root@vitkenhost01:/etc/nova# nova hypervisor-list
+----+---------------------+
| ID | Hypervisor hostname |
+----+---------------------+
| 1  | vitkenhost01        |
+----+---------------------+





controller: var/log/nova-api.log

2015-04-02 21:56:17.362 2622 INFO oslo.messaging._drivers.impl_rabbit [req-bc57974b-294d-4de8-a1de-014ee9d0a638 ] Connecting to AMQP server on 10.55.0.28:5672
2015-04-02 21:56:17.372 2622 INFO oslo.messaging._drivers.impl_rabbit [req-bc57974b-294d-4de8-a1de-014ee9d0a638 ] Connected to AMQP server on 10.55.0.28:5672
2015-04-02 21:57:17.489 2622 ERROR nova.api.openstack [req-bc57974b-294d-4de8-a1de-014ee9d0a638 None] Caught error: Timed out waiting for a reply to message ID ecab1537051342ffb4d3da9e1cbc2853
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack Traceback (most recent call last):
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 124, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return req.get_response(self.application)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     application, catch_exc_info=False)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token.py", line 661, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self._app(env, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     response = self.app(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return resp(environ, start_response)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 910, in __call__
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     content_type, body, accept)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 975, in _process_stack
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1059, in dispatch
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return method(req=request, **action_args)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 958, in create
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     check_server_group_quota=check_server_group_quota)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 131, in inner
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     rv = f(*args, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1457, in create
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     check_server_group_quota=check_server_group_quota)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 1079, in _create_instance
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     max_count)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 770, in _validate_and_build_base_options
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     requested_networks, max_count)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 479, in _check_requested_networks
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     max_count)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 48, in wrapped
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 404, in validate_networks
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     requested_networks)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 245, in validate_networks
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self.client.call(ctxt, 'validate_networks', networks=networks)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 389, in call
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     return self.prepare().call(ctxt, method, **kwargs)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/rpc/client.py", line 152, in call
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     retry=self.retry)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/transport.py", line 90, in _send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     timeout=timeout, retry=retry)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 408, in send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     retry=retry)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 397, in _send
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     result = self._waiter.wait(msg_id, timeout)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 285, in wait
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     reply, ending = self._poll_connection(msg_id, timeout)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/oslo/messaging/_drivers/amqpdriver.py", line 235, in _poll_connection
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack     % msg_id)
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack MessagingTimeout: Timed out waiting for a reply to message ID ecab1537051342ffb4d3da9e1cbc2853
2015-04-02 21:57:17.489 2622 TRACE nova.api.openstack
2015-04-02 21:57:17.781 2622 INFO nova.api.openstack [req-bc57974b-294d-4de8-a1de-014ee9d0a638 None] http://10.55.0.28:8774/v2/752f009b107f4223919bc64faf91ebb6/servers returned with HTTP 500
2015-04-02 21:57:17.821 2622 INFO nova.osapi_compute.wsgi.server [req-bc57974b-294d-4de8-a1de-014ee9d0a638 None] 10.55.0.37 "POST /v2/752f009b107f4223919bc64faf91ebb6/servers HTTP/1.1" status: 500 len: 335 time: 61.9145682