How to make more free space in /var/lib/pulp/

Problem:
I would like to make some free space on my Foreman and i deleted all old content view and lots of old products. But it is still the same space used? Is there any best way to do this?

/var/lib/pulp/media
image

Expected outcome:

Foreman and Proxy versions:

  • foreman-3.3.1-1.el7.noarch
  • katello-4.5.0-1.el7.noarch
    Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7.9
Other relevant data:

Even if you delete all content view versions referencing some given artifact, the space will only really be freed up with the next Pulp orphan clean up. (I think there is some Katello rake task you can run manually to trigger this). Note also, that very newly created artifacts might enjoy “orphan protection” to prevent them from being accidentally cleaned up before they are added to some repository.

Try:

foreman-rake katello:delete_orphaned_content RAILS_ENV=production

That should free up some space for you.

1 Like

I have started it and i am getting some paused errors:

Are you able to resume the paused task in the task list (Select Monitor
then Tasks from the GUI)? I would cancel all the pending tasks first
then try the resume. If that doesn’t work try to cancel the paused task
and then run the

foreman-rake katello:delete_orphaned_content RAILS_ENV=production

again from the command line.

I can not cancel it and not resume it…

After stopping them all and starting the command again i am getting:

There was an issue with the backend service pulp3: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)There was an issue with the backend service pulp3: SSL_connect returned=1 errno=0 state=error: certificate verify failed (unable to get local issuer certificate)