Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1695163 - [RFE] Would like to see a way to display errata date when using hammer erratum list
Summary: [RFE] Would like to see a way to display errata date when using hammer erratu...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.4
Hardware: x86_64
OS: Linux
high
high
Target Milestone: 6.7.0
Assignee: satellite6-bugs
QA Contact: Gaurav Talreja
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-02 15:23 UTC by Ricardo Santamaria
Modified: 2023-10-06 18:12 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-14 15:54:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 26889 0 Normal Closed [RFE] Would like to see a way to display errata date when using hammer erratum list 2020-12-02 08:27:43 UTC
Red Hat Product Errata RHBA-2020:1455 0 None None None 2020-04-14 15:54:23 UTC

Description Ricardo Santamaria 2019-04-02 15:23:07 UTC
Description of problem:
Would like to see a way to display errata date when using hammer erratum list

Version-Release number of selected component (if applicable):
Satellite 6.4 

How reproducible:
Running "hammer erratum list" does not display errata date

Steps to Reproduce:
]# hammer erratum list

Actual results:
Fields this displays are:
ID    | ERRATA ID      | TYPE        | TITLE

Would like to see the Errata date


Additional info:
Example to compare with Satellite 5's spacecmd it does provide date in output:

spacecmd {SSM:0}> softwarechannel_listerrata rhel-x86_64-server-rs-7
---------------
RHSA-2018:3056 Moderate: samba security, bug fix, and enhancement 2018-10-30 
RHSA-2018:1169 Important: corosync security update 2018-04-17 
RHSA-2018:1060 Important: pcs security update 2018-04-10
</snip>

Have been able to create bash for loop to use 'hammer erratum list' but would like to make this field part of just running the command:

]# for b in $(hammer --csv erratum list | grep -v ^ID | cut -d, -f1); do hammer erratum info --id $b | grep -E '(^ID|^Errata ID|^Issued|^Updated|^Title)' | paste -s -d, ; done

Comment 4 Bryan Kearney 2019-05-28 14:04:45 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/26889 has been resolved.

Comment 5 vijsingh 2019-11-25 10:42:03 UTC
ON_QA Verified 

@Satellite 6.7.0 snap 3.0

Steps/Observation:

[root@hp-moonshot-01-c29 ~]# hammer erratum list
-----|----------------|-------------|----------------------------------------------------------------------------------|------------|-----------
ID   | ERRATA ID      | TYPE        | TITLE                                                                            | ISSUED     | UPDATED   
-----|----------------|-------------|----------------------------------------------------------------------------------|------------|-----------
2235 | RHEA-2019:3897 | enhancement | new package: kpatch-patch-3_10_0-1062_4_3                                        | 2019-11-18 | 2019-11-18
1254 | RHSA-2019:3888 | security    | Important: ghostscript security update                                           | 2019-11-14 | 2019-11-14
902  | RHSA-2019:3872 | security    | Important: kernel security update                                                | 2019-11-13 | 2019-11-13
1455 | RHEA-2019:3863 | enhancement | new package: kpatch-patch-3_10_0-1062_4_2                                        | 2019-11-12 | 2019-11-12
718  | RHEA-2019:3846 | enhancement | microcode_ctl bug fix and enhancement update                                     | 2019-11-12 | 2019-11-12
463  | RHSA-2019:3834 | security    | Important: kernel security update                                                | 2019-11-12 | 2019-11-12
3418 | RHSA-2019:3286 | security    | Critical: php security update                                                    | 2019-10-31 | 2019-10-31
755  | RHSA-2019:3197 | security    | Important: sudo security update                                                  | 2019-10-24 | 2019-10-24

Showing errata date when using hammer erratum list.

Comment 8 errata-xmlrpc 2020-04-14 15:54:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1455


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