Bug 1222127

Summary: Validate errata id before triggering host-collection errata install
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Errata ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED WONTFIX QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, omaciel
Target Milestone: UnspecifiedKeywords: PrioBumpQA, Triaged, UserExperience
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-11 12:25:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.