Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-21437

Allow user to execute force_remove_packages custom action from UI

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.5.2
    • 2.5.2
    • ambari-web
    • None

    Description

      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:

      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
      

      Attachments

        1. AMBARI-21437.patch
          6 kB
          Andrii Tkach
        2. AMBARI-21437_2.patch
          3 kB
          Andrii Tkach

        Activity

          People

            atkach Andrii Tkach
            atkach Andrii Tkach
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: