学习opensatck的第一步是安装DevStack来进行本机操作
1. 下面命令没有权限,解决办法:切换到root用户下执行sudo -s
echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
2. 执行下面命令提示没有git,解决办法:sudo apt-get install git
git clone https://git.openstack.org/openstack-dev/devstack
3. generate subunit command not found
原因在于python相关东西没有安装
解决办法:
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo pip install -U os-testr
4. stack没有对~/.cache操作的权限
# sudo chown -R stack .cache/
5. generate-subunit 1487854677 122 fail
see /opt/stack/logs/worlddump-2017-02-23-130000.txt for details
待解决中..
http://www.tuicool.com/articles/RZJjyu
6. 下载失败,重新尝试
Downloading Babel-2.3.4-py2.py3-none-any.whl --
Downloading keystoneauth1-2.18.0-py2.py3-none-any.whl (241kB