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 1222127 - Validate errata id before triggering host-collection errata install
Summary: Validate errata id before triggering host-collection errata install
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Justin Sherrill
QA Contact: sthirugn@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-15 20:04 UTC by sthirugn@redhat.com
Modified: 2017-08-11 12:25 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-11 12:25:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description sthirugn@redhat.com 2015-05-15 20:04:45 UTC
Description of problem:
Validate errata id before triggering host-collection errata install

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


How reproducible:


Steps to Reproduce:
hammer> host-collection erratum install --errata="somejunknonexistenterrataid" --name=hc1 --organization-label="Default_Organization"
Successfully scheduled installation of errata

Content-host doesnt report any error as well:
May 15 15:58:58 ibm-x3250m4-02 goferd: [INFO][worker-0] gofer.rmi.dispatcher:600 - call: Content.install() sn=af49b588-86c8-49d5-924a-a164db7e24e0 data={u'task_id': u'50676beb-60e0-4943-9cbd-20fe5798d849', u'consumer_id': u'50ffffcc-d6d2-4520-ba4c-51d474813b10'}
May 15 15:58:58 ibm-x3250m4-02 goferd: [INFO][worker-0] gofer.agent.rmi:128 - sn=af49b588-86c8-49d5-924a-a164db7e24e0 processed in: 1.001 (seconds)


It took a while for me to figure out that I supplied an incorrect errata id of RHEA-2015:0985 vs RHBA-2015:0985

Actual results:
As stated above

Expected results:
Validate errata id before triggering the host-collection errata install

Additional info:

Comment 1 sthirugn@redhat.com 2015-05-15 20:05:06 UTC
Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 4 Compose 2

How reproducible:

Comment 2 sthirugn@redhat.com 2015-05-15 20:06:16 UTC
Pushing this out to 6.2, as this error is not possible from UI - this will affect only cli and api users - who needs to be careful about passing the right errata id

Comment 5 Brad Buckingham 2016-06-06 19:51:47 UTC
Note: this bug is similar to bug 1333084 which requests a similar validation for hosts.

Comment 6 Bryan Kearney 2017-08-11 12:25:24 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in product in the forseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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