Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 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 ***