Project

Profile

Help

Issue #2217

closed

updateinfo.xml is not generated with any packages

Added by jsherril@redhat.com about 8 years ago. Updated over 5 years ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
2.8.7
Platform Release:
OS:
CentOS 7
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Starting with either 2.8.5, 2.8.6, or 2.8.7, syncing and publishing a repo with errata seems to result in no packages being associated with the errata in the generated updateinfo.xml file.

Sync this repo and publish the repo: https://jlsherrill.fedorapeople.org/fake-repos/needed-errata/

The resulting updateinfo.xml file shows:

<update from="errata@redhat.com" status="stable" type="security" version="1"><id>RHEA-2012:0055</id><issued date="2012-01-27 16:08:06" /><title>Sea_Erratum</title><release>1</release><description>Sea_Erratum</description><references /><pkglist><collection short=""><name>1</name></collection></pkglist></update>

But even in the db we see:

{
    "_id" : "b0cee9cd-df5f-4c8a-b845-b1312dd28d59",
    "pulp_user_metadata" : {

    },
    "_last_updated" : 1472481584,
    "errata_id" : "RHEA-2012:0055",
    "status" : "stable",
    "updated" : "",
    "description" : "Sea_Erratum",
    "issued" : "2012-01-27 16:08:06",
    "pushcount" : "",
    "references" : [ ],
    "reboot_suggested" : false,
    "from" : "errata@redhat.com",
    "severity" : "",
    "rights" : "",
    "version" : "1",
    "release" : "1",
    "type" : "security",
    "pkglist" : [
        {
            "_pulp_repo_id" : "Default_Organization-test-zoo",
            "packages" : [
                {
                    "src" : "http://www.fedoraproject.org",
                    "name" : "walrus",
                    "sum" : null,
                    "filename" : "walrus-5.21-1.noarch.rpm",
                    "epoch" : null,
                    "version" : "5.21",
                    "release" : "1",
                    "arch" : "noarch"
                },
                {
                    "src" : "http://www.fedoraproject.org",
                    "name" : "penguin",
                    "sum" : null,
                    "filename" : "penguin-0.9.1-1.noarch.rpm",
                    "epoch" : null,
                    "version" : "0.9.1",
                    "release" : "1",
                    "arch" : "noarch"
                },
                {
                    "src" : "http://www.fedoraproject.org",
                    "name" : "shark",
                    "sum" : null,
                    "filename" : "shark-0.1-1.noarch.rpm",
                    "epoch" : null,
                    "version" : "0.1",
                    "release" : "1",
                    "arch" : "noarch"
                }
            ],
            "name" : "1",
            "short" : ""
        }
    ],
    "title" : "Sea_Erratum",
    "solution" : "",
    "summary" : "",
    "_ns" : "units_erratum",
    "_content_type_id" : "erratum"
}

Will test with other repos as well shortly.


Related issues

Is duplicate of RPM Support - Issue #1926: package without epoch in the erratum pkglist is not handled correctly during publishCLOSED - CURRENTRELEASEttereshcActions

Also available in: Atom PDF