[Openstack] Cinder can not create volume types
Ameet Gandhare
ameetgandhare at gmail.com
Fri Dec 5 08:34:18 UTC 2014
Hello All,
I have installed cinder and mysql charms using juju. The way I understand
this, the commands given in the documentation link
that Scott provided in the reply to my question describes steps that don't
work with juju based configuration.
Kindly clear my misunderstanding or plkease give me help me fix the problem
I am facing. Basically I need a way to provide
permissions to user called cinder by updating mysql and other steps.
Thanks in advance.
Regrds,
Ameet
On Thu, Dec 4, 2014 at 8:56 PM, Scott Lowe <scott.lowe at scottlowe.org> wrote:
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141205/c3d821a6/attachment.html>
More information about the Openstack
mailing list