当前位置:网站首页>Openstack uses devstack to install. After installation, the dashboard reports an internal server error
Openstack uses devstack to install. After installation, the dashboard reports an internal server error
2022-04-22 17:10:00 【Hengrui】
I set up two virtual machines locally , utilize devstack One key deployment openstack, One as the control node , The other is the computing node , The installation process is also quite tortuous , In short, I read the newspaper wrong , Try more , Mostly because of the speed of the Internet , You can switch to the domestic image source , And then it's all about trying , Every time ./stack.sh You'd better clean it up and use it before ./unstack.sh, The success rate will be higher .
I installed rockey, During installation, you will be prompted python The version is not suitable , I'll take the original 2.7 Version switch to 3.6 edition , After the successful installation , But there will be an error report , The error page is like this

adopt sudo vim /var/log/apache2/horizon_error.log, see apache2 The error log found for is python module The error report cannot be found, resulting in 500, But I found many ways on the Internet , The general treatment is to add configuration to solve , stay /etc/apache2/sites-available/horizon.conf Add... To the configuration file WSGIApplicationGroup %{GLOBAL}, But after checking, I found that it was not caused by this problem , Then it got stuck .
Then try to configure it manually horizon, Attach official website link
utilize openstack-dashboard install
After manual configuration, an error will also be reported , Finally, I found it by chance WSGI script cannot be loaded as Python module The solution
Attach a link https://stackoverflow.com/questions/6454564/target-wsgi-script-cannot-be-loaded-as-python-module
The solution is to uninstall python2 The components of , install python3 Of wsgi Components , Finally solve the error report , Record here
sudo apt-get remove libapache2-mod-python libapache2-mod-wsgi
sudo apt-get install libapache2-mod-wsgi-py3
版权声明
本文为[Hengrui]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221648467659.html
边栏推荐
- 【深度学习】动手学深度学习 pytorch版
- list转map 及Duplicate key.md
- The recursive return value in JS is undefined
- The most expensive new shares in 2022 are coming. Xiaomi and Huawei earn 10 times
- Notes on deep learning (I) -- loss function
- 测试人生 | 毕业2年未满,0经验拿下知名互联网企业30W 年薪,他是怎么做到的?
- Shiro cache management
- 参数估计与假设校验----MATLAB
- 电商价格数据监测接口/品牌商品控价接口/商品数据分析接口/比价搜索API接口,超详细的接口对接说明
- Triple pressure of Xiaoxiong electric appliance: expansion, inventory and competitors
猜你喜欢

Triple pressure of Xiaoxiong electric appliance: expansion, inventory and competitors

Kubernetes详解(七)——Service对象部署和应用

今天又出bug了,在用到mogoDb查询数据时,发现返回的数据为null...

《KNN与K-means从入门到实战》

全网征集!说说你跟宜搭之间的故事吧

LeetCode刷题计划——单调数列

ASP.NET Core实现JWT授权与认证(2.实战篇)

MATLAB---回归分析

Typical application scenarios of alicloud log service SLS

蕉下在走完美日记的老路
随机推荐
MATLAB---回归分析
ES6 Generator函数和async函数
MySQL笔记(基础篇)
《KNN与K-means从入门到实战》
Sqlalchemy过滤时间
云原生大厦的基石之一「云原生可观测性」
ASP. Net core to realize JWT authorization and authentication (2. Practical part)
Shiro cache management
Respectful and modest
Use appcube to quickly build 5g message service number with zero threshold
在文件夹中查找字符串
Abstract DPP
蕉下在走完美日记的老路
基于深度学习的日志数据异常检测
查看论文是否被SCI检索
Remix connects the test chain and the arbor layer 2 network
Vscode plug-in package migration and specified location
How to select ECS
leetcode:23. 合并K个升序链表
Network wide solicitation! Tell me the story between you and Yida