Bug 1254578

Summary: unexpected "Registering to: hostname:port/prefix" when calling subscription-manager environments
Product: Red Hat Enterprise Linux 7 Reporter: John Sefler <jsefler>
Component: subscription-managerAssignee: vritant <vrjain>
Status: CLOSED DUPLICATE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: vrjain
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-08-27 18:19:10 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-08-18 12:41:13 UTC
Description of problem:
As a side affect of https://bugzilla.redhat.com/show_bug.cgi?id=985157#c13 we now get an additional stdout message when executing subscription-manager environments module stating ...
Registering to: hostname:port/prefix

Version-Release number of selected component (if applicable):
[root@ibm-p8-kvm-04-guest-06 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.9.51.4-1
subscription management rules: 5.15
subscription-manager: 1.15.9-6.el7
python-rhsm: 1.15.4-2.el7

How reproducible:


Steps to Reproduce:
[root@ibm-p8-kvm-04-guest-06 ~]# subscription-manager config --server.hostname=subscription.rhn.stage.redhat.com --server.port=443 --server.prefix=/subscription
[root@ibm-p8-kvm-04-guest-06 ~]# 
[root@ibm-p8-kvm-04-guest-06 ~]# subscription-manager environments
Registering to: subscription.rhn.stage.redhat.com:443/subscription <=== UNEXPECTED
Username: stage_test_12
Password: 
Error: Server does not support environments.
[root@ibm-p8-kvm-04-guest-06 ~]#

Actual results:
  above

Expected results:
  the stdout from calls to the environments module should exclude "Registering to:" message

Additional info:

Comment 1 vritant 2015-08-27 18:19:10 UTC

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