You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Andrii Tkach (JIRA)" <ji...@apache.org> on 2017/07/12 10:10:01 UTC

[jira] [Reopened] (AMBARI-21437) Allow user to execute force_remove_packages custom action from UI

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

Andrii Tkach reopened AMBARI-21437:
-----------------------------------

Reopening. URL for this is wrong since missing cluster id

http://c6404.ambari.apache.org:8080/api/v1/requests

{noformat}
11 Jul 2017 23:24:58,659  WARN [ambari-action-scheduler] ExecutionCommandWrapper:230 - Unable to lookup the cluster by ID; assuming that there is no cluster and therefore no configs for this execution command: Cluster not found, clusterName=clusterID=-1
11 Jul 2017 23:24:58,659  WARN [ambari-action-scheduler] ExecutionCommandWrapper:230 - Unable to lookup the cluster by ID; assuming that there is no cluster and therefore no configs for this execution command: Cluster not found, clusterName=clusterID=-1
{noformat}

> Allow user to execute force_remove_packages custom action from UI
> -----------------------------------------------------------------
>
>                 Key: AMBARI-21437
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21437
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-web
>    Affects Versions: 2.5.2
>            Reporter: Andrii Tkach
>            Assignee: Andrii Tkach
>            Priority: Critical
>             Fix For: 2.5.2
>
>         Attachments: AMBARI-21437.patch
>
>
> Removal of iop-select can be done using a custom action.
> Need to add a button to Stack Versions page / some other place that makes sense. The action triggered should make a call like this:
> {code}
> curl -u admin:admin -H "X-Requested-By:ambari" -i -X POST -d '{"RequestInfo":{"context":"Remove IOP select","action":"force_remove_packages", "parameters": { "package_list" : "iop-select" }}}' http://localhost:8080/api/v1/clusters/c1/requests
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)