OpenStack Murano Dashboard(Kilo)安装
2019独角兽企业重金招聘Python工程师标准>>> 
官方文档是安装到虚拟环境中去,且其中的步骤有些问题,这里总结下做备忘。
##前提
murano服务已经安装好openstack dashboard已经安装- 系统: ubuntu14.04
##安装
-
下载Dashboard
$ cd ~/murano$ git clone git://git.openstack.org/openstack/murano-dashboard -
切换到
stable/kilo分支cd murano-dashboardgit checkout -t origin/stable/kilo -
安装依赖
pip install -r requirements.txt -
安装Murano Dashboard到系统中
python setup.py install -
在Openstack Dashboard中启用Murano Dashboard
复制模板:
cp muranodashboard/local/_50_murano.py /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/注释掉
ADD_JS_FILES那几行:# vim /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/_50_murano.pyfrom muranodashboard import exceptions# The name of the dashboard to be added to HORIZON['dashboards']. Required.DASHBOARD = 'murano'# If set to True, this dashboard will not be added to the settings.DISABLED = FalseADD_INSTALLED_APPS = ['muranodashboard',]ADD_EXCEPTIONS = {'recoverable': exceptions.RECOVERABLE,'not_found': exceptions.NOT_FOUND,'unauthorized': exceptions.UNAUTHORIZED,}#ADD_JS_FILES = [# 'muranodashboard/js/murano.service.js'#] -
链接static目录
ps: 修改
/opt/murano/murano-dashboard/muranodashboard/static/muranodashboard/为自己的路径ln -s /opt/murano/murano-dashboard/muranodashboard/static/muranodashboard/ /usr/share/openstack-dashboard/openstack_dashboard/static/muranodashboard -
在
local_setttings.py添加下面内容# vim /etc/openstack-dashboard/local_settings.pyMURANO_API_URL = 'http://localhost:8082' -
重启OpenStack Dashboard
转载于:https://my.oschina.net/fmnisme/blog/502841
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!
