Details
-
Bug
-
Status: Patch Available
-
Minor
-
Resolution: Unresolved
-
trunk, 2.6.2
-
None
-
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
Issue Links
- links to