Project

Profile

Help

Issue #2785

closed

pulp-admin rpm repo create with --retain-old-count option does not seem to work

Added by aurelien almost 7 years ago. Updated almost 5 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.11.0
Platform Release:
OS:
RHEL 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

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

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

get 3 packages and provide them but they are not the last one.

Name        : pulp-server^O
Arch        : noarch
Version     : 2.11.0
Release     : 1.el7

Also available in: Atom PDF