学习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
 

相关文章:

  • 2021-08-21
  • 2021-05-31
  • 2021-06-28
  • 2021-05-20
  • 2022-12-23
  • 2021-07-31
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-04
  • 2021-06-17
  • 2021-04-10
  • 2022-02-13
  • 2022-12-23
  • 2021-07-19
  • 2022-12-23
相关资源
相似解决方案