[Openstack] [Liberty] Option "driver = memcached" under [token] in keystone.conf triggers an error...

Matt Kassawara mkassawara at gmail.com
Sun Oct 18 19:47:17 UTC 2015


I see a few of those in the logs from a couple of weeks ago in the lab
environments that I use to update and test the installation guide for
Liberty. However, no persistent warnings and all services seem to operate
normally.

On Sun, Oct 18, 2015 at 1:04 PM, Morales, Victor <victor.morales at intel.com>
wrote:

> I have followed all the steps of manual(
> http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-install.html) and
> I’m getting an weird error saying  "Maximum lock attempts on
> _lockusertokens-XXXX occurred.”.  This error disappears when I  use the
> default option(sql) for driver in the token section.  AFAIK, there are some
> issues with python-memcache library yet (
> https://bugs.launchpad.net/keystone/+bug/1462152/comments/6)
>
> Regards/Saludos
> Victor Morales
>
> From: Matt Kassawara <mkassawara at gmail.com>
> Date: Sunday, October 18, 2015 at 9:27 AM
> To: Martinx - ジェームズ <thiagocmartinsc at gmail.com>
> Cc: "openstack at lists.openstack.org" <openstack at lists.openstack.org>
> Subject: Re: [Openstack] [Liberty] Option "driver = memcached" under
> [token] in keystone.conf triggers an error...
>
> The documentation says "driver = memcache" not "driver = memcached".
>
> On Sat, Oct 17, 2015 at 10:33 PM, Martinx - ジェームズ <
> thiagocmartinsc at gmail.com> wrote:
>
>> On 18 October 2015 at 02:16, Martinx - ジェームズ <thiagocmartinsc at gmail.com>
>> wrote:
>> > Guys,
>> >
>> > I'm trying to install Liberty on Ubuntu Trusty, I'm following the doc:
>> >
>> >
>> http://docs.openstack.org/liberty/install-guide-ubuntu/keystone-install.html
>> >
>> > And, after running:
>> >
>> > ---
>> > openstack --os-auth-url http://liberty-1.mydomain.com:35357/v3
>> > --os-project-domain-id default --os-user-domain-id default
>> > --os-project-name admin --os-username admin --os-auth-type password
>> > token issue
>> > Password:
>> > ---
>> >
>> > I'm seeing the following error on output:
>> >
>> > ---
>> > An unexpected error prevented the server from fulfilling your request.
>> > (HTTP 500) (Request-ID: req-31b76921-71ff-4dfe-9bcd-10a395925fc1)
>> > ---
>> >
>> > And on logs:
>> >
>> > ---
>> > http://paste.openstack.org/show/476623/
>> > ---
>> >
>> > If I comment the file:
>> >
>> > ---
>> > driver = memcached
>> > ---
>> >
>> > Under [token] in /etc/keystone/keystone.conf, then, the problem goes
>> away.
>> >
>> > But, is it okay? Is this only a documentation bug?
>> >
>> > Am I still using Memcached somehow, by default?
>> >
>> > Thanks!
>> > Thiago
>>
>> Just confirming... By removing the "driver = memcached" line out from
>> [token] section in keystone.conf, it seems to be working:
>>
>> ---
>> user at liberty-1:~$ openstack --os-auth-url
>> http://liberty-1.mydomain.com:35357/v3 --os-project-domain-id default
>> --os-user-domain-id default --os-project-name admin --os-username
>> admin --os-auth-type password token issue
>> Password:
>> +------------+----------------------------------+
>> | Field      | Value                            |
>> +------------+----------------------------------+
>> | expires    | 2015-10-18T05:30:33.302039Z      |
>> | id         | fa78e53f8f4542acab6f99de159d559f |
>> | project_id | b96eab2943994f6183c31648febaf4fb |
>> | user_id    | 955568fffd574486a2a2fabaac7094e1 |
>> +------------+----------------------------------+
>> ---
>>
>> Do you thinks that it is "safe" to continue? I'm wondering about side
>> effects of this (no memcached anymore?)...
>>
>> Best,
>> Thiago
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20151018/709bc35e/attachment.html>


More information about the Openstack mailing list