Openstack Kilo 3 node setup: Error in Nova launch vm: The server has either erred or is incapable? is this with accessing glance image?

asked 2016-09-21 13:14:59 -0500

reddyT gravatar image
#nova --debug boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic net-id=2b1416ed-ba5a-48a5-bc45-3e5afb793e41   --security-group default --key-name demo-key demo-instance1

DEBUG (session:195) REQ: curl -g -i -X GET http://controller:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:213) Starting new HTTP connection (1): controller
DEBUG (connectionpool:395) "GET /v3 HTTP/1.1" 200 250
DEBUG (session:224) RESP: [200] Vary: X-Auth-Token Content-Type: application/json Content-Length: 250 X-Openstack-Request-Id: req-f7b99f83-c2ae-49b8-9262-a18058a6e308 Date: Wed, 21 Sep 2016 13:40:01 GMT Connection: keep-alive
RESP BODY: {"version": {"status": "stable", "updated": "2015-03-30T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.4", "links": [{"href": "http://controller:35357/v3/", "rel": "self"}]}}

DEBUG (base:171) Making authentication request to http://controller:35357/v3/auth/tokens
DEBUG (connectionpool:395) "POST /v3/auth/tokens HTTP/1.1" 201 3250
DEBUG (session:195) REQ: curl -g -i -X GET http://controller:8774/v2/5c7a30f269d145a7ae7775fc12b8d001/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}f13ce0b953154512f90767d34f34f5fe8050d3dc"
INFO (connectionpool:213) Starting new HTTP connection (1): controller
DEBUG (connectionpool:395) "GET /v2/5c7a30f269d145a7ae7775fc12b8d001/images HTTP/1.1" 200 508
DEBUG (session:224) RESP: [200] Content-Type: application/json Content-Length: 508 X-Compute-Request-Id: req-c4edb137-8808-4ba8-81b2-046ea6ca737a Date: Wed, 21 Sep 2016 13:40:01 GMT Connection: keep-alive
RESP BODY: {"images": [{"id": "6ae96fe9-c7e2-4a65-a430-cf536de4b7b2", "links": [{"href": "http://controller:8774/v2/5c7a30f269d145a7ae7775fc12b8d001/images/6ae96fe9-c7e2-4a65-a430-cf536de4b7b2", "rel": "self"}, {"href": "http://controller:8774/5c7a30f269d145a7ae7775fc12b8d001/images/6ae96fe9-c7e2-4a65-a430-cf536de4b7b2", "rel": "bookmark"}, {"href": "http://controller:9292/images/6ae96fe9-c7e2-4a65-a430-cf536de4b7b2", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "cirros-0.3.4-x86_64"}]}

DEBUG (session:195) REQ: curl -g -i -X GET http://controller:8774/v2/5c7a30f269d145a7ae7775fc12b8d001/images/6ae96fe9-c7e2-4a65-a430-cf536de4b7b2 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}f13ce0b953154512f90767d34f34f5fe8050d3dc"
DEBUG (connectionpool:395) "GET /v2/5c7a30f269d145a7ae7775fc12b8d001/images/6ae96fe9-c7e2-4a65-a430-cf536de4b7b2 HTTP/1.1" 500 128
DEBUG (session:224) RESP:
DEBUG (shell:914) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-efb7c299-79de-4fad-8c01-e7ed23d1a4cb)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 911, in main
    OpenStackComputeShell().main(argv)
  File "/usr/lib/python2.7/site-packages/novaclient/shell.py", line 838, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 495, in do_boot
    boot_args, boot_kwargs = _boot(cs, args)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 142, in _boot
    image = _find_image(cs, args.image)
  File "/usr/lib/python2.7/site-packages/novaclient/v2/shell.py", line 1894, in _find_image
    return utils.find_resource(cs.images, image)
  File "/usr/lib/python2.7/site-packages/novaclient/utils.py", line 216, in find_resource
    return manager.find(**kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 196, in find
    matches = self.findall(**kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 258, in findall
    found.append(self.get(obj.id))
  File "/usr/lib/python2.7/site-packages/novaclient/v2/images.py", line 53, in get
    return self._get("/images/%s" % base.getid(image), "image")
  File "/usr/lib/python2.7/site-packages/novaclient/base.py", line 156, in _get
    _resp ...
(more)
edit retag flag offensive close merge delete

Comments

Please share details of nova.conf of controller as well as the compute box. -Thanks

sunnyarora gravatar imagesunnyarora ( 2016-09-22 08:32:33 -0500 )edit

Here are the nova conf files Compute_Nova_conf - http://textuploader.com/dszwm Controller_Nova_conf - http://textuploader.com/dsz3q @sunny arora: Any hint would be a great help

reddyT gravatar imagereddyT ( 2016-09-24 02:55:44 -0500 )edit