Publishing Content View increasing disk space utilization on Red Hat Satellite 6
Environment
- Red Hat Satellite 6.8
Issue
- After publishing new version of Content View or Composite Content View, disk space utilization of
/var/lib/pulpis increasing on Red Hat Satellite 6.8
Resolution
-
As a workaround, Regenerate Repository Metadata of Content View or Composite Content View.
Go to Satellite Web UI → Content → Content Views → Select the particular Content View → Click on the drop-down beside Promote for the concerned version → Regenerate Repository Metadata -
This can be done using command line as well.
# hammer content-view list # hammer content-view info --id <Content View ID> # hammer content-view version republish-repositories --content-view-id <Content View ID> --version <Content View Version number> or # hammer content-view version republish-repositories --content-view-id <Content View ID> --id <Content view version identifier> -
If there are too many CVS that need to clean up, we need to use the foreman-maintain command:
-
Run a verification first:
# foreman-maintain advanced procedure run pulp-cleanup-old-metadata-files -
To actually clean up, run:
# foreman-maintain advanced procedure run pulp-cleanup-old-metadata-files --remove-files true
For more KB articles/solutions related to Red Hat Satellite 6.x Content View Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Content View Issues.
Root Cause
-
Red Hat Engineering team is already aware of this bug and is currently tracking the same in This content is not included.Red Hat Bugzilla 1903367.
-
For latest update on this issue, contact Red Hat Technical Support.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.