devstack cinder-manage error
I have a problem with my devstack installation, specifically with cinder component. While running devstack I get this error:
2014-05-06 10:13:33.505 | + echo_summary 'Configuring Cinder'
2014-05-06 10:13:33.516 | + [[ -t 3 ]]
2014-05-06 10:13:33.523 | + echo -e Configuring Cinder
2014-05-06 10:13:33.531 | + init_cinder
2014-05-06 10:13:33.538 | Configuring Cinder
2014-05-06 10:13:33.544 | ++ sed s/osapi_volume,//
2014-05-06 10:13:33.549 | ++ echo ec2,osapi_compute,metadata
2014-05-06 10:13:33.557 | + NOVA_ENABLED_APIS=ec2,osapi_compute,metadata
2014-05-06 10:13:33.565 | + is_service_enabled mysql postgresql
2014-05-06 10:13:33.571 | + return 0
2014-05-06 10:13:33.581 | + recreate_database cinder utf8
2014-05-06 10:13:33.588 | + local db=cinder
2014-05-06 10:13:33.597 | + local charset=utf8
2014-05-06 10:13:33.605 | + recreate_database_mysql cinder utf8
2014-05-06 10:13:33.617 | + local db=cinder
2014-05-06 10:13:33.624 | + local charset=utf8
2014-05-06 10:13:33.633 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'DROP DATABASE IF EXISTS cinder;'
2014-05-06 10:13:33.641 | + mysql -uroot -pstackdb -h127.0.0.1 -e 'CREATE DATABASE cinder CHARACTER SET utf8;'
2014-05-06 10:13:33.646 | + /usr/local/bin/cinder-manage db sync
2014-05-06 10:13:34.725 | Traceback (most recent call last):
2014-05-06 10:13:34.733 | File "/usr/local/bin/cinder-manage", line 10, in <module>
2014-05-06 10:13:34.751 | execfile(__file__)
2014-05-06 10:13:34.765 | File "/opt/stack/cinder/bin/cinder-manage", line 545, in <module>
2014-05-06 10:13:34.777 | main()
2014-05-06 10:13:34.784 | File "/opt/stack/cinder/bin/cinder-manage", line 525, in main
2014-05-06 10:13:34.790 | version=version.version_string())
2014-05-06 10:13:34.796 | File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1635, in __call__
2014-05-06 10:13:34.818 | else sys.argv[1:])
2014-05-06 10:13:34.827 | File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 2174, in _parse_cli_opts
2014-05-06 10:13:34.834 | opt._add_to_cli(self._oparser, group)
2014-05-06 10:13:34.840 | File "/usr/local/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1016, in _add_to_cli
2014-05-06 10:13:34.847 | self.handler(subparsers)
2014-05-06 10:13:34.853 | File "/opt/stack/cinder/bin/cinder-manage", line 461, in add_command_parsers
2014-05-06 10:13:34.858 | command_object = CATEGORIES[category]()
2014-05-06 10:13:34.864 | File "/opt/stack/cinder/bin/cinder-manage", line 250, in __init__
2014-05-06 10:13:34.872 | rpc.init(CONF)
2014-05-06 10:13:34.877 | File "/opt/stack/cinder/cinder/rpc.py", line 63, in init
The local.conf file contains:
[[local|localrc]]
# Credentials
DATABASE_PASSWORD=devstack
ADMIN_PASSWORD=devstack
SERVICE_PASSWORD=devstack
SERVICE_TOKEN=devstack
RABBIT_PASSWORD=devstack
# Services
ENABLED_SERVICES=rabbit,mysql,key
ENABLED_SERVICES+=,n-api,n-crt,n-obj,n-cpu,n-cond,n-sch,n-novnc,n-cauth
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta,q-lbaas
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
ENABLED_SERVICES+=,g-api,g-reg
ENABLED_SERVICES+=,cinder,c-api,c-vol,c-sch,c-bak
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
ENABLED_SERVICES+=,horizon
ENABLED_SERVICES+=,ceilometer-acompute,ceilometer-acentral,ceilometer-collector, ceilometer-api
ENABLED_SERVICES+=,ceilometer-alarm-notify,ceilometer-alarm-eval
# Images
# Use this image when creating test instances
IMAGE_URLS+=",http://cdn.download.cirros-cloud ...
Can you double check the cinder.conf created by devstack (especially the rpc related sections).
The only rpc option enabled in the cinder.conf file is "rpc_backend = cinder.openstack.common.rpc.impl_kombu", all the other rpc options are commented