Bug 1405084 - Installing no existent package group do not show error
Summary: Installing no existent package group do not show error
Keywords:
Status: CLOSED DUPLICATE of bug 1294944
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Host Collections
Version: 6.2.5
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-15 14:50 UTC by Renzo Nuccitelli
Modified: 2017-08-17 12:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-19 19:53:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screen shot with success msg (63.31 KB, image/png)
2016-12-15 14:53 UTC, Renzo Nuccitelli
no flags Details

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 ***


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