Ask Your Question
2

Instance launch failed The server has either erred or is incapable of performing the requested operation. (HTTP 500)

asked 2016-06-28 05:50:34 -0600

jckreddy gravatar image

updated 2016-06-28 05:59:44 -0600

 When trying to launch VM with kilo version on centos 7.2

Below mentioned error displayed after debugging found some errors after getting image details .
Tried several times same generic error displayed can any body encountered this error before.
please suggest me any solution


[root@pcie7410-s1-c2 ~]# nova --debug boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic netid=b45c77a3-fc21-44eb-84bd-2f87f8a94ea5 --security-group default --key-name demo-key demo-instance1 
DEBUG (session:195) REQ: curl -g -i -X GET http://pcie7410-s1-c2:5000/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:213) Starting new HTTP connection (1): pcie7410-s1-c2
DEBUG (connectionpool:395) "GET /v3 HTTP/1.1" 200 253
DEBUG (session:224) RESP: [200] Date: Tue, 28 Jun 2016 06:55:15 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-916f73e8-fc0d-4a08-a23e-b438bf9053ab Content-Length: 253 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json 
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://pcie7410-s1-c2:5000/v3/", "rel": "self"}]}}

DEBUG (base:171) Making authentication request to http://pcie7410-s1-c2:5000/v3/auth/tokens
DEBUG (connectionpool:395) "POST /v3/auth/tokens HTTP/1.1" 201 4177
DEBUG (session:195) REQ: curl -g -i -X GET http://pcie7410-s1-c2:8774/v2/267c805b00a14b3a838e12d3658a7625/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a54a1c9c3271a8213cbcdf02b486131e28a50f93"
INFO (connectionpool:213) Starting new HTTP connection (1): pcie7410-s1-c2
DEBUG (connectionpool:395) "GET /v2/267c805b00a14b3a838e12d3658a7625/images HTTP/1.1" 200 520
DEBUG (session:224) RESP: [200] Content-Type: application/json Content-Length: 520 X-Compute-Request-Id: req-d5ae9dc9-7878-45b9-976a-2dea4092a22d Date: Tue, 28 Jun 2016 06:55:15 GMT Connection: keep-alive 
RESP BODY: {"images": [{"id": "a186d61a-7cd3-475b-b052-df52a7a538fa", "links": [{"href": "http://pcie7410-s1-c2:8774/v2/267c805b00a14b3a838e12d3658a7625/images/a186d61a-7cd3-475b-b052-df52a7a538fa", "rel": "self"}, {"href": "http://pcie7410-s1-c2:8774/267c805b00a14b3a838e12d3658a7625/images/a186d61a-7cd3-475b-b052-df52a7a538fa", "rel": "bookmark"}, {"href": "http://pcie7410-s1-c2:9292/images/a186d61a-7cd3-475b-b052-df52a7a538fa", "type": "application/vnd.openstack.image", "rel": "alternate"}], "name": "cirros-0.3.4-x86_64"}]}

DEBUG (session:195) REQ: curl -g -i -X GET http://pcie7410-s1-c2:8774/v2/267c805b00a14b3a838e12d3658a7625/images/a186d61a-7cd3-475b-b052-df52a7a538fa -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}a54a1c9c3271a8213cbcdf02b486131e28a50f93"
DEBUG (connectionpool:395) "GET /v2/267c805b00a14b3a838e12d3658a7625/images/a186d61a-7cd3-475b-b052-df52a7a538fa 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-1c8812cc-31a4-4a46-84eb-2bad7283ad75)
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 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2016-06-29 09:00:14 -0600

jckreddy gravatar image
 Thanks guys i found the root cause and i am able to find the solution and it got solved 
  (actually it took 2 days for me to debug)
  I hope this info help someone who is facing similar problem 


please find detailed steps/debug info.


[root@controller-node ~]# 
[root@controller-node ~]# nova --debug boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic netid=3e1f50b7-4f07-4479-b4fd-2db23854f3bc --security-group default --key-name demo-key demo-instance1 
DEBUG (session:195) REQ: curl -g -i -X GET http://controller-node:5000/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
INFO (connectionpool:213) Starting new HTTP connection (1): controller-node
DEBUG (connectionpool:395) "GET /v3 HTTP/1.1" 200 253
DEBUG (session:224) RESP: [200] Date: Wed, 05 Jan 2000 06:46:34 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-3b76f610-d971-46e4-b90c-dc971d57ee90 Content-Length: 253 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json 
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-node:5000/v3/", "rel": "self"}]}}

DEBUG (base:171) Making authentication request to http://controller-node:5000/v3/auth/tokens
DEBUG (connectionpool:395) "POST /v3/auth/tokens HTTP/1.1" 201 4177
DEBUG (session:195) REQ: curl -g -i -X GET http://controller-node:8774/v2/3cd53bc659334d1f84a72002a9f9159a/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}81f4ad5ac15259cd379cee7909d3c50b880a6fc1"
INFO (connectionpool:213) Starting new HTTP connection (1): controller-node
DEBUG (connectionpool:395) "GET /v2/3cd53bc659334d1f84a72002a9f9159a/images HTTP/1.1" 200 520
DEBUG (session:224) RESP: [200] Content-Type: application/json Content-Length: 520 X-Compute-Request-Id: req-d7e22a4c-d5f0-461c-8c61-08efb8525a83 Date: Wed, 05 Jan 2000 06:46:35 GMT Connection: keep-alive 
RESP BODY: {"images": [{"id": "128ddb4e-73b9-4f79-841c-ca327376594e", "links": [{"href": "http://controller-node:8774/v2/3cd53bc659334d1f84a72002a9f9159a/images/128ddb4e-73b9-4f79-841c-ca327376594e", "rel": "self"}, {"href": "http://controller-node:8774/3cd53bc659334d1f84a72002a9f9159a/images/128ddb4e-73b9-4f79-841c-ca327376594e", "rel": "bookmark"}, {"href": "http://controller-node:9292/images/128ddb4e-73b9-4f79-841c-ca327376594e", "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-node:8774/v2/3cd53bc659334d1f84a72002a9f9159a/images/128ddb4e-73b9-4f79-841c-ca327376594e -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}81f4ad5ac15259cd379cee7909d3c50b880a6fc1"
DEBUG (connectionpool:395) "GET /v2/3cd53bc659334d1f84a72002a9f9159a/images/128ddb4e-73b9-4f79-841c-ca327376594e 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-4562c62c-d003-4198-95d4-7a64239628f9)
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 ...
(more)
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-06-28 05:50:34 -0600

Seen: 664 times

Last updated: Jun 29 '16