[ 
https://issues.apache.org/jira/browse/ARIA-274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ran Ziv resolved ARIA-274.
--------------------------
    Resolution: Won't Fix

The problem is caused because {{localhost}} isn't configured to point at 
{{127.0.0.1}}.
This is usually configured at {{/etc/hosts}}.

It seems like macOS Sierra broke something related to that, and that manual 
workarounds need to take place on the relevant platform. See 
[this|https://apple.stackexchange.com/questions/253817/cannot-ping-my-local-machine]
 for a fix.

Related links:
[1|https://apple.stackexchange.com/questions/268648/problems-with-localhost-after-sierra-update],
 
[2|https://medium.com/@willekens/did-upgrading-to-macos-sierra-break-your-localhost-personal-webserver-1827873dec20],
 
[3|https://stackoverflow.com/questions/39968792/socket-gethostbyname-unable-to-find-local-hostname-after-updating-to-mac-osx-sie].

> Socket error when executing a workflow on macOS Sierra
> ------------------------------------------------------
>
>                 Key: ARIA-274
>                 URL: https://issues.apache.org/jira/browse/ARIA-274
>             Project: AriaTosca
>          Issue Type: Bug
>            Reporter: Ran Ziv
>            Assignee: Ran Ziv
>            Priority: Minor
>
> Tried running the {{hello-world}} example on a macOS Sierra environment, and 
> got the following error:
> {code}
> (tmp-c6a8bca7710a2f0f)➜  my-dir aria executions start install -s hello -vvv
> Traceback (most recent call last):
>   File "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/bin/aria", line 11, in 
> <module>
>     load_entry_point('aria==0.1.0', 'console_scripts', 'aria')()
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/cli/main.py",
>  line 54, in main
>     _aria()
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/click/core.py",
>  line 664, in __call__
>     return self.main(*args, **kwargs)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/click/core.py",
>  line 644, in main
>     rv = self.invoke(ctx)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/click/core.py",
>  line 991, in invoke
>     return _process_result(sub_ctx.command.invoke(sub_ctx))
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/click/core.py",
>  line 991, in invoke
>     return _process_result(sub_ctx.command.invoke(sub_ctx))
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/click/core.py",
>  line 837, in invoke
>     return ctx.invoke(self.callback, **ctx.params)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/click/core.py",
>  line 464, in invoke
>     return callback(*args, **kwargs)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/cli/core/aria.py",
>  line 204, in wrapper
>     return func(model_storage=env.model_storage, *args, **kwargs)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/cli/core/aria.py",
>  line 216, in wrapper
>     return func(resource_storage=env.resource_storage, *args, **kwargs)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/cli/core/aria.py",
>  line 192, in wrapper
>     return func(plugin_manager=env.plugin_manager, *args, **kwargs)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/cli/core/aria.py",
>  line 180, in wrapper
>     return func(logger=logger, *args, **kwargs)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/cli/commands/executions.py",
>  line 139, in start
>     executor, task_max_attempts, task_retry_interval)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/orchestrator/workflow_runner.py",
>  line 87, in __init__
>     executor = executor or ProcessExecutor(plugin_manager=plugin_manager)
>   File 
> "/Users/xxx/.virtualenvs/tmp-c6a8bca7710a2f0f/lib/python2.7/site-packages/aria/orchestrator/workflows/executor/process.py",
>  line 87, in __init__
>     self._server_socket.bind(('localhost', 0))
>   File 
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py",
>  line 228, in meth
>     return getattr(self._sock,name)(*args)
> gaierror: [Errno 8] nodename nor servname provided, or not known
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to