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

[jira] [Resolved] (ARIA-248) Applying tracked changes error handling is not robust

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

Ran Ziv resolved ARIA-248.
--------------------------
    Resolution: Fixed
      Assignee: Maxim Orlov

Became irrelevant after fix for related issue ARIA-185

> Applying tracked changes error handling is not robust
> -----------------------------------------------------
>
>                 Key: ARIA-248
>                 URL: https://issues.apache.org/jira/browse/ARIA-248
>             Project: AriaTosca
>          Issue Type: Bug
>            Reporter: Maxim Orlov
>            Assignee: Maxim Orlov
>
> When executing operations using {{ProcessExecutor}}, writes to the storage don't actually happen from the process running the operation, but rather from its parent process. The tracking of changes and information to store, as well as their transfer to the parent process, take place in the {{instrumentation}} module.
> When the {{instumentation}} module tries to apply tracked changes and fails for some reason, [it tries to log a message|https://github.com/apache/incubator-ariatosca/blob/master/aria/storage/instrumentation.py#L259] containing the attributes and instances  it did manage to update.
> However, if one of those attributes is a [{{_STUB}}|https://github.com/apache/incubator-ariatosca/blob/master/aria/storage/instrumentation.py#L27], {{json.dumps}} fails to decode it and an error is raised.



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