Ask Your Question
0

cinder create --display-name myVolume 1 ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-8e9d9b1b-9704-4187-9195-aa4fbb0dcb17)

asked 2014-10-11 05:02:35 -0500

joehoyuan gravatar image

updated 2014-10-11 05:27:11 -0500

I think the problem is cinder-scdeduler...

root@ubuntu:~# cinder create --display-name myVolume 1  
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-8e9d9b1b-9704-4187-9195-aa4fbb0dcb17)

/var/log/cinder/cinder-api.log

2014-10-11 17:40:34.748 4270 INFO eventlet.wsgi.server [-] (4270) accepted ('10.0.0.13', 54826)
2014-10-11 17:40:35.466 4270 INFO cinder.api.openstack.wsgi [req-8e9d9b1b-9704-4187-9195-aa4fbb0dcb17 a0751e2611ae4a098525b3511f84e5eb b23f56cf19774219996db122f8cbf7b9 - - -] POST http://controller:8776/v1/b23f56cf19774219996db122f8cbf7b9/volumes
2014-10-11 17:40:35.468 4270 AUDIT cinder.api.v1.volumes [req-8e9d9b1b-9704-4187-9195-aa4fbb0dcb17 a0751e2611ae4a098525b3511f84e5eb b23f56cf19774219996db122f8cbf7b9 - - -] Create volume of 1 GB
2014-10-11 17:40:35.482 4270 ERROR cinder.api.middleware.fault [req-8e9d9b1b-9704-4187-9195-aa4fbb0dcb17 a0751e2611ae4a098525b3511f84e5eb b23f56cf19774219996db122f8cbf7b9 - - -] Caught error: (ProgrammingError) (1146, "Table 'cinder.volume_types' doesn't exist") 'SELECT volume_types.created_at AS volume_types_created_at, volume_types.updated_at AS volume_types_updated_at, volume_types.deleted_at AS volume_types_deleted_at, volume_types.deleted AS volume_types_deleted, volume_types.id AS volume_types_id, volume_types.name AS volume_types_name, volume_types.qos_specs_id AS volume_types_qos_specs_id, volume_type_extra_specs_1.created_at AS volume_type_extra_specs_1_created_at, volume_type_extra_specs_1.updated_at AS volume_type_extra_specs_1_updated_at, volume_type_extra_specs_1.deleted_at AS volume_type_extra_specs_1_deleted_at, volume_type_extra_specs_1.deleted AS volume_type_extra_specs_1_deleted, volume_type_extra_specs_1.id AS volume_type_extra_specs_1_id, volume_type_extra_specs_1.`key` AS volume_type_extra_specs_1_key, volume_type_extra_specs_1.value AS volume_type_extra_specs_1_value, volume_type_extra_specs_1.volume_type_id AS volume_type_extra_specs_1_volume_type_id \nFROM volume_types LEFT OUTER JOIN volume_type_extra_specs AS volume_type_extra_specs_1 ON volume_type_extra_specs_1.volume_type_id = volume_types.id AND volume_type_extra_specs_1.deleted = false \nWHERE volume_types.deleted = false ORDER BY name' ()
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault Traceback (most recent call last):
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/cinder/api/middleware/fault.py", line 75, in __call__
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     return req.get_response(self.application)
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1320, in send
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     application, catch_exc_info=False)
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1284, in call_application
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     app_iter = application(self.environ, start_response)
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 582, in __call__
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     return self.app(env, start_response)
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
2014-10-11 17:40:35.482 4270 TRACE cinder.api.middleware.fault     return resp(environ, start_response)
2014-10-11 17:40:35 ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2014-10-12 04:33:31 -0500

jtaguinerd gravatar image

Hi, Based on the logs it tells you that table 'cinder.services' doesn't exist. I advise that you connect to mysql and do "show databases" see if cinder database exist. If it is not there, then reinstall cinder.

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: 2014-10-11 05:02:35 -0500

Seen: 948 times

Last updated: Oct 12 '14