Bug 1262919
Summary: | exceptions from connection.RestlibException during autosubscribe should be printed to system error | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | John Sefler <jsefler> |
Component: | subscription-manager | Assignee: | Chris "Ceiu" Rog <crog> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.2 | CC: | crog, skallesh |
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: | 2016-11-03 20:27:07 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
John Sefler
2015-09-14 15:43:39 UTC
commit 7795df84edcb4f4fef08085548f6c2a23f86ceb4 Author: Chris Rog <crog> Date: Mon Sep 14 16:21:38 2015 -0400 1262919: Added convenience function for printing to stderr - Added a print_error function to print a message to stderr - Updated the error printing in autoattach during register to use the print_error function Deferring to rhel-7.3.0 for a fix. Marking verified!! [root@dhcp35-31 ~]# subscription-manager version server type: Red Hat Subscription Management subscription management server: 0.9.51.15-1 subscription management rules: 5.15.1 subscription-manager: 1.17.5-1.el7 python-rhsm: 1.17.2-1.el7 [root@dhcp35-31 ~]# subscription-manager register --serverurl=subscription.rhn.stage.redhat.com:443/subscription --user qa --password ****** --force --servicelevel foo --auto-attach 1>/tmp/stdout 2>/tmp/stderr [root@dhcp35-31 ~]# cat /tmp/stdout Registering to: subscription.rhn.stage.redhat.com:443/subscription The system has been registered with ID: d56355f9-a722-42ae-8eae-2eb679878898 Installed Product Current Status: Product Name: Red Hat Enterprise Linux Server Status: Not Subscribed Unable to find available subscriptions for all your installed products. [root@dhcp35-31 ~]# cat /tmp/stderr Service level 'foo' is not available to units of organization 711497. [root@dhcp35-31 ~]# 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/RHSA-2016-2592.html |