2016-10-03 42 views
1

我安装的OpenStack的过程中通过devstack得到下面的错误在VirtualBox中+ Ubuntu的环境devstack安装失败的暴风雨测试要求

2016-10-03 06:10:04.370 | Collecting hacking<0.12,>=0.11.0 (from -r /opt/stack/tempest/test-requirements.txt (line 4)) 
2016-10-03 06:11:00.780 | Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f11a8f0dcd0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/hacking/ 
2016-10-03 06:11:57.325 | Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f11a8f23110>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/hacking/ 
2016-10-03 06:12:54.374 | Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f11a8f23250>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/hacking/ 
2016-10-03 06:13:52.429 | Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f11a8f23390>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/hacking/ 
2016-10-03 06:14:52.491 | Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'NewConnectionError('<pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x7f11a8f234d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)': /simple/hacking/ 
2016-10-03 06:15:48.545 | Could not find a version that satisfies the requirement hacking<0.12,>=0.11.0 (from -r /opt/stack/tempest/test-requirements.txt (line 4)) (from versions:) 
2016-10-03 06:15:48.545 | No matching distribution found for hacking<0.12,>=0.11.0 (from -r /opt/stack/tempest/test-requirements.txt (line 4)) 
2016-10-03 06:15:49.404 | +inc/python:pip_install:1     exit_trap 
2016-10-03 06:15:49.435 | +./stack.sh:exit_trap:487     local r=1 
2016-10-03 06:15:49.473 | ++./stack.sh:exit_trap:488     jobs -p 
2016-10-03 06:15:49.513 | +./stack.sh:exit_trap:488     jobs= 
2016-10-03 06:15:49.555 | +./stack.sh:exit_trap:491     [[ -n '' ]] 
2016-10-03 06:15:49.595 | +./stack.sh:exit_trap:497     kill_spinner 
2016-10-03 06:15:49.627 | +./stack.sh:kill_spinner:383    '[' '!' -z '' ']' 
2016-10-03 06:15:49.653 | +./stack.sh:exit_trap:499     [[ 1 -ne 0 ]] 
2016-10-03 06:15:49.692 | +./stack.sh:exit_trap:500     echo 'Error on exit' 
2016-10-03 06:15:49.692 | Error on exit 
2016-10-03 06:15:49.710 | +./stack.sh:exit_trap:501     generate-subunit 1475238914 236435 fail 
2016-10-03 06:15:50.332 | +./stack.sh:exit_trap:502     [[ -z /opt/stack/logs ]] 
2016-10-03 06:15:50.343 | +./stack.sh:exit_trap:505     /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs 
2016-10-03 06:15:55.057 | +./stack.sh:exit_trap:511     exit 1 

我想了解

  • 究竟是什么这个错误报告?
  • 这是链接到我的local.conf文件 ?试图在安装

    git clone https://github.com/openstack-dev/devstack.git -b stable/mitaka 
    

    我试图安装主分支的稳定版本,因此次安装是时间可持续失败

回答

0

问题解决

git clone https://github.com/openstack-dev/devstack.git 
1

有一个最近devstack更改该clobbers网络路由。您可以通过运行devstack/unstack.sh脚本进行恢复。

此网络问题导致pypi存储库无法访问,除非您恰好位于正确的子网上。将以下行添加到local.conf中可望成为此问题的临时修复程序:

SUBNETPOOL_PREFIX_V4 = 10.1.0.0/24