[Openstack] Horizon can't not login

Li, Chen chen.li at intel.com
Wed Jun 18 09:37:28 UTC 2014


After enable debug mode, I get info in browser:
http://paste.openstack.org/show/84376/


This do not change anything. ☹
adding SESSION_ENGINE = 'django.contrib.sessions.backends.cache' into local_settings.py


From: Yitao Jiang [mailto:willierjyt at gmail.com]
Sent: Wednesday, June 18, 2014 4:11 PM
To: Li, Chen
Subject: Re: [Openstack] Horizon can't not login

​1、Enable DEBUG Mode, setting
    DEBUG = True
    TEMPLATE_DEBUG = DEBUG
2、Maybe(or maybe not) you should enable SESSION_ENGINE just adding SESSION_ENGINE = 'django.contrib.sessions.backends.cache' into local_settings.py
and below are related to keystone, you can make a compareation

OPENSTACK_HOST = "127.0.0.1"
OPENSTACK_KEYSTONE_URL = "http://%s:5000/v2.0<http://%25s:5000/v2.0>" % OPENSTACK_HOST
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "Member"



---
Thanks,
Yitao(依涛 姜)
jiangyt.github.io<http://jiangyt.github.io>

On Wed, Jun 18, 2014 at 2:43 PM, Li, Chen <chen.li at intel.com<mailto:chen.li at intel.com>> wrote:
Yes. I’m definitely  in a test environment.

Anyway, do you know why this issue happens ???
Because when I’m under Havana, horizon can easily work almost  need no change for /etc/openstack-dashboard/local_settings.


From: Remo Mattei [mailto:remo at italy1.com<mailto:remo at italy1.com>]
Sent: Wednesday, June 18, 2014 2:40 PM

To: Li, Chen
Cc: <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] Horizon can't not login

You will never use this type of installation in production. But yes it allows you to learn.

Remo

Inviato da iPhone ()

Il giorno Jun 17, 2014, alle ore 23:25, "Li, Chen" <chen.li at intel.com<mailto:chen.li at intel.com>> ha scritto:
Because

1.        there is no need to use Packstack at all.

2.       I want to learn what’s the configuration change in icehouce.

3.       Separate installation processes.

4.       So on …


From: Remo Mattei [mailto:remo at italy1.com]
Sent: Wednesday, June 18, 2014 2:23 PM
To: Li, Chen
Cc: <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] Horizon can't not login

Ouch why?



Inviato da iPhone ()

Il giorno Jun 17, 2014, alle ore 23:20, "Li, Chen" <chen.li at intel.com<mailto:chen.li at intel.com>> ha scritto:
Sorry. I have installed all packages by hand.
Not using packstack at all.

Also, without GUI, all commands are working fine.


From: Remo Mattei [mailto:remo at italy1.com]
Sent: Wednesday, June 18, 2014 2:18 PM
To: Li, Chen
Cc: <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] Horizon can't not login

It is on your shell where your run the packstack install

Inviato da iPhone ()

Il giorno Jun 17, 2014, alle ore 23:09, "Li, Chen" <chen.li at intel.com<mailto:chen.li at intel.com>> ha scritto:
Where can I find the keystone_admin file ???

From: Remo Mattei [mailto:remo at italy1.com]
Sent: Wednesday, June 18, 2014 2:07 PM
To: Li, Chen
Cc: <openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>>
Subject: Re: [Openstack] Horizon can't not login

You should have a file called keystone_admin with the pass of your dashboard try that.

Remo

Inviato da iPhone ()

Il giorno Jun 17, 2014, alle ore 22:28, "Li, Chen" <chen.li at intel.com<mailto:chen.li at intel.com>> ha scritto:
Hi list,

I just installed a fresh new Horizon on CentOS.
My kernel is “2.6.32-358.el6.x86_64”.
And the version of horizon:
openstack-dashboard.noarch                        2014.1-1.el6    @openstack-icehouse

When I trying to login , I get error.
Here is what I get from /var/log/httpd/error_log:
http://paste.openstack.org/show/84366/

Based on https://ask.openstack.org/en/question/6180/unable-to-login-to-openstack-dashboard-havana/
I already disabled SELinux and also changed
OPENSTACK_KEYSTONE_DEFAULT_ROLE = "admin"

Here is my /etc/openstack-dashboard/local_settings:
http://paste.openstack.org/show/84365/

Anyone know why this happened ???

Thanks.
-chen
_______________________________________________
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



!DSPAM:1,53a12fc2148291377437528!
!DSPAM:1,53a1310d151812237138763!

_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140618/f363703f/attachment.html>


More information about the Openstack mailing list