Devstack 脚本错误
Devstack script error
我从 github 下载了一个用于下载 devstack 的脚本。
脚本的 link 是:Devstack script
它给出了以下错误:
2016-07-21 05:11:21.594 | Obtaining horizon from git+git://github.com/openstack/horizon.git#egg=horizon (from -r /opt/stack/trove-dashboard/test-requirements.txt (line 5))
2016-07-21 05:11:21.595 | Cloning git://github.com/openstack/horizon.git to ./src/horizon
2016-07-21 05:11:32.092 | fatal: unable to connect to github.com:
2016-07-21 05:11:32.092 | github.com[0: 192.30.253.112]: errno=Connection refused
2016-07-21 05:11:32.092 |
2016-07-21 05:11:32.093 | Command "git clone -q git://github.com/openstack/horizon.git /opt/stack/devstack/src/horizon" failed with error code 128 in None
2016-07-21 05:11:32.357 | +inc/python:pip_install:1 exit_trap
2016-07-21 05:11:32.364 | +./stack.sh:exit_trap:474 local r=1
2016-07-21 05:11:32.371 | ++./stack.sh:exit_trap:475 jobs -p
2016-07-21 05:11:32.377 | +./stack.sh:exit_trap:475 jobs=
2016-07-21 05:11:32.383 | +./stack.sh:exit_trap:478 [[ -n '' ]]
2016-07-21 05:11:32.389 | +./stack.sh:exit_trap:484 kill_spinner
2016-07-21 05:11:32.395 | +./stack.sh:kill_spinner:370 '[' '!' -z '' ']'
2016-07-21 05:11:32.400 | +./stack.sh:exit_trap:486 [[ 1 -ne 0 ]]
2016-07-21 05:11:32.406 | +./stack.sh:exit_trap:487 echo 'Error on exit'
2016-07-21 05:11:32.406 | Error on exit
2016-07-21 05:11:32.412 | +./stack.sh:exit_trap:488 generate-subunit 1469077117 775 fail
2016-07-21 05:11:32.716 | +./stack.sh:exit_trap:489 [[ -z /opt/stack/logs ]]
2016-07-21 05:11:32.722 | +./stack.sh:exit_trap:492 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-07-21 05:11:33.239 | +./stack.sh:exit_trap:498 exit 1
简单的git clone -q git://github.com/openstack/horizon.git
是运行并通过代理网关下载。
但是,它在 git+git://github.com/openstack/horizon.git#egg=horizon
上给出错误
第 5 行有此代码 = -e git://github.com/openstack/horizon.git#egg=horizon
在 trove-deshboard/test-requirements.txt
中编辑此文件
第5行有这段代码=
-e git+https://github.com/openstack/horizon.git#egg=horizon
我从 github 下载了一个用于下载 devstack 的脚本。
脚本的 link 是:Devstack script
它给出了以下错误:
2016-07-21 05:11:21.594 | Obtaining horizon from git+git://github.com/openstack/horizon.git#egg=horizon (from -r /opt/stack/trove-dashboard/test-requirements.txt (line 5))
2016-07-21 05:11:21.595 | Cloning git://github.com/openstack/horizon.git to ./src/horizon
2016-07-21 05:11:32.092 | fatal: unable to connect to github.com:
2016-07-21 05:11:32.092 | github.com[0: 192.30.253.112]: errno=Connection refused
2016-07-21 05:11:32.092 |
2016-07-21 05:11:32.093 | Command "git clone -q git://github.com/openstack/horizon.git /opt/stack/devstack/src/horizon" failed with error code 128 in None
2016-07-21 05:11:32.357 | +inc/python:pip_install:1 exit_trap
2016-07-21 05:11:32.364 | +./stack.sh:exit_trap:474 local r=1
2016-07-21 05:11:32.371 | ++./stack.sh:exit_trap:475 jobs -p
2016-07-21 05:11:32.377 | +./stack.sh:exit_trap:475 jobs=
2016-07-21 05:11:32.383 | +./stack.sh:exit_trap:478 [[ -n '' ]]
2016-07-21 05:11:32.389 | +./stack.sh:exit_trap:484 kill_spinner
2016-07-21 05:11:32.395 | +./stack.sh:kill_spinner:370 '[' '!' -z '' ']'
2016-07-21 05:11:32.400 | +./stack.sh:exit_trap:486 [[ 1 -ne 0 ]]
2016-07-21 05:11:32.406 | +./stack.sh:exit_trap:487 echo 'Error on exit'
2016-07-21 05:11:32.406 | Error on exit
2016-07-21 05:11:32.412 | +./stack.sh:exit_trap:488 generate-subunit 1469077117 775 fail
2016-07-21 05:11:32.716 | +./stack.sh:exit_trap:489 [[ -z /opt/stack/logs ]]
2016-07-21 05:11:32.722 | +./stack.sh:exit_trap:492 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2016-07-21 05:11:33.239 | +./stack.sh:exit_trap:498 exit 1
简单的git clone -q git://github.com/openstack/horizon.git
是运行并通过代理网关下载。
但是,它在 git+git://github.com/openstack/horizon.git#egg=horizon
第 5 行有此代码 = -e git://github.com/openstack/horizon.git#egg=horizon
在 trove-deshboard/test-requirements.txt
中编辑此文件第5行有这段代码= -e git+https://github.com/openstack/horizon.git#egg=horizon