Revision history [back]

click to hide/show revision 1
initial version

cinder-manage db sync backend Import Error

Hi all,

im trying to install openstack folsom based from below guide:

https://openstack-folsom-install-guide.readthedocs.org/en/latest/#basic-configuration

im at the cinder steps, whenever i execute "cinder-manage db sync"

below exception appear.

root@computenode:/etc/init.d# cinder-manage db sync 2013-11-27 17:14:53 18789 DEBUG cinder.utils [-] backend <module 'cinder.db.sqlalchemy.migration'="" from="" '="" usr="" lib="" python2.7="" dist-packages="" cinder="" db="" sqlalchemy="" migration.pyc'=""> __get_backend /usr/lib/python2.7/dist-packages/cinder/utils.py:481 Command failed, please check log for more info 2013-11-27 17:14:53 18789 CRITICAL cinder [-] No module named qpid.messaging 2013-11-27 17:14:53 18789 TRACE cinder Traceback (most recent call last): 2013-11-27 17:14:53 18789 TRACE cinder File "/usr/bin/cinder-manage", line 757, in <module> 2013-11-27 17:14:53 18789 TRACE cinder main() 2013-11-27 17:14:53 18789 TRACE cinder File "/usr/bin/cinder-manage", line 745, in main 2013-11-27 17:14:53 18789 TRACE cinder rpc.cleanup() 2013-11-27 17:14:53 18789 TRACE cinder File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/__init__.py", line 203, in cleanup 2013-11-27 17:14:53 18789 TRACE cinder return _get_impl().cleanup() 2013-11-27 17:14:53 18789 TRACE cinder File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/rpc/__init__.py", line 269, in _get_impl 2013-11-27 17:14:53 18789 TRACE cinder _RPCIMPL = importutils.import_module(impl) 2013-11-27 17:14:53 18789 TRACE cinder File "/usr/lib/python2.7/dist-packages/cinder/openstack/common/importutils.py", line 58, in import_module 2013-11-27 17:14:53 18789 TRACE cinder __import__(import_str) 2013-11-27 17:14:53 18789 TRACE cinder File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_qpid.py", line 26, in <module> 2013-11-27 17:14:53 18789 TRACE cinder import qpid.messaging 2013-11-27 17:14:53 18789 TRACE cinder ImportError: No module named qpid.messaging 2013-11-27 17:14:53 18789 TRACE cinder

any hints or guide are much appreciated.

below are some configuration files you might want to know

/etc/cinder/cinder.conf

rootwrap_config=/etc/cinder/rootwrap.conf sql_connection = mysql://cinderUser:cinderPass@16.189.82.181/cinder api_paste_confg = /etc/cinder/api-paste.ini iscsi_helper=ietadm volume_name_template = volume-%s volume_group = cinder-volumes verbose = True auth_strategy = keystone rpc_backend = nova.openstack.common.rpc.impl_qpid

osapi_volume_listen_port=5900

root@computenode:/var/log/cinder#

root@computenode:/var/log/cinder# cat /etc/cinder/api-paste.ini

#

Openstack

#

[composite:osapi_volume] use = call:cinder.api.openstack.urlmap:urlmap_factory /: osvolumeversions /v1: openstack_volume_api_v1

[composite:openstack_volume_api_v1] use = call:cinder.api.auth:pipeline_factory noauth = faultwrap sizelimit noauth osapi_volume_app_v1 keystone = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1 keystone_nolimit = faultwrap sizelimit authtoken keystonecontext osapi_volume_app_v1

[filter:faultwrap] paste.filter_factory = cinder.api.openstack:FaultWrapper.factory

[filter:noauth] paste.filter_factory = cinder.api.openstack.auth:NoAuthMiddleware.factory

[filter:sizelimit] paste.filter_factory = cinder.api.sizelimit:RequestBodySizeLimiter.factory

[app:osapi_volume_app_v1] paste.app_factory = cinder.api.openstack.volume:APIRouter.factory

[pipeline:osvolumeversions] pipeline = faultwrap osvolumeversionapp

[app:osvolumeversionapp] paste.app_factory = cinder.api.openstack.volume.versions:Versions.factory

#

Shared

#

[filter:keystonecontext] paste.filter_factory = cinder.api.auth:CinderKeystoneContext.factory

[filter:authtoken] paste.filter_factory = keystone.middleware.auth_token:filter_factory service_protocol = http service_host = 16.189.82.181 service_port = 5000 auth_host = 16.189.82.181 auth_port = 35357 auth_protocol = http admin_tenant_name = service admin_user = cinder admin_password = service_pass