You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by "Ran Ziv (JIRA)" <ji...@apache.org> on 2017/05/04 10:28:04 UTC

[jira] [Created] (ARIA-202) SSH execution assumes '/tmp' for temp directory on the remote machine

Ran Ziv created ARIA-202:
----------------------------

             Summary: SSH execution assumes '/tmp' for temp directory on the remote machine
                 Key: ARIA-202
                 URL: https://issues.apache.org/jira/browse/ARIA-202
             Project: AriaTosca
          Issue Type: Bug
            Reporter: Ran Ziv
            Priority: Minor


https://github.com/apache/incubator-ariatosca/blob/master/aria/orchestrator/execution_plugin/constants.py#L27

This assumes that {{/tmp}} is an acceptable default for a temporary file storage on the OS.

While usually true, it isn't necessarily so. We should really call {{tempfile.gettempdir()}} (on the remote machine) instead of assuming {{/tmp}}.



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