Project

Profile

Help

Issue #2035

closed

Errata are published incrementally

Added by ttereshc over 6 years ago. Updated over 3 years ago.

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

Description

If publish is operational and not the first one, updateinfo.xml is not fully regenerated, only changes since last publish are included.

1. Create repo

pulp-admin rpm repo create --repo-id zoo --feed https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm/

2. Sync and publish it.

pulp-admin rpm repo sync run --repo-id zoo

3. Update, for example, distributor to make next publish operational.

pulp-admin rpm repo update --repo-id zoo --generate-sqlite true

4. Publish repo again.

pulp-admin rpm repo publish run --repo-id zoo

5. Observe new updateinfo.xml file which contains no errata.

<?xml version="1.0" encoding="utf-8"?>
<updates />

If in step 3 you will upload new erratum, then new updateinfo.xml will contain only this new erratum.

This issue was introduced with this commit, so it is in 2.9.0.
The errata step is incremental because of the filters here

Actions #1

Updated by ttereshc over 6 years ago

  • Subject changed from Errata is published incrementally to Errata are published incrementally
Actions #2

Updated by ttereshc over 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc
Actions #3

Updated by amacdona@redhat.com over 6 years ago

  • Priority changed from Normal to Urgent
  • Severity changed from 2. Medium to 3. High
  • Triaged changed from No to Yes
Actions #4

Updated by ttereshc over 6 years ago

  • Status changed from ASSIGNED to POST
Actions #5

Updated by mhrivnak over 6 years ago

  • Sprint/Milestone set to 22

Added by ttereshc over 6 years ago

Revision d0fc1ee1

Apply filters to errata publish step only during incremental export

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

Actions #6

Updated by ttereshc over 6 years ago

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

Updated by ttereshc over 6 years ago

  • Platform Release set to 2.9.0
Actions #8

Updated by pthomas@redhat.com over 6 years ago

  • Status changed from MODIFIED to 6

verified


[root@hp-dl380pgen8-02-vm-16 ~]# 
[root@hp-dl380pgen8-02-vm-16 ~]# rpm -qa |grep pulp-server
pulp-server-2.9.0-0.3.beta.el6.noarch
[root@hp-dl380pgen8-02-vm-16 ~]# 

[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin rpm repo create --repo-id zoo --feed https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm/
Successfully created repository [zoo]

[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin rpm repo sync run --repo-id zoo
+----------------------------------------------------------------------+
                     Synchronizing Repository [zoo]
+----------------------------------------------------------------------+

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

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

Downloading repository content...
[-]
[==================================================] 100%
RPMs:       32/32 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%
4 of 4 items
... completed

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
... skipped

Generating HTML files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin rpm repo update --repo-id zoo --generate-sqlite true
This command may be exited via ctrl+c without affecting the request.

[\]
Running...
Updating distributor: yum_distributor

Task Succeeded

[\]
Running...
Updating distributor: export_distributor

Task Succeeded

[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin rpm repo publish run --repo-id zoo
+----------------------------------------------------------------------+
                      Publishing Repository [zoo]
+----------------------------------------------------------------------+

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

Copying files
[-]
... completed

Initializing repo metadata
[-]
... completed

Publishing Distribution files
[-]
... completed

Publishing RPMs
[-]
... completed

Publishing Delta RPMs
... skipped

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

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

Publishing Metadata.
[-]
... completed

Closing repo metadata
[-]
... completed

Generating sqlite files
[-]
... completed

Generating HTML files
... skipped

Publishing files to web
[-]
... completed

Writing Listings File
[-]
... completed

Writing Listings File
[-]
... completed

Task Succeeded

[root@hp-dl380pgen8-02-vm-16 ~]# pulp-admin rpm repo content errata --repo-id zoo
Description: Bear_Erratum
Id:          RHEA-2012:0057
Severity:    
Summary:     
Title:       Bear_ErratumPARTHA
Type:        security

Description: ParthaBird_Erratum
Id:          RHEA-2012:0056
Severity:    
Summary:     
Title:       Bird_Erratum
Type:        security

Description: Sea_Erratum
Id:          RHEA-2012:0055
Severity:    
Summary:     
Title:       Sea_Erratum
Type:        security

Description: Gorilla_Erratum
Id:          RHEA-2012:0058
Severity:    
Summary:     
Title:       Gorilla_Erratum
Type:        enhancement

[root@hp-dl380pgen8-02-vm-16 ~]# 
Actions #9

Updated by semyers over 6 years ago

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

Updated by bmbouter over 4 years ago

  • Sprint set to Sprint 4
Actions #13

Updated by bmbouter over 4 years ago

  • Sprint/Milestone deleted (22)
Actions #14

Updated by bmbouter over 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF