← Back to team overview

openstack team mailing list archive

I couldn't launch an instance

 

 After executing the command "nova floating-ip-list" , I am getting
  this error

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

  When I click on launch under images , I am getting the below error from
 nova-api.log
  ---------------------------------------------
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-978d1202-1374-4626-829a-05a4b838c240 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/flavors/detail
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-978d1202-1374-4626-829a-05a4b838c240 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-978d1202-1374-4626-829a-05a4b838c240 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde]
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/flavors/detail
returned
with HTTP 200
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-c92d9e25-a2cd-423d-a953-bda1363491cf 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/os-keypairs
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-c92d9e25-a2cd-423d-a953-bda1363491cf 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-c92d9e25-a2cd-423d-a953-bda1363491cf 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde]
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/os-keypairs
returned
with HTTP 200
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-20bf29b4-884f-45bb-a2d5-d4809ad379de 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/os-security-groups
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-20bf29b4-884f-45bb-a2d5-d4809ad379de 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-20bf29b4-884f-45bb-a2d5-d4809ad379de 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde]
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/os-security-groups
returned
with HTTP 200
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-e2535780-9ec7-4927-b743-b96f546f03f2 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8776/v1/47da2b50114149a89f676739ce7fbdde/volumes/detail
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-e2535780-9ec7-4927-b743-b96f546f03f2 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 AUDIT nova.api.openstack.volume.volumes
[req-e2535780-9ec7-4927-b743-b96f546f03f2 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] vol=<nova.db.sqlalchemy.models.Volume
object at 0x4937050>
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-e2535780-9ec7-4927-b743-b96f546f03f2 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde]
http://localhost:8776/v1/47da2b50114149a89f676739ce7fbdde/volumes/detail
returned
with HTTP 200
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-705cff65-35d9-4cac-906d-05c3879cfca9 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8776/v1/47da2b50114149a89f676739ce7fbdde/snapshots/detail
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-705cff65-35d9-4cac-906d-05c3879cfca9 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-705cff65-35d9-4cac-906d-05c3879cfca9 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde]
http://localhost:8776/v1/47da2b50114149a89f676739ce7fbdde/snapshots/detail
returned
with HTTP 200
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-8f81cc35-e7a1-4b88-982f-1c66bc96f43c 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/servers/detail?project_id=47da2b50114149a89f676739ce7fbdde
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-8f81cc35-e7a1-4b88-982f-1c66bc96f43c 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 DEBUG nova.compute.api
[req-8f81cc35-e7a1-4b88-982f-1c66bc96f43c
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde]
Searching by: {'deleted': False, u'project_id': u'
47da2b50114149a89f676739ce7fbdde'} from (pid=1173) get_all
/usr/lib/python2.7/dist-packages/nova/compute/api.py:1082
  2013-07-12 17:20:19 DEBUG nova.compute.api
[req-8f81cc35-e7a1-4b88-982f-1c66bc96f43c
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde]
Searching by: {'uuid': []} from (pid=1173) get_all /usr/lib/python2.7/dist-
packages/nova/compute/api.py:1082
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-8f81cc35-e7a1-4b88-982f-1c66bc96f43c 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde]
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/servers/detail?project_id=47da2b50114149a89f676739ce7fbdde
returned
with HTTP 200
  2013-07-12 17:20:19 INFO nova.api.openstack.wsgi
[req-745191f4-7131-442b-a0b1-e5b20f961f5e 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] GET
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/os-floating-ips
  2013-07-12 17:20:19 DEBUG nova.api.openstack.wsgi
[req-745191f4-7131-442b-a0b1-e5b20f961f5e 2c116a4249dd47258d32212166d244a6
47da2b50114149a89f676739ce7fbdde] Unrecognized Content-Type provided in
request from (pid=1173) get_body /usr/lib/python2.7/dist-
packages/nova/api/openstack/wsgi.py:697
  2013-07-12 17:20:19 DEBUG nova.rpc.amqp
[req-745191f4-7131-442b-a0b1-e5b20f961f5e
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde] Making
asynchronous call on network ... from (pid=1173) multicall
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:326
  2013-07-12 17:20:19 DEBUG nova.rpc.amqp
[req-745191f4-7131-442b-a0b1-e5b20f961f5e
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde] MSG_ID
is e05ce45a978648aa983aa1d220696fc6 from (pid=1173) multicall
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py:329

  2013-07-12 17:21:19 ERROR nova.rpc.common
[req-745191f4-7131-442b-a0b1-e5b20f961f5e
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde] Timed
out waiting for RPC response: timed out
  2013-07-12 17:21:19 TRACE nova.rpc.common Traceback (most recent call
last):
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/nova/rpc/impl_kombu.py", line 490, in ensure
  2013-07-12 17:21:19 TRACE nova.rpc.common     return method(*args,
**kwargs)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/nova/rpc/impl_kombu.py", line 567, in _consume
  2013-07-12 17:21:19 TRACE nova.rpc.common     return
self.connection.drain_events(timeout=timeout)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File
"/usr/lib/python2.7/dist-packages/kombu/connection.py",
line 175, in drain_events
  2013-07-12 17:21:19 TRACE nova.rpc.common     return
self.transport.drain_events(self.connection, **kwargs)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/kombu/transport/pyamqplib.py", line 238, in drain_events
  2013-07-12 17:21:19 TRACE nova.rpc.common     return
connection.drain_events(**kwargs)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/kombu/transport/pyamqplib.py", line 57, in drain_events
  2013-07-12 17:21:19 TRACE nova.rpc.common     return
self.wait_multi(self.channels.values(), timeout=timeout)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/kombu/transport/pyamqplib.py", line 63, in wait_multi
  2013-07-12 17:21:19 TRACE nova.rpc.common     chanmap.keys(),
allowed_methods, timeout=timeout)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/kombu/transport/pyamqplib.py", line 120, in _wait_multiple
  2013-07-12 17:21:19 TRACE nova.rpc.common     channel, method_sig, args,
content = read_timeout(timeout)
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/kombu/transport/pyamqplib.py", line 94, in read_timeout
  2013-07-12 17:21:19 TRACE nova.rpc.common     return
self.method_reader.read_method()
  2013-07-12 17:21:19 TRACE nova.rpc.common   File "/usr/lib/python2.7/dist-
packages/amqplib/client_0_8/method_framing.py", line 221, in read_method
  2013-07-12 17:21:19 TRACE nova.rpc.common     raise m
  2013-07-12 17:21:19 TRACE nova.rpc.common timeout: timed out
  2013-07-12 17:21:19 TRACE nova.rpc.common
  2013-07-12 17:21:19 ERROR nova.api.openstack
[req-745191f4-7131-442b-a0b1-e5b20f961f5e
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde] Caught
error: Timeout while waiting on RPC response.
  2013-07-12 17:21:19 TRACE nova.api.openstack Traceback (most recent call
last):
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 82,
in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     return
req.get_response(self.application)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1086, in
get_response
  2013-07-12 17:21:19 TRACE nova.api.openstack     application,
catch_exc_info=False)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/request.py", line 1055, in
call_application
  2013-07-12 17:21:19 TRACE nova.api.openstack     app_iter =
application(self.environ, start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/keystone/middleware/auth_token.py", line
176, in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     return self.app(env,
start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     return resp(environ,
start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     return resp(environ,
start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     return resp(environ,
start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in
__call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     response =
self.app(environ, start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 159, in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     return resp(environ,
start_response)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 147, in __call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     resp =
self.call_func(req, *args, **self.kwargs)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/webob/dec.py", line 210, in call_func
  2013-07-12 17:21:19 TRACE nova.api.openstack     return self.func(req,
*args, **kwargs)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 803, in
__call__
  2013-07-12 17:21:19 TRACE nova.api.openstack     content_type, body,
accept)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 851, in
_process_stack
  2013-07-12 17:21:19 TRACE nova.api.openstack     action_result =
self.dispatch(meth, request, action_args)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 926, in
dispatch
  2013-07-12 17:21:19 TRACE nova.api.openstack     return
method(req=request, **action_args)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/api/openstack/
compute/contrib/floating_ips.py", line 137, in index
  2013-07-12 17:21:19 TRACE nova.api.openstack     floating_ips =
self.network_api.get_floating_ips_by_project(context)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/network/api.py", line 92, in
get_floating_ips_by_project
  2013-07-12 17:21:19 TRACE nova.api.openstack     {'method':
'get_floating_ips_by_project'})
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/__init__.py", line 68, in call
  2013-07-12 17:21:19 TRACE nova.api.openstack     return
_get_impl().call(context, topic, msg, timeout)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 674, in call
  2013-07-12 17:21:19 TRACE nova.api.openstack     return
rpc_amqp.call(context, topic, msg, timeout, Connection.pool)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 343, in call
  2013-07-12 17:21:19 TRACE nova.api.openstack     rv = list(rv)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 304, in __iter__
  2013-07-12 17:21:19 TRACE nova.api.openstack     self.done()
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/contextlib.py",
line 24, in __exit__
  2013-07-12 17:21:19 TRACE nova.api.openstack     self.gen.next()
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 301, in __iter__
  2013-07-12 17:21:19 TRACE nova.api.openstack     self._iterator.next()
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 572, in
iterconsume
  2013-07-12 17:21:19 TRACE nova.api.openstack     yield
self.ensure(_error_callback, _consume)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 503, in
ensure
  2013-07-12 17:21:19 TRACE nova.api.openstack     error_callback(e)
  2013-07-12 17:21:19 TRACE nova.api.openstack   File
"/usr/lib/python2.7/dist-packages/nova/rpc/impl_kombu.py", line 553, in
_error_callback
  2013-07-12 17:21:19 TRACE nova.api.openstack     raise
rpc_common.Timeout()
  2013-07-12 17:21:19 TRACE nova.api.openstack Timeout: Timeout while
waiting on RPC response.
  2013-07-12 17:21:19 TRACE nova.api.openstack
  2013-07-12 17:21:19 INFO nova.api.openstack
[req-745191f4-7131-442b-a0b1-e5b20f961f5e
2c116a4249dd47258d32212166d244a6 47da2b50114149a89f676739ce7fbdde]
http://localhost:8774/v1.1/47da2b50114149a89f676739ce7fbdde/os-floating-ips
returned
with HTTP 500
  ---------------------------------------------

  Please help me.