Centos下使用packstack安装openstack allinone版本

来源:互联网 发布:sql查询例题 编辑:程序博客网 时间:2024/06/05 20:29

官网教程:Packstack quickstart: Proof of concept for single node
Github上的教程:Packstack

不过不建议用官网的教程,亲测好难用,用的是Github上的那个教程,中间出现了很多问题,多谢H师兄和NP耐心的教我。

第一次用Centos,也是第一次接触openstack,之前只是看过简介之类的,自己装还是很头疼的。

按照github上那个教程,记录一下遇到的问题

1 Failed to set RDO repo on host
这个问题搞了一天也没弄好,最后是H师兄发现的,是我之前按照官网上装的有问题,他帮我卸载掉之后就好了。

2 Package python-aodhclient has not been found in enabled Yum repos
说白了就是少了python-aodhclient,Yum里面也没有这个安装包,最后找到了RPM包手动装上的。

附上链接:

http://ftp.riken.jp/Linux/centos/7/cloud/x86_64/openstack-mitaka/



第二次装遇到的问题:


1. Python.h: No such file or directory

yum search python | grep python-develsudo yum install python-devel.x86_64

2. ffi.h: No such file or directory

yum install libffi-devel.x86_64

3. openssl/aes.h: No such file or directory

yum install openssl-devel.x86_64

4. yaml.h: No such file or directory

yum install ncurses-devel.x86_64

5. 遇到 cffi 和 netaddr 版本太低的问题

#装pip,把那两个卸载了,装最新的yum install python-pip#查看软件版本pip list#卸载pip uninstall xxx#安装pip install xxx

6. 装allinon的时候总遇到

puppet heria not available

执行一下以下的命令就可以了

yum -y install https://rdo.fedorapeople.org/rdo-release.rpmyum -y update


Once the process is complete, you can log in to the OpenStack web interface Horizon by going to http://$YOURIP/dashboard. The user name is admin. The password can be found in the file keystonerc_admin in the /root directory of the control node.

0 0