Bug 1479450 - hammer erratum list order option has no effect
hammer erratum list order option has no effect
Status: VERIFIED
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Errata Management (Show other bugs)
6.3.0
x86_64 Linux
unspecified Severity medium (vote)
: Beta
: --
Assigned To: Partha Aji
Peter Ondrejka
: Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-08 10:53 EDT by Djebran Lezzoum
Modified: 2017-10-23 11:38 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 20579 None None None 2017-08-14 08:25 EDT

  None (edit)
Comment 4 Brad Buckingham 2017-08-14 08:25:52 EDT
Created redmine issue http://projects.theforeman.org/issues/20579 from this bug
Comment 5 pm-sat@redhat.com 2017-08-17 14:12:49 EDT
Upstream bug assigned to paji@redhat.com
Comment 6 pm-sat@redhat.com 2017-09-13 16:13:03 EDT
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20579 has been resolved.
Comment 7 Corey Welton 2017-10-23 11:38:52 EDT
Seems to be ok in snap 20.

Process:
* Exported CSV as created by method above and edited it to only include errata ids
* Parsed these IDs sequentially, with 'erratum info' hammer command.

[root@dell-per230-02 ~]# cat werrata.txt 
02633f6d-eb20-4932-9715-2bb0d66e07da
95554479-a113-4a45-b870-29423abafa13
7e93f656-1d70-4212-b1b6-47a99ed8d64c
6627346a-6cc5-4628-9022-32602a2d1e5b
[root@dell-per230-02 ~]# for i in `cat werrata.txt`; do hammer -u admin -p changeme --output json erratum info --id $i | grep Issued; done
  "Issued": "2012-01-27",
  "Issued": "2013-01-27",
  "Issued": "2013-01-27",
  "Issued": "2013-01-27",

Result: 
Oldest errata correctly show first.

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