Project

Profile

Help

Issue #2785

Updated by bmbouter about 5 years ago

pulp rpm repo create with --count option does not seems to provide last package after sync. 

 <pre> 
 pulp-admin rpm repo create --repo-id=rhel-7-bla --retain-old-count 2 

 pulp-admin rpm repo update --repo-id=rhel-7-bla \ 
            --relative-url /rhel/7Server/x86_64/bla/os \ 
            --proxy-host=proxy --proxy-port=* \ 
            --feed=https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os \ 
            --feed-ca-cert=/etc/rhsm/ca/redhat-uep.pem \ 
            --feed-key=/etc/pki/entitlement/**-key.pem \ 
            --feed-cert=/etc/pki/entitlement/**.pem 

 pulp-admin rpm repo sync run --repo-id rhel-7-bla 
 pulp-admin rpm repo publish run --repo-id rhel-7-bla 

 </pre> 

 


 get 3 packages and provide them but they are not the last one. 
 <pre> 
 Name          : pulp-server^O 
 Arch          : noarch 
 Version       : 2.11.0 
 Release       : 1.el7 
 </pre> 

Back