[Openstack] Horizon

Viktor Viking viktor.viking.se at gmail.com
Thu Feb 7 09:50:03 UTC 2013


Hi Emilien,

I had edited keystone-data.sh and changed the password to "secret". But
your pointers helped me. I had also changed the value "SERVICE_TENANT_NAME"
to "MY_TENANT" as you can see in the mysql table. Apparently that was not a
good idea. I dropped the tables, changed it back to "service", run the
script again and… voilá.

I can login now.

Thank you for your help,
Viktor




On Wed, Feb 6, 2013 at 7:06 PM, Emilien Macchi <emilien at enovance.com> wrote:

> Hi Viktor,
>
>
>    - If you have used keystone-data.sh script, the password should be
>    "password".
>    - Horizon does not use novarc neither MySQL. It only uses OpenStack
>    APIs.
>    - Django log files can by found on /var/log/apache2/error.log &
>    access.log
>
>
> Cheers,
>
> Emilien Macchi
> ----------------------------------------------------
> // eNovance Inc.              http://enovance.com
> // ✉ emilien at enovance.com     ☎ +33 (0)1 49 70 99 80
> // 10 rue de la Victoire 75009 Paris
>
>
> ------------------------------
> *From: *"Viktor Viking" <viktor.viking.se at gmail.com>
> *To: *openstack at lists.launchpad.net
> *Sent: *Wednesday, February 6, 2013 1:47:02 PM
> *Subject: *[Openstack] Horizon
>
>
> Hi,
>
> After a successful installation of Folsom, I'm trying to use Dashboard.
> I've had no success login in.
>
> If I just type a random user/passwd string, I get a message: "Invalid
> username or password".
>
> If I type admin:secret (a correct user:password combination), the login
> page reloads and nothing happens.
>
> Some info on my setup:
>
> I followed this guide for Folsom installation:
>
>
> http://docs.openstack.org/folsom/basic-install/content/basic-install-folsom.pdf
>
> My novarc file:
>
> export OS_TENANT_NAME=admin
> export OS_USERNAME=admin
> export OS_PASSWORD=secret
> export OS_AUTH_URL="http://localhost:5000/v2.0/"
> export SERVICE_ENDPOINT="http://localhost:35357/v2.0"
> export SERVICE_TOKEN=secret
>
> Keystone.log doesn't show anything out of the ordinary.
>
> mysql> select id,name from user;
> +----------------------------------+---------+
> | id                               | name    |
> +----------------------------------+---------+
> | 6294f0f5e16d49b9992c211e9cac6855 | admin   |
> | 88f6d25dec6f40f1a9cddf2b20aad4b2 | cinder  |
> | 4c0f5a439a3d44368e8d4af395049ff2 | demo    |
> | c7ee8554321d4fe2bba341a99ee98dc9 | glance  |
> | 520ddc424a30447aa47992400382a167 | nova    |
> | 6e44c5aa1edc4fe5919286ecdda196a0 | quantum |
> | f4a54be5b3154f85bc4df89a61c5360d | swift   |
> | 6dfec4512b7f4eaa9dc214d7232244fd | viktor  |
> +----------------------------------+---------+
>
> mysql> select * from tenant;
>
> +----------------------------------+--------------------+----------------------------------------+
> | id                               | name               | extra
>                        |
>
> +----------------------------------+--------------------+----------------------------------------+
> | 779c87a9c37f4f63b0fc0aab236a5e1e | demo               | {"enabled":
> true, "description": null} |
> | 8d4286a5249e43e9aa56864357737884 | invisible_to_admin | {"enabled":
> true, "description": null} |
> | cf03bbe4daaf4579bd005a4e64da3334 | MYTENANT               | {"enabled":
> true, "description": null} |
> | f822dc409d684062b003ba99efa12672 | admin              | {"enabled":
> true, "description": null} |
>
> +----------------------------------+--------------------+----------------------------------------+
>
> I realize dashboard doesn't use a database anymore as it did in Essex. Is
> that right? BTW, where can I find django log files?
>
> Any tips about what is going wrong?
>
> Thank you,
> Viktor
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack at lists.launchpad.net
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130207/09cf162c/attachment.html>


More information about the Openstack mailing list