REF:
1. RDO封装的很好了。细节看不到,但是准备环境比较烦。 我这个Rhel 7.2 安装了两个 group. 禁用Selinux. 禁用NetworkManager,改用network.然后重启安装依赖包。
-
Server with GUI
-
Development Tools
-
systemctl disable NetworkManager
-
systemctl stop NetworkManager
-
systemctl enable network
-
sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/selinux/config
2. EPEL 我已经提前安装了,记录下碰到的问题.
下面的包都需要装,有些是EPEL的包,而且我这个机器装了pyenv,pip ,多个版本的python,ruby的包管理gem.
-
pyenv versions
-
system
-
* 3.4.3 (set by /root/.python-version)
-
yum install libselinux-ruby
-
yum install PyPAM python-ldap python-memcached python-zope-interface mod_wsgi python-suds scipy python-cheetah python-rtslib sysfsutils targetcli
-
yum install libvirt-python python-werkzeug net-snmp python-libguestfs libvirt-daemon-config-nwfilter keepalived ipset python-webtest dnsmasq-utils libxslt-python
-
yum install memcached xinetd
-
yum install graphviz perl-DBI perl-DBD-MySQL MySQL-python
其中python-werkzeug 需要从rpmfind 下载一个CentOS7.2 用的包。
-
wget ftp://rpmfind.net/linux/centos/7.2.1511/extras/x86_64/Packages/python-werkzeug-0.9.1-2.el7.noarch.rpm
-
rpm -i python-werkzeug-0.9.1-2.el7.noarch.rpm
卸载的有:
-
rpm -e wxGTK-2.8.12-20.el7.x86_64 --nodeps
-
rpm -e mediainfo-gui-0.7.82-1.el7.x86_64
-
rpm -e wxBase-2.8.12-20.el7.x86_64
-
pip uninstall requests
安装命令:
-
packstack --allinone --default-password=pass
完成就可以用admin/pass 登陆dashboard.
另外生成了两个rc文件,是为了访问不同的tenant(project)
-
4 -rw------- 1 root root 225 Mar 15 21:41 keystonerc_admin
-
4 -rw------- 1 root root 225 Mar 15 21:41 keystonerc_demo
source 一下,即可使用openstack命令去query.
-
source keystonerc_admin
-
openstack user list
关闭服务后,要手动启动rabbitmq-server,我发现neutron的log里面报了大量的AQMP -Server无法连接的错。
-
ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on XX.XX.XX.XX:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds
-
openstack-service stop
-
systemctl start rabbitmq-server
-
openstack-service start
阅读(1764) | 评论(0) | 转发(0) |