Actions
Issue #2035
closedErrata are published incrementally
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
Updated by ttereshc over 8 years ago
- Subject changed from Errata is published incrementally to Errata are published incrementally
Updated by ttereshc over 8 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to ttereshc
Updated by amacdona@redhat.com over 8 years ago
- Priority changed from Normal to Urgent
- Severity changed from 2. Medium to 3. High
- Triaged changed from No to Yes
Updated by ttereshc over 8 years ago
- Status changed from ASSIGNED to POST
Added by ttereshc over 8 years ago
Updated by ttereshc over 8 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset d0fc1ee1b1b310c6735a18ec24ec913bdd80414b.
Updated by pthomas@redhat.com over 8 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 ~]#
Updated by semyers over 8 years ago
- Status changed from 6 to CLOSED - CURRENTRELEASE
Actions
Apply filters to errata publish step only during incremental export
closes #2035 https://pulp.plan.io/issues/2035