devstack安装OpenStack过程中的常见问题

网友投稿 966 2022-05-25

常见问题

1.执行./stack.sh报错:stack.sh failing giving error “g-api did not start”

清理安装再重新安装:

./unstack.sh && ./clean.sh ./stack.sh

2.执行./stack.sh下载cirrors镜像时连接超时

在网络上找到cirros-0.3.0-x86_64-disk.img镜像文件,下载后拷贝至/opt/stack/devstack/files/目录下(最后有资源)

3./opt/stack 目录权限问题

devstack安装OpenStack过程中的常见问题

chmod 777 /opt/stack -R

4.用户权限不足,执行./stack.sh报错:

OSError:[Errno13]Permissiondenied:’/usr/local/lib/python2.7/dist-packages/

sudo chown -R stack:stack /usr/local/lib/python2.7

5.执行./stack.sh报错:

WARNING: The directory ‘/opt/stack/.cache/pip/http’ or its parent directory is not owned by the curr

sudo chown -R root /opt/stack/.cache/pip/ sudo chown -R root /opt/stack/.cache/pip/http/

6.执行./stack.sh报错:

env: ‘/opt/stack/requirements/.venv/bin/pip’: No such file or directory

在stack用户devstack目录下:

stack@hjc-virtual-machine:~/devstack$ virtualenv ../requirements/.venv/

或stack用户~目录下执行:virtualenv …/requirements/.venv/

7.执行./stack.sh报错:Cannot uninstall ‘psutil’. It is a distutils installed project

sudo pip install qdarkstyle --ignore-installed

参考博客与资源链接

安装过程:

https://blog.csdn.net/weixin_40275691/article/details/102887245?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

https://blog.csdn.net/hunjiancuo5340/article/details/85005995

https://www.cnblogs.com/love9527/p/8298959.html

处理报错:

https://blog.csdn.net/ANXIN997483092/article/details/81365588

https://blog.csdn.net/qq_41241568/article/details/79615314

https://blog.csdn.net/zswang9/article/details/79684764

https://blog.csdn.net/qq_40907977/article/details/103452775

资源:

etcd文件:百度网盘 https://pan.baidu.com/s/12sFTeuUz6WzXs83hI9VaJw 提取码:4dk5,解压为文件夹后拷贝;

cirrors镜像:百度网盘 https://pan.baidu.com/s/1BPoiWR9MgQ2rIUQ4ZwQsVg 提取码:p6a7,直接拷贝。

云硬盘 EVS OpenStack

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Python 网络编程之序言
下一篇:idea社区版2019.03版本及常用插件分享
相关文章