Bug 746726 - Errata - GET /pulp/api/errata not returning severity
Summary: Errata - GET /pulp/api/errata not returning severity
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
: Sprint 29
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-17 16:01 UTC by Brad Buckingham
Modified: 2013-09-09 16:31 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Brad Buckingham 2011-10-17 16:01:09 UTC
Description of problem:

It appears that the severity provided in the 'updateinfo.xml' for errata is not being returned in the pulp API.

Version-Release number of selected component (if applicable):
pulp-consumer-0.0.235-1.fc15.noarch
pulp-common-0.0.235-1.fc15.noarch
pulp-client-lib-0.0.235-1.fc15.noarch
pulp-admin-0.0.235-1.fc15.noarch
pulp-0.0.235-1.fc15.noarch

How reproducible:
always

Steps to Reproduce:
1. attempt to retrieve an errata (e.g. GET /pulp/api/errata/RHSA-2011:0926/)
  
Actual results:
The response returned includes severity="".

Expected results:
Based on the updateinfo.xml, the severity returned should be severity="Important".

Additional info:

Comment 3 Jeff Ortel 2011-10-20 00:35:03 UTC
build: 0.240

Comment 4 Preethi Thomas 2011-10-20 17:06:44 UTC
[root@preethi ~]# rpm -q pulp
pulp-0.0.240-1.fc15.noarch

verified

[root@preethi ~]# curl -k -u admin:admin --request GET  https://localhost/pulp/api/errata/FEDORA-2011-5676/
{"issued": "2011-04-20 18:59:48", "references": [{"href": "https://bugzilla.redhat.com/show_bug.cgi?id=692922", "type": "bugzilla", "id": "692922", "title": "CVE-2011-1485 polkitd/pkexec vulnerability"}], "pkglist": [{"packages": [{"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/SRPMS/polkit-0.98-5.fc14.src.rpm", "name": "polkit", "filename": "polkit-0.98-5.fc14.src.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "src"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/x86_64/polkit-0.98-5.fc14.x86_64.rpm", "name": "polkit", "filename": "polkit-0.98-5.fc14.x86_64.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "x86_64"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/x86_64/polkit-devel-0.98-5.fc14.x86_64.rpm", "name": "polkit-devel", "filename": "polkit-devel-0.98-5.fc14.x86_64.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "x86_64"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/x86_64/polkit-debuginfo-0.98-5.fc14.x86_64.rpm", "name": "polkit-debuginfo", "filename": "polkit-debuginfo-0.98-5.fc14.x86_64.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "x86_64"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/i386/polkit-desktop-policy-0.98-5.fc14.noarch.rpm", "name": "polkit-desktop-policy", "filename": "polkit-desktop-policy-0.98-5.fc14.noarch.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "noarch"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/x86_64/polkit-docs-0.98-5.fc14.x86_64.rpm", "name": "polkit-docs", "filename": "polkit-docs-0.98-5.fc14.x86_64.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "x86_64"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/i686/polkit-devel-0.98-5.fc14.i686.rpm", "name": "polkit-devel", "filename": "polkit-devel-0.98-5.fc14.i686.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "i686"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/i686/polkit-0.98-5.fc14.i686.rpm", "name": "polkit", "filename": "polkit-0.98-5.fc14.i686.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "i686"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/i686/polkit-debuginfo-0.98-5.fc14.i686.rpm", "name": "polkit-debuginfo", "filename": "polkit-debuginfo-0.98-5.fc14.i686.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "i686"}, {"src": "http://download.fedoraproject.org/pub/fedora/linux/updates/14/i686/polkit-docs-0.98-5.fc14.i686.rpm", "name": "polkit-docs", "filename": "polkit-docs-0.98-5.fc14.i686.rpm", "epoch": "0", "version": "0.98", "release": "5.fc14", "arch": "i686"}], "name": "Fedora 14", "short": "F14"}], "id": "FEDORA-2011-5676", "severity": "", "title": "polkit-0.98-5.fc14", "_ns": "errata", "version": "1.4", "reboot_suggested": false, "type": "security", "immutable": true, "status": "stable", "updated": "", "description": null, "repo_defined": true, "pushcount": 1, "from_str": "updates", "rights": "", "solution": "", "summary": "", "release": "Fedora 14", "_id": "FEDORA-2011-5676"}[root@preethi ~]# 
[root@preethi ~]#

Comment 5 Preethi Thomas 2012-02-24 20:17:52 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 6 Preethi Thomas 2012-02-24 20:18:41 UTC
Pulp v1.0 is released.


Note You need to log in before you can comment on or make changes to this bug.