<div dir="ltr"><div><div>Hello All,<br><br></div>I have installed cinder and mysql charms using juju. The way I understand this, the commands given in the documentation link <br>that Scott provided in the reply to my question describes steps that don't work with juju based configuration. <br><br></div><div>Kindly clear my misunderstanding or plkease give me help me fix the problem I am facing. Basically I need a way to provide <br>permissions to user called cinder by updating mysql and other steps.<br>Thanks in advance.<br>Regrds,<br>Ameet<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 8:56 PM, Scott Lowe <span dir="ltr"><<a href="mailto:scott.lowe@scottlowe.org" target="_blank">scott.lowe@scottlowe.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please see my responses inline, prefixed by [SL].<br>
<span class=""><br>
<br>
On Dec 4, 2014, at 2:53 AM, Ameet Gandhare <<a href="mailto:ameetgandhare@gmail.com">ameetgandhare@gmail.com</a>> wrote:<br>
<br>
> Hello All,<br>
><br>
> 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".<br>
><br>
> I am running mysql service and cinder on same node in the cluster and I found following<br>
> error message in the /var/log/cinder/cinder-volume.log<br>
><br>
> I think the problem is related to following traces. Please correct me if I am wrong.<br>
><br>
><br>
> 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<br>
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup return Connection(*args, **kwargs)<br>
> 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__<br>
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup super(Connection, self).__init__(*args, **kwargs2)<br>
> 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<br>
<br>
<br>
</span>[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.<br>
<br>
This page should give you the commands needed to update your MySQL configuration appropriately:<br>
<br>
<<a href="http://docs.openstack.org/juno/install-guide/install/apt/content/cinder-install-controller-node.html" target="_blank">http://docs.openstack.org/juno/install-guide/install/apt/content/cinder-install-controller-node.html</a>><br>
<div class="HOEnZb"><div class="h5"><br>
<br>
> 2014-12-04 09:36:07.157 19047 TRACE cinder.openstack.common.threadgroup<br>
> 2014-12-04 09:36:08.586 19059 ERROR cinder.openstack.common.threadgroup [-] (Ope<br>
><br>
><br>
> Kindly help me fix this problem.<br>
><br>
> Thanks in advance.<br>
><br>
> Regards,<br>
> Ameet<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Scott<br>
<br>
</font></span></blockquote></div><br></div>