- c - 在位数组中找到第一个零
- linux - Unix 显示有关匹配两种模式之一的文件的信息
- 正则表达式替换多个文件
- linux - 隐藏来自 xtrace 的命令
这是我做的:
1) 使用命令克隆 devstack kilo:
git 克隆 https://github.com/openstack-dev/devstack.git -b稳定/公斤
2) cd 开发栈
3)./堆栈.sh
在 ubuntu 上安装 devstack kilo 时出现以下错误。
You are using pip version 7.1.2, however version 8.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
+ local 'test_req=testtools>=0.9.36,!=1.2.0,<2.0.0/test-requirements.txt'
+ [[ -e testtools>=0.9.36,!=1.2.0,<2.0.0/test-requirements.txt ]]
+ pip_install_gr os-testr
+ local name=os-testr
++ get_from_global_requirements os-testr
++ local package=os-testr
+++ grep -i -h '^os-testr' /opt/stack/requirements/global-requirements.txt
+++ cut -d# -f1 grep: /opt/stack/requirements/global-requirements.txt: No such file or directory
++ local required_pkg=
++ [[ '' == '' ]]
++ die 142 'Can'\''t find package os-testr in requirements'
++ local exitcode=0
++ set +o xtrace [ERROR] /home/nikhil/devstack/inc/python:142 Can't find package os-testr in requirements
+ local 'clean_name=[Call Trace] ./stack.sh:715:pip_install_gr /home/nikhil/devstack/inc/python:63:get_from_global_requirements /home/nikhil/devstack/inc/python:142:die'
+ pip_install '[Call' 'Trace]' ./stack.sh:715:pip_install_gr /home/nikhil/devstack/inc/python:63:get_from_global_requirements /home/nikhil/devstack/inc/python:142:die
++ set +o
++ grep xtrace
+ local 'xtrace=set -o xtrace'
+ set +o xtrace
+ sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS=file:///opt/stack/.wheelhouse /usr/local/bin/pip install '[Call' 'Trace]' ./stack.sh:715:pip_install_gr /home/nikhil/devstack/inc/python:63:get_from_global_requirements /home/nikhil/devstack/inc/python:142:die Exception: Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 211, in main
status = self.run(options, args) File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 282, in run
wheel_cache File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 272, in populate_requirement_set
wheel_cache=wheel_cache File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 213, in from_line
wheel_cache=wheel_cache, constraint=constraint) File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 67, in __init__
req = pkg_resources.Requirement.parse(req) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2980, in parse
reqs = list(parse_requirements(s)) File "/usr/local/lib/python2.7/dist-packages/pip/_vendor/pkg_resources/__init__.py", line 2911, in parse_requirements
raise RequirementParseError("Missing distribution spec", line) RequirementParseError: Missing distribution spec [Call You are using pip version 7.1.2, however version 8.0.2 is available. You should consider upgrading via the 'pip install --upgrade pip' command.
+ exit_trap
+ local r=2
++ jobs -p
+ jobs=
+ [[ -n '' ]]
+ kill_spinner
+ '[' '!' -z '' ']'
+ [[ 2 -ne 0 ]]
+ echo 'Error on exit' Error on exit
+ generate-subunit 1455806136 50 fail ./stack.sh: line 463: generate-subunit: command not found
截图如下:
我认为错误是由python包引起的。我更新了 python 并再次尝试但无济于事。
错误是什么,我该如何解决?
最佳答案
在你的命令行中:
sudo apt-get install python-pip
sudo pip install --upgrade pip
sudo pip install -U os-testr
这对我来说很好......
关于python - 在 ubuntu 上安装 devstack kilo 时如何解决这个错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35509995/
关注官方documentation ,我正在尝试在虚拟机上的 Ubuntu 18.04 Server 操作系统上部署 Devstack。 devstack 节点只有一个网卡 (ens160),连接到具
devstack是否完全安装了openstack?我在某处读到,devStack 不是也从来没有打算成为一个通用的 OpenStack 安装程序。那么 devstack 实际安装了什么?是否有其他脚本
+functions:wait_for_service:407 +lib/glance:start_glance:355 +functions-common:die:186 [Call Trace]
我正在尝试按照 here 的教程安装 DevStack 它说我必须以非root用户身份运行./stack.sh,我确实这么做了。但我收到这个错误。 ++ [[ -n False ]] ++ [[ Fa
我正在尝试在 CentOS 系统上安装 DevStack。我已经为运行 stack.sh 执行了必要的设置,但是当我运行它时,我遇到了以下故障: Installing collected packag
我正在通过 this 在我的本地机器上安装 OpenStack关联。但是我无法从本地计算机中完全删除已安装的组件。我运行了以下命令:- $ sudo ./unstack.sh tgtadm: can'
我想使用 openstack 创建几个安装了 ubuntu 的实例。 我尝试了以下步骤 方法一 安装的 icehouse devstack git clone -b stable/icehouse h
我已经安装了 devstack到干净的 Ubuntu 机器。我可以通过 http://localhost/auth/login/ 访问 OpenStack 仪表板。但是,我不知道如何管理用户或我的初始
我已经安装了 devstack到干净的 Ubuntu 机器。我可以通过 http://localhost/auth/login/ 访问 OpenStack 仪表板。但是,我不知道如何管理用户或我的初始
我们试图在 Redhat Linux 上安装 openstack-devstack。当我执行下面的命令时 [stack@xyz123 devstack]$ ./stack.sh 在安装过程
我正在尝试在 Ubuntu 18.04 中安装 DevStack (stable/stein)。我已经安装了python 3.6.8。我遇到超时问题,并说placement-api 未启动。 是否有任
大约 3 周前,我一直在尝试在本地安装 Solum(首先在 Windows 上,然后在 Ubuntu 上),但没有成功。 我尝试过四种不同的尝试: 答:Installing m2 demo of So
如何重新启动使用 devstack 安装的特定 openstack-service? 最佳答案 重新加入堆栈屏幕为 ./rejoin-stack.sh 并使用 ctrl+a+"移动到指定的服务页面,然
自从我使用 OpenStack 版本“Liberty”安装 devstack 以来,我遇到了一个奇怪的问题。我可以在机器上创建实例并通过 SSH 连接到它们,没有任何问题。 devstack 创建为单
当我尝试在调用跟踪后执行 ./stack.sh 时,我收到以下错误: `[Call Trace] ./stack.sh:217:source /home/work/devstack/stackrc
我正在尝试安装 devstack 火车 在 ubuntu并得到以下错误: ContextualVersionConflict: (glance-store 0.28.1(/usr/local/lib/
我目前在安装 Devstack 时遇到问题(用于分配) 安装过程中,在终端运行/stack.sh命令,出现如下错误: stack.sh 失败 退出时出错 世界倾倒......详情见/opt/stack
这是我做的: 1) 使用命令克隆 devstack kilo: git 克隆 https://github.com/openstack-dev/devstack.git -b稳定/公斤 2) cd 开
我一直在尝试在 Virtualbox 中的 Ubuntu 20 OS VM 上安装 Openstack 并收到以下错误。 [Call Trace] ./stack.sh:1311:start_glan
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
我是一名优秀的程序员,十分优秀!