[Openstack] Horizon can't not login

Mark Kirkwood mark.kirkwood at catalyst.net.nz
Wed Jun 18 09:47:33 UTC 2014


Hmmm - I'm looking hard at that 'almost' word in there - so *possibly* 
you might have some misconfiguration tripping you up. Essentially I 
followed 
http://docs.openstack.org/trunk/install-guide/install/apt/content/ and 
the basics seem to work ok - I am not sure what platform you are using 
(I'm on Ubuntu 14.04) - which might be important!

Regards

Mark

On 18/06/14 21:19, Li, Chen wrote:
> I have create users.
> :)
>
> Basically, without horizon, I can run almost all nova commands successfully, including start instances and so on.
> So,  I strongly believe the issue should not related with other openstack services,
> Unless there is some horizon related configuration in other openstack services ???
> There is must something wrong with:
> 	1. Configure of horizon
> 	2. Configure of http server
>                  3. Configure of my system
>
> Thanks.
> -chen
>
> -----Original Message-----
> From: Mark Kirkwood [mailto:mark.kirkwood at catalyst.net.nz]
> Sent: Wednesday, June 18, 2014 5:01 PM
> To: Li, Chen; Remo Mattei
> Cc: <openstack at lists.openstack.org>
> Subject: Re: [Openstack] Horizon can't not login
>
> Good answer - I too have done a packaged install. In my case to see what needs to be set in a more disciplined install (e.g via Puppet) of various modules to be performed later. (note to Remo - there is more than one way to do all these things - that's kinda the point of open source...).
>
> On to the Dashboard problem - at some point you would have created users in Keystone with passwords - That is how to log into Horizon. In my case:
>
>
> $ keystone user-create --name=admin --pass=ADMIN --email=admin at example.com
>
> So I can log into Horizon via admin/ADMIN
>
> Cheers
>
> Mark
>
> On 18/06/14 18:25, Li, Chen wrote:
>> 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>
>> *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_adminfile ???
>>
>>          *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,53a12e0c143781762293630!
>>
>>      !DSPAM:1,53a12fc2148291377437528!
>>
>>
>>
>> _______________________________________________
>> 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
>>
>





More information about the Openstack mailing list