我从github下载了一个脚本来下载devstack。
脚本的链接是:Devstack script
它出现以下错误:
http://localhost:8080/TestingMerge/TM/Register
简单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
第5行,代码为git+git://github.com/openstack/horizon.git#egg=horizon
答案 0 :(得分:0)
在trove-deshboard / test-requirements.txt中编辑此文件
第5行,代码= -e git + https://github.com/openstack/horizon.git#egg=horizon