Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.api.openstack Traceback (most recent call last):
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return req.get_response(self.application)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     application, catch_exc_info=False)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.app(env, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     response = self.app(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 890, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     content_type, body, accept)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 942, in _process_stack
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1022, in dispatch
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return method(req=request, **action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 898, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 85, in inner
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = f(*args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 961, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 675, in _create_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     reservation_id, scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 633, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     QUOTAS.rollback(context, quota_reservations)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 521, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._check_requested_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 357, in _check_requested_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.network_api.validate_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 89, in wrapped
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 384, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 211, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     networks=networks))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return rpc.call(context, self._get_topic(topic), msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return _get_impl().call(CONF, context, topic, msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rpc_amqp.get_connection_pool(conf, Connection))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = list(rv)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 554, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.done()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 551, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._iterator.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 648, in iterconsume
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     yield self.ensure(_error_callback, _consume)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 566, in ensure
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     error_callback(e)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 629, in _error_callback
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     raise rpc_common.Timeout()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack
2013-08-28 09:45:09.632 INFO nova.api.openstack [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] http://192.168.2.238:8774/v2/64b615293176489894638f1a127b0591/servers returned with HTTP 500
2013-08-28 09:45:09.633 DEBUG nova.api.openstack.wsgi [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1165
2013-08-28 09:45:09.634 INFO nova.osapi_compute.wsgi.server [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] 192.168.2.238 "POST /v2/64b615293176489894638f1a127b0591/servers HTTP/1.1" status: 500 len: 335 time: 60.1454329

The nova.conf looks like:

[DEFAULT]

# LOGS/STATE
verbose=True
debug=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# VOLUMES
# configured in cinder.conf

# DATABASE
sql_connection=mysql://nova:openstack@localhost/nova

# COMPUTE
#libvirt_type=qemu
#compute_driver=libvirt.LibvirtDriver
#instance_name_template=instance-%08x
#api_paste_config=/etc/nova/api-paste.ini

# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=192.168.2.238
s3_host=192.168.2.238

# RABBITMQ
rabbit_host=192.168.2.238

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.2.238:9292

# NOVNC CONSOLE
novncproxy_base_url=http://192.168.2.238:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=192.168.2.238
vncserver_listen=192.168.2.238

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = openstack
signing_dirname = /tmp/keystone-signing-nova


# Quantum
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://192.168.2.238:9696
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=openstack
quantum_admin_auth_url=http://192.168.2.238:35357/v2.0

# needed only for nova-compute
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
#libvirt_use_virtio_for_bridges=True

What should I try out?

Am I supposed to have nova net-list render anything, because it does not do so?

If I start an instance with:

nova --debug boot --flavor 1 --image $C_ID my_instance_2 --key-name admin

The instance is created and assosiated with both networks.

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.api.openstack Traceback (most recent call last):
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return req.get_response(self.application)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     application, catch_exc_info=False)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.app(env, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     response = self.app(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 890, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     content_type, body, accept)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 942, in _process_stack
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1022, in dispatch
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return method(req=request, **action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 898, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 85, in inner
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = f(*args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 961, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 675, in _create_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     reservation_id, scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 633, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     QUOTAS.rollback(context, quota_reservations)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 521, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._check_requested_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 357, in _check_requested_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.network_api.validate_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 89, in wrapped
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 384, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 211, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     networks=networks))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return rpc.call(context, self._get_topic(topic), msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return _get_impl().call(CONF, context, topic, msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rpc_amqp.get_connection_pool(conf, Connection))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = list(rv)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 554, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.done()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 551, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._iterator.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 648, in iterconsume
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     yield self.ensure(_error_callback, _consume)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 566, in ensure
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     error_callback(e)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 629, in _error_callback
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     raise rpc_common.Timeout()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack
2013-08-28 09:45:09.632 INFO nova.api.openstack [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] http://192.168.2.238:8774/v2/64b615293176489894638f1a127b0591/servers returned with HTTP 500
2013-08-28 09:45:09.633 DEBUG nova.api.openstack.wsgi [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1165
2013-08-28 09:45:09.634 INFO nova.osapi_compute.wsgi.server [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] 192.168.2.238 "POST /v2/64b615293176489894638f1a127b0591/servers HTTP/1.1" status: 500 len: 335 time: 60.1454329

The nova.conf looks like:

[DEFAULT]

# LOGS/STATE
verbose=True
debug=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# VOLUMES
# configured in cinder.conf

# DATABASE
sql_connection=mysql://nova:openstack@localhost/nova

# COMPUTE
#libvirt_type=qemu
#compute_driver=libvirt.LibvirtDriver
#instance_name_template=instance-%08x
#api_paste_config=/etc/nova/api-paste.ini

# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=192.168.2.238
s3_host=192.168.2.238

# RABBITMQ
rabbit_host=192.168.2.238

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.2.238:9292

# NOVNC CONSOLE
novncproxy_base_url=http://192.168.2.238:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=192.168.2.238
vncserver_listen=192.168.2.238

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = openstack
signing_dirname = /tmp/keystone-signing-nova


# Quantum
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://192.168.2.238:9696
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=openstack
quantum_admin_auth_url=http://192.168.2.238:35357/v2.0

# needed only for nova-compute
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
#libvirt_use_virtio_for_bridges=True

What should I try out?

Am I supposed to have nova net-list render anything, because it does not do so?

If I start an instance with:

nova --debug boot --flavor 1 --image $C_ID my_instance_2 --key-name admin

The instance is created and assosiated with both networks.

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.api.openstack Traceback (most recent call last):
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return req.get_response(self.application)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     application, catch_exc_info=False)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.app(env, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     response = self.app(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 890, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     content_type, body, accept)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 942, in _process_stack
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1022, in dispatch
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return method(req=request, **action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 898, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 85, in inner
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = f(*args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 961, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 675, in _create_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     reservation_id, scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 633, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     QUOTAS.rollback(context, quota_reservations)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 521, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._check_requested_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 357, in _check_requested_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.network_api.validate_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 89, in wrapped
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 384, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 211, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     networks=networks))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return rpc.call(context, self._get_topic(topic), msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return _get_impl().call(CONF, context, topic, msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rpc_amqp.get_connection_pool(conf, Connection))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = list(rv)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 554, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.done()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 551, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._iterator.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 648, in iterconsume
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     yield self.ensure(_error_callback, _consume)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 566, in ensure
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     error_callback(e)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 629, in _error_callback
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     raise rpc_common.Timeout()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack
2013-08-28 09:45:09.632 INFO nova.api.openstack [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] http://192.168.2.238:8774/v2/64b615293176489894638f1a127b0591/servers returned with HTTP 500
2013-08-28 09:45:09.633 DEBUG nova.api.openstack.wsgi [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1165
2013-08-28 09:45:09.634 INFO nova.osapi_compute.wsgi.server [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] 192.168.2.238 "POST /v2/64b615293176489894638f1a127b0591/servers HTTP/1.1" status: 500 len: 335 time: 60.1454329

The nova.conf looks like:

[DEFAULT]

# LOGS/STATE
verbose=True
debug=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# VOLUMES
# configured in cinder.conf

# DATABASE
sql_connection=mysql://nova:openstack@localhost/nova

# COMPUTE
#libvirt_type=qemu
#compute_driver=libvirt.LibvirtDriver
#instance_name_template=instance-%08x
#api_paste_config=/etc/nova/api-paste.ini

# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=192.168.2.238
s3_host=192.168.2.238

# RABBITMQ
rabbit_host=192.168.2.238

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.2.238:9292

# NOVNC CONSOLE
novncproxy_base_url=http://192.168.2.238:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=192.168.2.238
vncserver_listen=192.168.2.238

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = openstack
signing_dirname = /tmp/keystone-signing-nova


# Quantum
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://192.168.2.238:9696
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=openstack
quantum_admin_auth_url=http://192.168.2.238:35357/v2.0

# needed only for nova-compute
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
#libvirt_use_virtio_for_bridges=True

What should I try out?

Am I supposed to have nova net-list render anything, because it does not do so?

If I start an instance with:

nova --debug boot --flavor 1 --image $C_ID my_instance_2 --key-name admin

The instance is created and assosiated with both networks.

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.api.openstack Traceback (most recent call last):
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 81, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return req.get_response(self.application)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     application, catch_exc_info=False)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 450, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.app(env, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     response = self.app(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return resp(environ, start_response)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     resp = self.call_func(req, *args, **self.kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return self.func(req, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 890, in __call__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     content_type, body, accept)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 942, in _process_stack
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1022, in dispatch
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return method(req=request, **action_args)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 898, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/hooks.py", line 85, in inner
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = f(*args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 961, in create
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     scheduler_hints=scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 675, in _create_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     reservation_id, scheduler_hints)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 633, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     QUOTAS.rollback(context, quota_reservations)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 521, in _validate_and_provision_instance
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._check_requested_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 357, in _check_requested_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.network_api.validate_networks(context, requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 89, in wrapped
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return func(self, context, *args, **kwargs)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/api.py", line 384, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     requested_networks)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/network/rpcapi.py", line 211, in validate_networks
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     networks=networks))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return rpc.call(context, self._get_topic(topic), msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     return _get_impl().call(CONF, context, topic, msg, timeout)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rpc_amqp.get_connection_pool(conf, Connection))
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     rv = list(rv)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 554, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.done()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self.gen.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 551, in __iter__
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     self._iterator.next()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 648, in iterconsume
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     yield self.ensure(_error_callback, _consume)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 566, in ensure
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     error_callback(e)
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 629, in _error_callback
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack     raise rpc_common.Timeout()
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack Timeout: Timeout while waiting on RPC response.
2013-08-28 09:45:09.625 23049 TRACE nova.api.openstack
2013-08-28 09:45:09.632 INFO nova.api.openstack [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] http://192.168.2.238:8774/v2/64b615293176489894638f1a127b0591/servers returned with HTTP 500
2013-08-28 09:45:09.633 DEBUG nova.api.openstack.wsgi [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] Returning 500 to user: The server has either erred or is incapable of performing the requested operation. __call__ /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:1165
2013-08-28 09:45:09.634 INFO nova.osapi_compute.wsgi.server [req-7e45072b-9809-4e06-bd69-dc14b9c3ca4a e2c3cc03792145ea8da6ef0955a9ecd2 64b615293176489894638f1a127b0591] 192.168.2.238 "POST /v2/64b615293176489894638f1a127b0591/servers HTTP/1.1" status: 500 len: 335 time: 60.1454329

The nova.conf looks like:

[DEFAULT]

# LOGS/STATE
verbose=True
debug=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
rootwrap_config=/etc/nova/rootwrap.conf

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

# VOLUMES
# configured in cinder.conf

# DATABASE
sql_connection=mysql://nova:openstack@localhost/nova

# COMPUTE
#libvirt_type=qemu
#compute_driver=libvirt.LibvirtDriver
#instance_name_template=instance-%08x
#api_paste_config=/etc/nova/api-paste.ini

# COMPUTE/APIS: if you have separate configs for separate services
# this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True

# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=192.168.2.238
s3_host=192.168.2.238

# RABBITMQ
rabbit_host=192.168.2.238

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.2.238:9292

# NOVNC CONSOLE
novncproxy_base_url=http://192.168.2.238:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=192.168.2.238
vncserver_listen=192.168.2.238

# AUTHENTICATION
auth_strategy=keystone
[keystone_authtoken]
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
admin_tenant_name = service
admin_user = nova
admin_password = openstack
signing_dirname = /tmp/keystone-signing-nova


# Quantum
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://192.168.2.238:9696
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=openstack
quantum_admin_auth_url=http://192.168.2.238:35357/v2.0

# needed only for nova-compute
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
#libvirt_use_virtio_for_bridges=True

What should I try out?

Am I supposed to have nova net-list render anything, because it does not do so?

If I start an instance with:

nova --debug boot --flavor 1 --image $C_ID my_instance_2 --key-name admin

The instance is created and assosiated with both networks.