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

Safety meassures: autoremove only packages that have repo version at their name

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • ambari-server
    • None

    Description

      When performing distribute repositories/install packages action, we install some packages one by one. If installation of some package fails, all previously installed packages are removed.
      The risk here is to accidentally (e.g. in case of script bug) remove some essential packages.

      We might want to add some check to remove only packages that have stack version string in their name. Removing them should be enough in most cases since shared packages tend to be installed from HDP-UTILS repo.

      Attachments

        1. AMBARI-9375.patch
          3 kB
          Dmitry Lysnichenko

        Issue Links

          Activity

            People

              dmitriusan Dmitry Lysnichenko
              dmitriusan Dmitry Lysnichenko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: