Bug 741635 - Need better errata summary
Summary: Need better errata summary
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 29
Assignee: Sayli Karmarkar
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-27 13:27 UTC by Justin Sherrill
Modified: 2015-03-23 01:10 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:16:18 UTC


Attachments (Terms of Use)

Description Justin Sherrill 2011-09-27 13:27:12 UTC
As part of katello we need to be able show on the dashboard a short list of errata in the organization (sorted by severity) and the number of systems that need that errata (within that org).  So basically we need to query the errata for a SET of repos and get:

a)  For each repo, list errata that are needed by a system subscribed to the repo
b)  For each errata, what systems need that errata.


Eventually we may need this for up to ~50 repos at a time (when the total number of repos could be as many as 1000).  So getting the list of all errata in all repos may be too much and calling list errata for each repo would be too much.

Comment 1 Sayli Karmarkar 2011-10-31 18:41:49 UTC
[skarmark@sunflower pulp]$ git log
commit 808be5f973d7ac2f1fd32e045fa88f04dc8ff364
Author: Sayli Karmarkar <skarmark>
Date:   Mon Oct 31 11:18:54 2011 -0700

    741635 - Errata summary enhancement for katello dashboard

Comment 2 Jay Dobies 2011-11-09 20:32:07 UTC
Fixed in build 0.247.

Comment 3 Preethi Thomas 2011-11-30 21:07:25 UTC
verified


[root@preethi ~]#  pulp-admin -u admin -p admin errata list --help
Usage: pulp-admin <options> errata list <options>

Options:
  -h, --help            show this help message and exit
  --consumerid=CONSUMERID
                        consumer id if a consumer doesn't exist locally
  --repoid=REPOID       repository id
  --type=TYPE           type of errata to lookup; eg. security, bugfix etc.
[root@preethi ~]# 

[root@preethi ~]#  pulp-admin -u admin -p admin errata list --consumerid=pulp-f15
+------------------------------------------+
  Applicable Errata for consumer [pulp-f15]
+------------------------------------------+

Id                  	Type           	Title

FEDORA-2011-8678    	enhancement    	fedora-release-15-3
FEDORA-2011-13785   	security       	rpm-4.9.1.2-1.fc15
FEDORA-2011-15856   	security       	kernel-2.6.41.1-1.fc15
FEDORA-2011-7867    	security       	sudo-1.7.4p5-4.fc15
FEDORA-2011-9652    	security       	system-config-firewall-1.2.29-4.fc15
FEDORA-2011-9844    	security       	libcap-2.22-1.fc15
FEDORA-2011-13809   	security       	kernel-2.6.40.6-0.fc15
FEDORA-2011-13073   	bugfix         	m4-1.4.16-2.fc15
FEDORA-2011-8386    	bugfix         	fedora-logos-15.0.1-1.fc15
FEDORA-2011-8557    	bugfix         	grep-2.9-1.fc15
FEDORA-2011-13203   	bugfix         	vim-7.3.315-1.fc15
FEDORA-2011-13936   	bugfix         	biosdevname-0.3.11-1.fc15
FEDORA-2011-8587    	bugfix         	libusb-0.1.3-9.fc15
FEDORA-2011-8665    	bugfix         	boost-1.46.0-3.fc15
FEDORA-2011-9466    	bugfix         	dracut-009-12.fc15
FEDORA-2011-9850    	bugfix         	createrepo-0.9.9-4.fc15
FEDORA-2011-13068   	bugfix         	gnupg2-2.0.18-1.fc15
FEDORA-2011-12482   	enhancement    	grubby-7.0.16-5.fc15
FEDORA-2011-14203   	bugfix         	systemd-26-13.fc15
FEDORA-2011-11614   	bugfix         	libffi-3.0.10-1.fc15
FEDORA-2011-10072   	bugfix         	logrotate-3.7.9-14.fc15
FEDORA-2011-14673   	security       	krb5-1.9.1-14.fc15


[root@preethi ~]#  pulp-admin -u admin -p admin errata list --repoid=f15-updates |more
+------------------------------------------+
   Available Errata in Repo [f15-updates]
+------------------------------------------+

Id                  	Type           	Title

FEDORA-2011-13576   	newpackage     	php-bartlett-PHP-Reflect-1.0.2-2.fc15
FEDORA-2011-8154    	newpackage     	perl-Sys-Path-0.10-2.fc15
FEDORA-2011-15681   	newpackage     	plymouth-theme-hot-dog-0.5-1.fc15
FEDORA-2011-8158    	newpackage     	perl-Data-Hexify-1.00-1.fc15
FEDORA-2011-15641   	newpackage     	ghc-regex-pcre-0.94.2-2.fc15
FEDORA-2011-12427   	newpackage     	rubygem-vcr-1.10.0-1.fc15
FEDORA-2011-15335   	newpackage     	dnssec-nodes-1.11.p2-1.fc15
FEDORA-2011-15331   	newpackage     	dnssec-system-tray-1.11.p2-1.fc15
FEDORA-2011-12221   	newpackage     	pyrit-0.4.0-4.fc15
FEDORA-2011-12223   	newpackage     	django-recaptcha-works-0.3.4-1.fc15
FEDORA-2011-9372    	newpackage     	pugixml-1.0-1.fc15
FEDORA-2011-8887    	newpackage     	snakeyaml-1.8-6.fc15
FEDORA-2011-9571    	newpackage     	wmeyes-1.2-3.fc15
FEDORA-2011-9577    	newpackage     	gnome-shell-extension-righthotcorner-1.0
-1.fc15

Comment 4 Preethi Thomas 2012-02-24 20:16:18 UTC
Pulp v1.0 is released
Closed Current Release.

Comment 5 Preethi Thomas 2012-02-24 20:17:40 UTC
Pulp v1.0 is released.


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