horizon_note(openstack dashboard)

本文介绍了如何修改和扩展OpenStack Horizon的系统面板功能,强调了文件路径和映射关系,以及开发dashboard时的注意事项。此外,还讲解了配置Django数据库的方法,包括设置默认数据库和处理多个数据库的情况。最后提到了解决OpenStack Dashboard登录验证错误的问题,归因于SELinux策略导致HTTPD无法访问网络,并提供了开启相应权限的命令。
摘要由CSDN通过智能技术生成
note1:
ImportError: Could not import settings 'openstack_dashboard.settings' (Is it on sys.path?): No module named cinderclient
solution:
cp openstack_dashboard/local/local_settings.py.example openstack_dashboard/local/local_settings.py

note2:
/usr/bin/env: node: No such file or directory
solution:
installing the latest node from source:
git clone https://github.com/joyent/node.git
cd node
git checkout v0.8.22 #Try checking nodejs.org for what the stable version is
./configure
make
sudo make install

note3:
./run_tests.sh
error: command 'gcc' failed with exit status 1 while installing eventlet
solution:

sudo apt-get install python-dev


note4:

系统面板功能改写,添加

路径:/usr/lib/python2.7/dist-packages/horizon/dashboards/syspanel/

其中的文件会映射到/user/sha

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值