Created attachment 824542 [details] single cinder host Description of problem: The Cinder's multiple backend feature cause the Cinder's services to fail due to an error connection to the MySQL. The feature doesn't work when it's an AIO topology and when the Cinder is on a different host. Version-Release number of selected component (if applicable): openstack-nova-api-2013.2-4.el6ost.noarch openstack-ceilometer-common-2013.2-1.el6ost.noarch openstack-nova-network-2013.2-4.el6ost.noarch python-django-openstack-auth-1.1.2-1.el6ost.noarch openstack-dashboard-theme-2013.2-3.el6ost.noarch openstack-ceilometer-collector-2013.2-1.el6ost.noarch openstack-selinux-0.1.2-12.el6ost.noarch openstack-glance-2013.2-1.el6ost.noarch openstack-cinder-2013.2-2.el6ost.noarch openstack-nova-common-2013.2-4.el6ost.noarch openstack-ceilometer-compute-2013.2-1.el6ost.noarch openstack-nova-console-2013.2-4.el6ost.noarch openstack-nova-compute-2013.2-4.el6ost.noarch openstack-nova-conductor-2013.2-4.el6ost.noarch openstack-nova-novncproxy-2013.2-4.el6ost.noarch openstack-nova-scheduler-2013.2-4.el6ost.noarch openstack-dashboard-2013.2-3.el6ost.noarch openstack-keystone-2013.2-1.el6ost.noarch openstack-utils-2013.2-1.el6ost.noarch openstack-nova-cert-2013.2-4.el6ost.noarch redhat-access-plugin-openstack-4.0.0-0.el6ost.noarch openstack-ceilometer-central-2013.2-1.el6ost.noarch openstack-ceilometer-api-2013.2-1.el6ost.noarch openstack-packstack-2013.2.1-0.9.dev840.el6ost.noarch mysql-5.1.71-1.el6.x86_64 mysql-libs-5.1.71-1.el6.x86_64 mysql-server-5.1.71-1.el6.x86_64 RHEL 6.5 How reproducible: 100% Steps to Reproduce: 1. configure multiple backend in the cinder.conf 2. restart the Cinder services 3. Actual results: Cinder services are dead. Expected results: Cinder services are running and the multiple backend is enabled. Additional info:
Created attachment 824543 [details] all in one topology
Both of the logs attached indicate authentication problems for mysql cinder@localhost. Is sql_connection / connection in cinder.conf set to something that appears to be correct?
How did you deploy an AIO topology with Cinder on a different host?
Can you attach your cinder.conf file?
(In reply to Eric Harney from comment #3) > How did you deploy an AIO topology with Cinder on a different host? If you mean, the topology with all the components in one host and the Cinder in another, then, I've installed it with packstack.
(In reply to Eric Harney from comment #4) > Can you attach your cinder.conf file? ...
Created attachment 829322 [details] cinder with multiple back end added the cinder.conf
Yogev: this is failing because all settings below the enabled_backends section are actually in the [nfs1] section of the ini file rather than default. Move the [lvm1] and [nfs1] settings to the bottom of the file so that your sql_connection setting is in the [DEFAULT] section and things should work as expected. Does not appear to be a bug. -- conf snippet: enabled_backends=lvm1,nfs1 [lvm1] volume_driver=cinder.volume.drivers.lvm.LVMISCSIDriver volume_backend_name=LVM_iSCSI volume_group=cinder-volumes [nfs1] nfs_shares_config=/etc/cinder/shares.conf volume_driver=cinder.volume.drivers.nfs.NfsDriver volume_backend_name=NFS sql_connection=mysql://cinder:pass.x.x/cinder
*** Bug 1044917 has been marked as a duplicate of this bug. ***