[Openstack] Cinder can not create volume types

Scott Lowe scott.lowe at scottlowe.org
Thu Dec 4 15:26:19 UTC 2014


Please see my responses inline, prefixed by [SL].


On Dec 4, 2014, at 2:53 AM, Ameet Gandhare <ameetgandhare at gmail.com> wrote:

> Hello All,
> 
> I am facing a problem with OpenStack with MAAS+JUJU+Ubuntu 14.04.1 LTS. I am trying to create a first volume type in openstack, using the openstack-dashboard. When I try to create a volume type, the GUI displays message "Error:Unable to create volume type". 
> 
> I am running mysql service and cinder on same node in the cluster and I found following 
> error message in the /var/log/cinder/cinder-volume.log 
> 
> I think the problem is related to following traces. Please correct me if I am wrong.
> 
> 
> 014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup     return Connection(*args, **kwargs)
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup   File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 187, in __init__
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup     super(Connection, self).__init__(*args, **kwargs2)
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup OperationalError: (OperationalError) (1130, "Host '10.50.0.4' is not allowed to connect to this MySQL server") None None


[SL] Looks like this is your problem right here. It appears as if you need to update your MySQL configuration so that 10.50.0.4 has read/write access to the cinder database.

This page should give you the commands needed to update your MySQL configuration appropriately:

<http://docs.openstack.org/juno/install-guide/install/apt/content/cinder-install-controller-node.html>


> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup 
> 2014-12-04 09:36:08.586 19059 ERROR cinder.openstack.common.threadgroup [-] (Ope
> 
> 
> Kindly help me fix this problem.
> 
> Thanks in advance.
> 
> Regards,
> Ameet


-- 
Scott





More information about the Openstack mailing list