[openstack-dev] [Mistral] Why keystone token validation fails in PyCharm, and how to fix it

Adam Young ayoung at redhat.com
Tue May 20 02:33:22 UTC 2014


On 05/12/2014 10:25 PM, Dmitri Zimine wrote:
> The problem: Keystone authentication on MAC works from command line, 
> but fails when run from PyCharm. And I want to run PyCharm to debug!
>
> The root cause: Keystone uses openssl cms which is only available in 
> new openssl.  I installed openssl via brew, and got it in 
> /usr/local/bin. Terminal works just fine because I have paths properly 
> setup in /etc/paths file. But PyCharm and other non-terminal 
> applications dont use it!
> The right solution:
>      create a file /etc/launchd.conf with the following line:
> setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
> **
> The hack solution is:
>      sudo mv /usr/bin/openssl /usr/bin/openssl_bak
>      sudo ln -s /usr/bin/local/openssl /usr/bin/openssl
>
> DZ>
>
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
This is a general problem, and solution, for Keystone on Mac.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140519/72df4f32/attachment.html>


More information about the OpenStack-dev mailing list