You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Phil Zampino (JIRA)" <ji...@apache.org> on 2018/04/20 13:08:00 UTC

[jira] [Reopened] (KNOX-1253) [Admin-ui] Deleting an un referenced provider file gives wrong message on UI

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

Phil Zampino reopened KNOX-1253:
--------------------------------
      Assignee: Phil Zampino

With Knox in the cluster with ZooKeeper, the ZooKeeper interactions are much more responsive. When a request is made to delete a provider config, Knox (if configured for remote config monitoring) will delete the remote record, then subsequently delete the local file. In this case, Knox receives the notification of the remote deletion before it attempts to delete the local file. When the local file deletion is attempted, it fails because it no longer exists, and the API reports that it could not be deleted.

> [Admin-ui] Deleting an un referenced provider file gives wrong message on UI
> ----------------------------------------------------------------------------
>
>                 Key: KNOX-1253
>                 URL: https://issues.apache.org/jira/browse/KNOX-1253
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: AdminUI
>    Affects Versions: 0.14.0
>            Reporter: J.Andreina
>            Assignee: Phil Zampino
>            Priority: Major
>             Fix For: 1.1.0
>
>
> On deleting a un referenced provider file (test-provider) , on UI it displays a message saying
> {noformat}
> "Cannot remove test-provider because it is referenced by one or more descriptors"
> {noformat}
> But on background the provider file is deleted and on refreshing the page , the file does not exist .



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)