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

Script to delete an old HDP stack version - BUG

    XMLWordPrintableJSON

Details

    • Patch

    Description

      As per the Jira https://issues.apache.org/jira/browse/AMBARI-18435 an API call to remove older versions was developed but its having issue.

       

      ambari-server/src/main/resources/custom_actions/scripts/remove_previous_stacks.py [line: 67]

      Execute(('rm', '-f', stack_root + version), sudo=True)

      It will not delete the directory as there is no such directory, it should be:

      Execute(('rm', '-f', stack_root +'/'+ version), sudo=True)

      Attachments

        Activity

          People

            asnaik Akhil Naik
            sanmuk Sankar Mukherjee
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m