Bug 1159348
| Summary: | list --matched should show the filter string when warning about empty matches | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Adrian Likins <alikins> |
| Component: | subscription-manager | Assignee: | Chris "Ceiu" Rog <crog> |
| Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | crog, redakkan |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-03-05 13:16:02 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1005618 | ||
|
Description
Adrian Likins
2014-10-31 16:09:40 UTC
commit 2884e33acb35ab4e336fe12dc23de7ab26cc0572
Author: Chris Rog <crog>
Date: Mon Dec 8 13:39:58 2014 -0500
1159348: Improved list error output when using list criteria
- Specifying a service level or filter expression that filters all
subscriptions or products will now print the criteria used in the
query.
Retested on ,
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.9.26.4-1
subscription management rules: 5.11
subscription-manager: 1.13.12-1.el7
python-rhsm: 1.13.8-1.el7
# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: Red Hat Enterprise Linux Server
Product ID: 69
Version: 7.1 Beta
Arch: x86_64
Status: Subscribed
Status Details:
Starts: 10/05/2011
Ends: 12/31/2021
# subscription-manager list --installed --matches rhel*
No installed products were found matching the expression "rhel*".
# subscription-manager list --installed --matches subs*
No installed products were found matching the expression "subs*".
# subscription-manager list --consumed --matches Self*
No consumed subscription pools were found matching the expression "Self*".
# subscription-manager list --consumed --matches Premium
No consumed subscription pools were found matching the expression "Premium".
Now list error output(using list criteria) prints the criteria used in the query in the error message.
Moving to Verified!!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0502.html |