Ask Your Question

renesmadsen's profile - activity

2013-09-09 06:56:07 -0600 received badge  Famous Question (source)
2013-09-04 05:31:47 -0600 received badge  Notable Question (source)
2013-08-28 14:50:15 -0600 received badge  Popular Question (source)
2013-08-28 02:54:52 -0600 asked a question The server has either erred or is incapable of performing the requested operation.

When having the following setup:

quantum net-list

+--------------------------------------+----------+-----------------------------------------------------+
| id                                   | name     | subnets                                             |
+--------------------------------------+----------+-----------------------------------------------------+
| 1be79a54-0198-4b14-9f08-7a5f4934227b | ext-net  | 7dbbfe06-8e92-4273-a4e9-ab12e8933d5a 192.168.3.0/22 |
| 2d3df332-8074-4ca1-a844-ae02a038afad | demo-net | a0bf3105-2af2-4e25-bf62-5ca2a160bebd 10.5.5.0/24    |
+--------------------------------------+----------+-----------------------------------------------------+

nova image-list

+--------------------------------------+--------------+--------+--------+    
| ID                                   | Name         | Status | Server |
+--------------------------------------+--------------+--------+--------+
| 03a7ec0a-8b6a-4ceb-9cd0-f1dd43af691b | CirrOS 0.3.1 | ACTIVE |        |
| 0e8e9f10-04d4-4203-9f24-223521981754 | CirrOS 0.3.1 | ACTIVE |        |
+--------------------------------------+--------------+--------+--------+

running the following commands

Q_ID=$(quantum net-list | grep demo-net | cut -d " " -f 2) // using the demo-net

C_ID=$(nova image-list | grep 03a | cut -d " " -f 2) // using the first image

nova --debug boot --flavor 1 --image $C_ID my_instance_2 --key-name admin --nic net-id=$Q_ID

gives the following error:

INFO (connectionpool:191) Starting new HTTP connection (1): 192.168.2.238
DEBUG (connectionpool:283) "POST /v2/64b615293176489894638f1a127b0591/servers HTTP/1.1" 500 128
RESP: [500] {'date': 'Wed, 28 Aug 2013 07:45:09 GMT', 'content-length': '128', 'content-type': 'application/json; charset=UTF-8', 'x-compute-request-id': 'req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a'}
RESP BODY: {"computeFault": {"message": "The server has either erred or is incapable of performing the requested operation.", "code": 500}}

DEBUG (shell:768) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a)
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 765, in main
    OpenStackComputeShell().main(map(strutils.safe_decode, sys.argv[1:]))
  File "/usr/lib/python2.7/dist-packages/novaclient/shell.py", line 701, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/shell.py", line 282, in do_boot
    server = cs.servers.create(*boot_args, **boot_kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/servers.py", line 600, in create
    **boot_kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/v1_1/base.py", line 163, in _boot
    return_raw=return_raw, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/base.py", line 145, in _create
    _resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 233, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 217, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 199, in _time_request
    resp, body = self.request(url, method, **kwargs)
  File "/usr/lib/python2.7/dist-packages/novaclient/client.py", line 193, in request
    raise exceptions.from_response(resp, body, url, method)
ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a)
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a)

The same call returns the following error in nova-api.log

2013-08-28 09:45:09.583 DEBUG nova.openstack.common.rpc.common [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Timed out waiting for RPC response: timed out _error_callback /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py:628
2013-08-28 09:45:09.624 DEBUG nova.quota [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Rolled back reservations ['e7bb788c-254c-4724-a087-0150e957d9db', '1d1c0029-52fd-4c0b-91e8-0440d2cd803d', '56d4b664-88c5-486a-94e7-8f1ef07247a0'] rollback /usr/lib/python2.7/dist-packages/nova/quota.py:1012
2013-08-28 09:45:09.625 ERROR nova.api.openstack [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Caught error: Timeout while waiting on RPC response.
2013-08-28 09:45:09.625 23049 TRACE nova ...
(more)