Actions
Feature #26829
openGenerate yum repo metadata in sqlite format
Status:
New
Priority:
Normal
Assignee:
-
Category:
Repositories
Target version:
-
Description
By default, pulp and katello don't generate yum repo metadata in sqlite format, but we can configure pulp to generate it as repo level or global level as stated in https://docs.pulpproject.org/plugins/pulp_rpm/tech-reference/yum-plugins.html.
Using sqlite metadata in our case decrease the/var/cache/yum
usage on our clients:
- From 254MB to 209MB (CentOS 7 + CentOS RHCL + EPEL + Puppet + some internal repos)
- From 1.5GB to 600MB (CentOS 7 + CentOS RHCL + EPEL + Puppet + some internal repos) when we use
yum provides
command usage that download additionnal filelist metadata.
To enable it as global level: create a file named /etc/pulp/server/plugins.conf.d/yum_distributor.json
with content:
{
"generate_sqlite": true
}
Adding this configuration need to regenerate products's repos metadata and then content views metadata.
As a user, I want be to able to configure sqlite yum repo metadata generation at katello installation time and/or at yum repository creation time.
Actions