Cinder DB won't populate
I am having issues on a fresh Ubuntu 14.04 install of Openstack. The Cinder DB will not populate. When I run this command: su -s /bin/sh -c "cinder-manage db sync" cinder
It returns this error:
/usr/lib/python2.7/dist-packages/cinder/openstack/common/service.py:38: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead.
from oslo.config import cfg
I have checked the database and there are no tables.
Any help?
Here you go Eduardo - cinder.conf:
[DEFAULT]
rootwrap_config = /etc/cinder/rootwrap.conf
api_paste_confg = /etc/cinder/api-paste.ini
iscsi_helper = tgtadm
volume_name_template = volume-%s
volume_group = cinder-volumes
verbose = True
auth_strategy = keystone
state_path = /var/lib/cinder
lock_path = /var/lock/cinder
volumes_dir = /var/lib/cinder/volumes
connection = mysql://cinder:XXX@controller/cinder
rpc_backend = rabbit
auth_strategy = keystone
my_ip = 192.168.1.31
verbose = True
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = cinder
password =XXX
[oslo_messaging_rabbit]
rabbit_host = controller
rabbit_userid = openstack
rabbit_password = XXX
[oslo_concurrency]
lock_path = /var/lock/cinder
But even if the message can be ignored I have no tables in my cinder DB?
Can you paste cinder.conf to look if there is something wrong and see why tables are not created? I think this message is not relevant and can be ignored.