Bug 1717731
Summary: | katello-remove failed to remove '/var/cache/pulp' because it is a mounted directory. | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Hao Chang Yu <hyu> | |
Component: | Installation | Assignee: | Chris Roberts <chrobert> | |
Status: | CLOSED ERRATA | QA Contact: | Devendra Singh <desingh> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 6.5.0 | CC: | ableisch, bkearney, chrobert, egolov, jerry_d_williams, patalber | |
Target Milestone: | 6.6.0 | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
URL: | https://projects.theforeman.org/issues/27186 | |||
Whiteboard: | ||||
Fixed In Version: | katello-3.12.0-2 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1796615 (view as bug list) | Environment: | ||
Last Closed: | 2019-10-22 19:51:46 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1796615 |
Description
Hao Chang Yu
2019-06-06 03:21:12 UTC
There are more problems that just "/var/cache". If for example you have a mounted file system "/var/log/candlepin" or "/var/log/httpd" it aborts and doesn't finish the cleanup and at that point katello-remove is also gone, so the only option to run it again is to reinstall katello-common. It also might be nice to have an option like --real-clean, that would remove all the rpms in rhel-7-server-satellite-6*, or rhel-7-server-satellite-maintenance-6-rpms or rhel-server-rhscl-7-rpms. Or even remove anything that isn't @base for the OS. --super-clean. This bug has successfully verified in 6.6.0 Snap17. Katello-remove command executed successfully. # katello-remove -y Starting removal Stopping services Removing RPMs Cleaning up configuration files Cleaning up log files Cleaning up certs Cleaning up content Finished Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3172 Hi Team, I have a customer that wishes for this to be re-opened and a few code changes made which worked for him and may work for others. I will upload his code to this bugzilla. Thank you. --Patrick Can you please open a new bug with this requests. Once the bug has been released via an errtaa, we can not re-open it. -- bk |