devstack 安装失败的暴风雨测试要求
devstack installation failing tempest test-requirements
我在 VirtualBox + Ubuntu 环境中通过 devstack 安装 openstack 时出现以下错误
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
我正在尝试安装 master 分支,因此安装不断失败
git clone https://github.com/openstack-dev/devstack.git
最近的 devstack 更改破坏了网络路由。您可以通过 运行 devstack/unstack.sh 脚本恢复。
此网络问题导致无法访问 pypi 存储库,除非您恰好已经在正确的子网上。将以下行添加到您的 local.conf 预计可以临时解决此问题:
SUBNETPOOL_PREFIX_V4=10.1.0.0/24
我在 VirtualBox + Ubuntu 环境中通过 devstack 安装 openstack 时出现以下错误
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
我正在尝试安装 master 分支,因此安装不断失败
git clone https://github.com/openstack-dev/devstack.git
最近的 devstack 更改破坏了网络路由。您可以通过 运行 devstack/unstack.sh 脚本恢复。
此网络问题导致无法访问 pypi 存储库,除非您恰好已经在正确的子网上。将以下行添加到您的 local.conf 预计可以临时解决此问题:
SUBNETPOOL_PREFIX_V4=10.1.0.0/24