Project

Profile

Help

Issue #1775

closed

Content removed from a repository never returns

Added by ehelms@redhat.com almost 9 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
High
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.6.5
Platform Release:
2.8.5
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 2
Quarter:

Description

I am seeing the following:

1. Create a repository with a feed URL
2. Sync the repository
3. Check the content counts for the repository
4. Remove 1 or more packages from the repository
5. Re-sync the repository

The packages that were removed from the repository do not re-appear in the repository. Meaning that if I remove all packages from the repository and then re-sync it the repository stays empty and I am unable to recover.


Related issues

Related to RPM Support - Issue #1778: Switching a repository to immediate from on_demand doesn't download its packagesCLOSED - CURRENTRELEASEipanova@redhat.comActions
Has duplicate RPM Support - Issue #1845: If an RPM is removed from a repo that has a feed, resyncing the feed does not bring it back until the feed's metadata changesCLOSED - DUPLICATEActions
Actions #1

Updated by ipanova@redhat.com almost 9 years ago

  • Related to Issue #1778: Switching a repository to immediate from on_demand doesn't download its packages added
Actions #2

Updated by mhrivnak almost 9 years ago

  • Priority changed from Normal to High
  • Triaged changed from No to Yes
Actions #4

Updated by mhrivnak over 8 years ago

  • Has duplicate Issue #1845: If an RPM is removed from a repo that has a feed, resyncing the feed does not bring it back until the feed's metadata changes added
Actions #5

Updated by ttereshc over 8 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

Added by ttereshc over 8 years ago

Revision d3f0db34 | View on GitHub

Make last_sync date available from sync conduit

re #1775 https://pulp.plan.io/issues/1775

Added by ttereshc over 8 years ago

Revision d3f0db34 | View on GitHub

Make last_sync date available from sync conduit

re #1775 https://pulp.plan.io/issues/1775

Added by ttereshc over 8 years ago

Revision df5a26db | View on GitHub

Do not skip sync if units were removed from the repository.

closes #1775 https://pulp.plan.io/issues/1775

Actions #7

Updated by ttereshc over 8 years ago

  • Project changed from Pulp to RPM Support

Moved to RPM support, because it is the issue of the RPM plugin only.

Actions #8

Updated by ttereshc over 8 years ago

  • Status changed from POST to MODIFIED
  • % Done changed from 0 to 100
Actions #9

Updated by ttereshc over 8 years ago

  • Platform Release set to 2.8.4
Actions #10

Updated by ttereshc over 8 years ago

  • Sprint/Milestone set to 20
Actions #11

Updated by pthomas@redhat.com over 8 years ago

  • Status changed from MODIFIED to 6

[root@ibm-x3550m3-11 ~]# rpm -qa |grep pulp
pulp-puppet-plugins-2.8.4-0.1.beta.git.48.02a3642.el7.noarch
pulp-docker-admin-extensions-2.0.1-1.el7.noarch
python-pulp-docker-common-2.0.1-1.el7.noarch
pulp-server-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
pulp-selinux-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
python-isodate-0.5.0-4.pulp.el7.noarch
python-pulp-rpm-common-2.8.4-0.1.beta.git.83.8a490ec.el7.noarch
python-pulp-repoauth-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
python-pulp-client-lib-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
pulp-puppet-admin-extensions-2.8.4-0.1.beta.git.48.02a3642.el7.noarch
pulp-docker-plugins-2.0.1-1.el7.noarch
pulp-rpm-admin-extensions-2.8.4-0.1.beta.git.83.8a490ec.el7.noarch
python-pulp-puppet-common-2.8.4-0.1.beta.git.48.02a3642.el7.noarch
python-pulp-bindings-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
python-pulp-common-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
python-kombu-3.0.33-5.pulp.el7.noarch
python-pulp-oid_validation-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
pulp-rpm-plugins-2.8.4-0.1.beta.git.83.8a490ec.el7.noarch
pulp-admin-client-2.8.4-0.1.beta.git.140.69c02ff.el7.noarch
[root@ibm-x3550m3-11 ~]# 

[root@ibm-x3550m3-11 ~]# pulp-admin rpm repo list
+----------------------------------------------------------------------+
                            RPM Repositories
+----------------------------------------------------------------------+

Id:                  z00
Display Name:        None
Description:         None
Content Unit Counts: 
  Erratum:          4
  Package Category: 1
  Package Group:    2
  Rpm:              32

[root@ibm-x3550m3-11 ~]# pulp-admin rpm  repo remove rpm  --repo-id z00 --str-eq="name=duck"
This command may be exited via ctrl+c without affecting the request.

[\]
Running...

Units Removed:
  duck-0.6-1-noarch

[root@ibm-x3550m3-11 ~]# pulp-admin rpm  repo content rpm --repo-id z00 --str-eq='name=duck'
[root@ibm-x3550m3-11 ~]# 
[root@ibm-x3550m3-11 ~]# pulp-admin rpm repo sync run --repo-id z00
+----------------------------------------------------------------------+
                     Synchronizing Repository [z00]
+----------------------------------------------------------------------+

This command may be exited via ctrl+c without affecting the request.

Downloading metadata...
[|]
... completed

Downloading repository content...
[-]
[==================================================] 100%
RPMs:       0/0 items
Delta RPMs: 0/0 items

... completed

Downloading distribution files...
[==================================================] 100%
Distributions: 0/0 items
... completed

Importing errata...
[-]
... completed

Importing package groups/categories...
[-]
... completed

Cleaning duplicate packages...
[-]
... completed

Task Succeeded

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[==================================================] 100%
32 of 32 items
... completed

Publishing Delta RPMs
... skipped

Publishing Errata
[==================================================] 100%
4 of 4 items
... completed

Publishing Comps file
[==================================================] 100%
3 of 3 items
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

[root@ibm-x3550m3-11 ~]# pulp-admin rpm  repo content rpm --repo-id z00 --str-eq='name=duck'
Arch:         noarch
Buildhost:    smqe-ws15
Checksum:     48dbafb53dbcc1564bf9c0d4b5531039ac0a1902b6cfe225a702ff0945caa5bb
Checksumtype: sha256
Description:  A dummy package of duck
Epoch:        0
Filename:     duck-0.6-1.noarch.rpm
License:      GPLv2
Name:         duck
Provides:     duck = 0.6-1-0
Release:      1
Requires:     cockateel, lion
Version:      0.6

[root@ibm-x3550m3-11 ~]# 
Actions #12

Updated by semyers over 8 years ago

  • Platform Release changed from 2.8.4 to 2.8.5
Actions #13

Updated by semyers over 8 years ago

  • Status changed from 6 to CLOSED - CURRENTRELEASE
Actions #15

Updated by bmbouter almost 7 years ago

  • Sprint set to Sprint 2
Actions #16

Updated by bmbouter almost 7 years ago

  • Sprint/Milestone deleted (20)
Actions #17

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF