1. 下载
https://launchpad.net/openstack-dashboard
2. 安装
2.1
python tools/install_venv.py
安装过程中由于公司网络问题,无法通过git下载安装openstack和openstackx
则手头进行修改如下,
2.2 下载到响应目录下:
wget https://github.com/jacobian/openstack.compute/tarball/master
mv jacobian-openstack.compute-89c5c6a ./.dashboard-venv/src/openstack
wget https://github.com/cloudbuilders/openstackx/tarball/master
mv cloudbuilders-openstackx-f9574f0 ./.dashboard-venv/src/openstackx
2.3 修改tools/pip-requires
file:///home/nii/src/od/openstack-dashboard/.dashboard-venv/src/openstack#egg=openstack
file:///home/nii/src/od/openstack-dashboard/.dashboard-venv/src/openstackx#egg=openstackx
#-e git://github.com/jacobian/openstack.compute.git#egg=openstack
#-e git://github.com/cloudbuilders/openstackx.git#egg=openstackx
2.4 再执行
python tools/install_venv.py
2.5
tools/with_venv.sh dashboard/manage.py syncdb
tools/with_venv.sh dashboard/manage.py runserver 0.0.0.0:8000
但是安装完成后,发现中间并没有提示admin的用户名和密码,导致一直无法登陆,,
唉,网上的设置和安装文档都是过时的,安装包就是一个README用于安装,如何设置一无所知。。。很无奈