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

Morales, Victor victor.morales at intel.com
Sun Oct 18 19:04:49 UTC 2015


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<mailto:mkassawara at gmail.com>>
Date: Sunday, October 18, 2015 at 9:27 AM
To: Martinx - ジェームズ <thiagocmartinsc at gmail.com<mailto:thiagocmartinsc at gmail.com>>
Cc: "openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>" <openstack at lists.openstack.org<mailto: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<mailto:thiagocmartinsc at gmail.com>> wrote:
On 18 October 2015 at 02:16, Martinx - ジェームズ <thiagocmartinsc at gmail.com<mailto: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<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack





More information about the Openstack mailing list