can not create instance after update centos7

asked 2016-05-18 22:58:33 -0500

jittinan2@gmail.com gravatar image

updated 2016-05-19 01:28:30 -0500

I installed Openstack kilo on Centos7.novncproxy always failed.i had to reboot it everyday.so i decided to update all software from repositories.after that,i could not create any instances. How can i fix it?

nova --debug boot --flavor m1.tiny --image cirros-0.3.4-x86_64 --nic net-id=d7c8d8bc-43af-454c-8ae2-6da078c1e244 --security-group default --key-name demo-key demo-cirros1

command output snippet:

DEBUG (shell:914) The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-12b8ccb3-92e5-4c47-af71-a54cf89a0312)
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, body = self.api.client.get(url)
  File "/usr/lib/python2.7/site-packages/keystoneclient/adapter.py", line 170, in get
    return self.request(url, 'GET', **kwargs)
  File "/usr/lib/python2.7/site-packages/novaclient/client.py", line 96, 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-12b8ccb3-92e5-4c47-af71-a54cf89a0312)
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-12b8ccb3-92e5-4c47-af71-a54cf89a0312)

Log snippet form nova-api.log:

2016-05-19 10:30:55.105 1898 ERROR nova.api.openstack [req-12b8ccb3-92e5-4c47-af71-a54cf89a0312 83458dc2373945d09d7d7fd1e5366a08 f92966f02d284482b15f31b8709bc0c3 - - -] Caught error: id
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack Traceback (most recent call last):
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/nova/api/openstack/__init__.py", line 125, in __call__
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack     return req.get_response(self.application)
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1317, in send
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack     application, catch_exc_info=False)
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/webob/request.py", line 1281, in call_application
2016-05-19 10:30:55.105 1898 TRACE nova.api.openstack     app_iter = application(self.environ, start_response)
2016-05-19 10:30 ...
(more)
edit retag flag offensive close merge delete

Comments

Im getting the same error with Openstack Kilo, the nova-api.log file is the only place where hace error messages, any idea?

gabrielr gravatar imagegabrielr ( 2016-05-26 18:37:42 -0500 )edit

Which repos do you have? Maybe updated to a new release which need to change some files options, sync database, etc...

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-05-28 04:05:04 -0500 )edit