安装Horizon(Openstack Train/Stein)报错“/auth/login/ was not found on this server”

After installed horizon (Openstack Train), When access http://controller_ip/dashboard, Got error “/auth/login/ was not found on this server”

现象:

Not Found

The requested URL /auth/login/ was not found on this server.

解决办法:

# vi /etc/openstack-dashboard/local_settings
#添加下面字段到文件中

WEBROOT = '/dashboard'

# systemctl restart httpd

原因

参考链接:
https://bugs.launchpad.net/horizon/+bug/1853651

Bug Description
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:

- [x] This doc is inaccurate in this way:

By following the instructions to setup the /etc/openstack-dashboard/local_settings configuration file on CentOS 7, I received a "Not Found - The requested URL /auth/login was not found on this server." error when attempting to load horizon at <controller_url>/dashboard in a browser.

It appears horizon tries to re-direct to a URL outside of the /dashboard URL, causing the 404. This is due to not having a "WEBROOT" setting in the file.

By adding the following to the config file (and restarting httpd), the horizon dashboard then loads without issue:

WEBROOT = '/dashboard'

My apologies if this is the incorrect place to request this documentation addition.

Thanks!

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: on 2019-04-11 17:44:22
SHA: fd9839a0768842308b3f9ecabafc04b120453994
Source: https://opendev.org/openstack/horizon/src/doc/source/install/install-rdo.rst
URL: https://docs.openstack.org/horizon/train/install/install-rdo.html

See original description
暂无评论

发送评论 编辑评论


				
|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇