devstack安装OpenStack过程中的常见问题
常见问题
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 目录权限问题
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,直接拷贝。
- 点赞
- 收藏
- 关注作者
评论(0)