尝试在本地机器上运行的 VM(ubuntu 64 位 14.04.3 桌面)上安装 devstack(Kilo)。
它在安装过程中抛出一个 git 错误:
错误:RPC 失败;结果 = 56,HTTP 代码 = 200 | 0 字节/秒
和
[错误] /home/[用户名]/devstack/functions-common:605 git 调用失败:[git clone https://github.com/kanaka/noVNC.git /opt/stack/noVNC]
为了排除故障,我这样做了:
git config --global http.postBuffer 2000M 和 git config pack.windowMemory 1500M
但它没有用!
我尝试安装了很多时间,但它既费时又令人沮丧!..还有什么建议吗?
有关更多错误详细信息,请参阅以下内容。
+ NOVNC_FROM_PACKAGE=False
+ '[' False = True ']'
+ NOVNC_WEB_DIR=/opt/stack/noVNC
+ git_clone https://github.com/kanaka/noVNC.git /opt/stack/noVNC master
+ local git_remote=https://github.com/kanaka/noVNC.git
+ local git_dest=/opt/stack/noVNC
+ local git_ref=master
+ local orig_dir
++ pwd
+ orig_dir=/home/[username]/devstack
+ local git_clone_flags=
++ trueorfalse False RECLONE
++ local xtrace
+++ set +o
+++ grep xtrace
++ xtrace='set -o xtrace'
++ set +o xtrace
+ RECLONE=False
+ [[ 0 -gt 0 ]]
+ [[ False = \T\r\u\e ]]
+ echo master
+ egrep -q '^refs'
+ [[ ! -d /opt/stack/noVNC ]]
+ [[ False = \T\r\u\e ]]
+ git_timed clone https://github.com/kanaka/noVNC.git /opt/stack/noVNC
+ local count=0
+ local timeout=0
+ [[ -n 0 ]]
+ timeout=0
+ timeout -s SIGINT 0 git clone https://github.com/kanaka/noVNC.git /opt/stack/noVNC
Cloning into '/opt/stack/noVNC'...
remote: Counting objects: 4946, done.
error: RPC failed; result=56, HTTP code = 200 | 0 bytes/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
+ [[ 128 -ne 124 ]]
+ die 605 'git call failed: [git clone' https://github.com/kanaka/noVNC.git '/opt/stack/noVNC]'
+ local exitcode=0
+ set +o xtrace
[Call Trace]
./stack.sh:813:stack_install_service
/home/[username]/devstack/lib/stack:31:install_nova
/home/[username]/devstack/lib/nova:748:git_clone
/home/[username]/devstack/functions-common:539:git_timed
/home/[username]/devstack/functions-common:605:die
[ERROR] /home/[username]/devstack/functions-common:605 git call failed: [git clone https://github.com/kanaka/noVNC.git /opt/stack/noVNC]
Error on exit
World dumping... see /opt/stack/logs/worlddump-2015-10-29-012838.txt for details