Ask Your Question
0

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

asked 2015-10-22 07:53:31 -0500

Emad gravatar image

updated 2015-10-22 12:23:32 -0500

Hi,

I am running devstack stable kilo, along with nova-docker stable/kilo on ubunutu 14.04.03 LTS desktop. If I run the command nova boot:

nova boot --image rastasheep/ubuntu-sshd --nic net-id=f5028a7b-7829-4afa-a456-40453cc7ed96 --flavor m1.tiny test0

I get this error:

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

I have read a lot of similar forum questions but couldn't solve the issue. Here is the result of command with --debug option:

DEBUG (session:195) REQ: curl -g -i -X GET http://IP:8774/v2/bdfa6bc72649455391e2010bf153c68f/images/335845c6-0efe-45f5-970f-d675188b96e4 -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}3a6e874be40f9af41288863a6fadefaefa342a24"
DEBUG (connectionpool:387) "GET /v2/bdfa6bc72649455391e2010bf153c68f/images/335845c6-0efe-45f5-970f-d675188b96e4 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-da76fb71-7114-48d8-89ff-10d0a55080f0)
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 911, in main
    OpenStackComputeShell().main(argv)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/shell.py", line 838, in main
    args.func(self.cs, args)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 495, in do_boot
    boot_args, boot_kwargs = _boot(cs, args)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 142, in _boot
    image = _find_image(cs, args.image)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/shell.py", line 1894, in _find_image
    return utils.find_resource(cs.images, image)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/utils.py", line 216, in find_resource
    return manager.find(**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 196, in find
    matches = self.findall(**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 258, in findall
    found.append(self.get(obj.id))
  File "/usr/local/lib/python2.7/dist-packages/novaclient/v2/images.py", line 53, in get
    return self._get("/images/%s" % base.getid(image), "image")
  File "/usr/local/lib/python2.7/dist-packages/novaclient/base.py", line 156, in _get
    _resp, body = self.api.client.get(url)
  File "/usr/local/lib/python2.7/dist-packages/keystoneclient/adapter.py", line 170, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/novaclient/client.py", line 96, in request
    raise exceptions.from_response(resp, body, url, method)

In some forum questions I noticed that, if they did not use --nic net-id they wouldn't face any problem, however I still get the same error even without --nic net-id.

Any help is really appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-10-25 00:52:07 -0500

Bipin gravatar image

Hi,

Whats the output of the following commands ?

nova flavor-list

nova-manage service list

Regards

edit flag offensive delete link more

Comments

I installed liberty instead of kilo, and now everything is fine.

Emad gravatar imageEmad ( 2015-10-25 17:35:07 -0500 )edit

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: 2015-10-22 07:53:31 -0500

Seen: 1,509 times

Last updated: Oct 25 '15