lago-project / lago

Ad-hoc virtual testing environment framework
http://lago.readthedocs.org
GNU General Public License v2.0
47 stars 39 forks source link

Lago init issue. Possible proxy set requirement? How to set? #801

Open rappsApps opened 4 years ago

rappsApps commented 4 years ago

Getting this error during init.

Assuming the issue is the no route to host, so wanted to set proxy, but there is nowhere in lago.conf or the lago commands to do this? Maybe im missing it.

[root@dub-svrfarm27 lago]# 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:15)
* Create disk root: ERROR (in 0:00:15)

Create disks for VM lago-basic-suite-4-3-engine: ERROR (in 0:00:15)

Missing current link, setting it to default

@ Initialize and populate prefix: ERROR (in 0:00:15) 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 644, in download temp_ver.download(temp_dest) File "/usr/lib/python2.7/site-packages/lago/templates.py", line 527, in download self._source.download_image(self._handle, destination) File "/usr/lib/python2.7/site-packages/lago/templates.py", line 195, 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 347, in open_http 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 833, in connect self.timeout, self.source_address) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err IOError: [Errno socket error] [Errno 113] No route to host**