Ask Your Question
1

horizon: Django cannot find: /dashboard/auth/login

asked 2016-11-28 14:56:38 -0500

twotwo gravatar image

Hi,

I just installed OpenStack via:

devstack/stack.sh

and then

/opt/stack/horizon: ./run_tests.sh --runserver 0.0.0.0:9000

[...]
Starting development server at http://0.0.0.0:9000/
Quit the server with CONTROL-C.

When I open the URL in the browser I can see this on the terminal:

Not Found: /dashboard/auth/login/
[28/Nov/2016 20:43:17] "GET /dashboard/auth/login/?next=/ HTTP/1.1" 404 4266

The Django error message in the browser is:

    Using the URLconf defined in openstack_dashboard.urls, Django tried these URL patterns, in this order:
    ^$ [name='splash']
    ^api/
    ^home/$ [name='user_home']
    ^i18n/js/(?P<packages>\S+?)/$ [name='jsi18n']
    ^i18n/setlang/$ [name='set_language']
    ^i18n/
    ^jasmine-legacy/$ [name='jasmine_tests']
    ^jasmine/.*?$
    ^identity/
    ^project/
    ^settings/
    ^admin/
    ^auth/
    ^dashboard\/static\/(?P<path>.*)$
    ^dashboard\/media\/(?P<path>.*)$
    ^500/$

The current URL, dashboard/auth/login/, didn't match any of these.
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-11-30 07:14:11 -0500

silently gravatar image

try this :

./run_tests.sh --docs

tools/with_venv.sh python manage.py runserver ip:9000

or python manage.py runserver ip:9000

edit flag offensive delete link more

Comments

Alas, calling it that way still produces the same error.

twotwo gravatar imagetwotwo ( 2016-11-30 12:06:45 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-11-28 14:56:38 -0500

Seen: 589 times

Last updated: Nov 30 '16