UNKNOWN_PROTOCOL выдается ошибка при запуске lago init - PullRequest
0 голосов
/ 21 октября 2019

Я пытался закрепить настройку в Руководстве по установке системного теста

https://ovirt -system-tests.readthedocs.io / en / latest / general / installation / . ..

и у меня возникает проблема, когда я запускаю пакет через run_suite.sh basic-suite-4.3. Это вызывает приведенную ниже команду

lago init /Ray/ovirt-system-tests/deployment-basic-suite-4.3
/Ray/ovirt-system-tests/basic-suite-4.3/LagoInitFile --template-repo-path
/Ray/ovirt-system-tests/basic-suite-4.3/template-repo.json
@ Initialize and populate prefix:
# Initialize prefix:
* Create prefix dirs:
* Create prefix dirs: Success (in 0:00:00)
* Generate prefix uuid:
* Generate prefix uuid: Success (in 0:00:00)
* Create ssh keys:
* Create ssh keys: Success (in 0:00:00)
* Tag prefix as initialized:
* Tag prefix as initialized: Success (in 0:00:00)
# Initialize prefix: Success (in 0:00:00)
# Create disks for VM lago-basic-suite-4-3-engine:
* Create disk root:
- Template phx_repo:el7.6-base-5:v1 not in cache, downloading
- Download image el7.6-base-5:
- Download image el7.6-base-5: ERROR (in 0:00:00)
* Create disk root: ERROR (in 0:00:00)
# Create disks for VM lago-basic-suite-4-3-engine: ERROR (in 0:00:00)
# Missing current link, setting it to default
@ Initialize and populate prefix: ERROR (in 0:00:01)
Error occured, aborting
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 969, in main
cli_plugins[args.verb].do_run(args)
File "/usr/lib/python2.7/site-packages/lago/plugins/cli.py", line 184, in
do_run
self._do_run(**vars(args))
File "/usr/lib/python2.7/site-packages/lago/cmd.py", line 194, in do_init
do_build=not skip_build,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1113, in
virt_conf_from_stream
do_build=do_build
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1228, in
virt_conf
template_store=template_store,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1133, in
_prepare_domains_images
template_store=template_store,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1155, in
_prepare_domain_image
template_store=template_store,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 1183, in
_create_disks
template_store=template_store,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 669, in
_create_disk
template_store=template_store,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 798, in
_handle_template
template_repo=template_repo,
File "/usr/lib/python2.7/site-packages/lago/prefix.py", line 935, in
_handle_lago_template
template_store.download(template_version)
File "/usr/lib/python2.7/site-packages/lago/templates.py", line 645, in
download
temp_ver.download(temp_dest)
File "/usr/lib/python2.7/site-packages/lago/templates.py", line 528, in
download
self._source.download_image(self._handle, destination)
File "/usr/lib/python2.7/site-packages/lago/templates.py", line 196, in
download_image
self.open_url(url=handle, dest=dest)
File "/usr/lib/python2.7/site-packages/lago/templates.py", line 148, in
open_url
dest=dest,
File "/usr/lib/python2.7/site-packages/lago/templates.py", line 153, in
open_url
response = urllib.urlopen(full_url)
File "/usr/lib64/python2.7/urllib.py", line 87, in urlopen
return opener.open(url)
File "/usr/lib64/python2.7/urllib.py", line 210, in open
return getattr(self, name)(url)
File "/usr/lib64/python2.7/urllib.py", line 439, in open_https
h.endheaders(data)
File "/usr/lib64/python2.7/httplib.py", line 1052, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 890, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 852, in send
self.connect()
File "/usr/lib64/python2.7/httplib.py", line 1275, in connect
server_hostname=sni_hostname)
File "/usr/lib64/python2.7/ssl.py", line 348, in wrap_socket
_context=self)
File "/usr/lib64/python2.7/ssl.py", line 609, in __init__
self.do_handshake()
File "/usr/lib64/python2.7/ssl.py", line 831, in do_handshake
self._sslobj.do_handshake()
IOError: [Errno socket error] [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:618)

Я попытался установить http_config для нашего прокси, но это не меняет ошибку

...