Skip to content

Instantly share code, notes, and snippets.

@silenius
Created May 31, 2016 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silenius/63ac2472d674ba9756feb5ebb7a1bd56 to your computer and use it in GitHub Desktop.
Save silenius/63ac2472d674ba9756feb5ebb7a1bd56 to your computer and use it in GitHub Desktop.
jcigar@dev:~/ > salt 'sandbox.lan' cp.get_url http://apache.belnet.be/lucene/solr/6.0.1/solr-6.0.1.tgz /tmp/foo.tgz
sandbox.lan:
The minion function caused an exception: Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/salt/minion.py", line 1071, in _thread_return
return_data = func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/salt/modules/cp.py", line 311, in get_url
return __context__['cp.fileclient'].get_url(path, dest, False, saltenv)
File "/usr/local/lib/python2.7/site-packages/salt/fileclient.py", line 677, in get_url
**get_kwargs
File "/usr/local/lib/python2.7/site-packages/salt/utils/http.py", line 440, in query
**req_kwargs
File "/usr/local/lib/python2.7/site-packages/tornado/httpclient.py", line 102, in fetch
self._async_client.fetch, request, **kwargs))
File "/usr/local/lib/python2.7/site-packages/tornado/ioloop.py", line 453, in run_sync
return future_cell[0].result()
File "/usr/local/lib/python2.7/site-packages/tornado/concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "<string>", line 3, in raise_exc_info
error: [Errno 47] Address family not supported by protocol family
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment