[Satelltie 6] When sync a repository the old 'updateinfo.xml.gz' metadata does not remove.

Solution Unverified - Updated -

Issue

  • When sync a repository on Red Hat Satellite the old '*.updateinfo.xml.gz' metadata does not remove and same slowly leak diskspace (/var/lib/pulp ).

I.e.

- Before repository Sync:

[root@satellite ~]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_-_Optional_RPMs_x86_64_7Server/1455093381.96/repodata/ | grep updateinfo | wc -l
41

- After repository sync:

[root@satellite yum]# ls /var/lib/pulp/published/yum/master/yum_distributor/Default_Organization-Red_Hat_Enterprise_Linux_Server-Red_Hat_Enterprise_Linux_7_Server_-_Optional_RPMs_x86_64_7Server/1455248661.16/repodata/ | grep updateinfo | wc -l
42

[root@satellite ~]# df -kh /var/lib/pulp
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/rhel-var  300G  225G   76G  75% /var/lib/pulp 

Environment

  • Red Hat Satellite 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content