Bug 1405084

Summary: Installing no existent package group do not show error
Product: Red Hat Satellite Reporter: Renzo Nuccitelli <rnuccite>
Component: Host CollectionsAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.5CC: akofink, bbuckingham, jcallaha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-19 19:53:52 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:
Attachments:
Description Flags
screen shot with success msg none

Description Renzo Nuccitelli 2016-12-15 14:50:01 UTC
Description of problem:

Summary is enough as description

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

Sat 6.2.5

How reproducible:
Always

Steps to Reproduce:
1. Try to install an non existent package group. Ex: "birds"

Actual results:


Log about non existing group with level INFO:

Success msg on UI as attached on success.png

 Dec 15 09:06:35 cloud-qe-15 pulp: pulp.server.agent.direct.services:INFO: (7818-41600) {'reboot': {'scheduled': False, 'details': {}}, 'details': {'package_group': {'details': {'message': 'No Group named birds exists', 'trace': 'Traceback (most recent call last):\n\n  File "/usr/lib/python2.7/site-packages/pulp/agent/lib/dispatcher.py", line 61, in install\n    _report = handler.install(conduit, units, dict(options))\n\n  File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/rpm.py", line 212, in install\n    details = grp.install(names)\n\n  File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/rpmtools.py", line 257, in install\n    yb.selectGroup(name)\n\n  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 3862, in selectGroup\n    raise Errors.GroupsError, _("No Group named %s exists") % to_unicode(grpid)\n\nGroupsError: No Group named birds exists\n'}, 'succeeded': False}}, 'succeeded': False, 'num_changes': 0}

Expected results:

Error msg on UI

Log with ERROR level

Additional info:

Comment 1 Renzo Nuccitelli 2016-12-15 14:53:24 UTC
Created attachment 1232202 [details]
screen shot with success msg

Comment 2 Renzo Nuccitelli 2016-12-15 14:54:34 UTC
In fact success msg says installing process is scheduled. But it's never shown on Task Monitor as well.

Comment 4 Andrew Kofink 2016-12-19 19:53:52 UTC

*** This bug has been marked as a duplicate of bug 1294944 ***