Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1176059

Summary: Report register to RHN through proxy server at first time successfully while actually it is not
Product: Red Hat Enterprise Virtualization Manager Reporter: wanghui <huiwa>
Component: ovirt-nodeAssignee: Ryan Barry <rbarry>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: medium    
Version: 3.5.0CC: cshao, dfediuck, ecohen, fdeutsch, gklein, huiwa, leiwang, lsurette, yaniwang, ycui
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: node
Fixed In Version: Doc Type: Known Issue
Doc Text:
This release does not support registering Red Hat Enterprise Virtualization Hypervisors to RHN with a proxy.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-17 15:09:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sosreport file
none
provide /var/log files according to comment#3
none
ovirt-node.debug.log file none

Description wanghui 2014-12-19 10:15:51 UTC
Created attachment 971064 [details]
sosreport file

Description of problem:
It reports succeed registering to RHN through proxy server at the first time while actually it is not.

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141218.0.el7ev
ovirt-node-3.1.0-0.37.20141218gitcf277e1.el7.noarch
ovirt-node-plugin-rhn-3.1.0-0.37.20141218gitcf277e1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. TUI Install rhev-hypervisor7-7.0-20141218.0.el7ev
2. In RHN page file the Login name and password.
3. Enter <HTTP Proxy Configuration>, file the proxy server info and save.
4. Select <save> to register to RHN.
5. Check the RHN page

Actual results:
1. After step4, it report as follows.
========================================================================
Checking pre-conditions ...
(1/1) Registering to Server ...

All changes were applied successfully.
=======================================================================
2. After step5, no registration status is shown in RHN page.

Expected results:
1. After step5, it should register to RHN succeed.

Additional info:
1. No such issue when register to RHN without proxy server.
2. No suche issue when register to RHN with proxy server at the second time.

Comment 3 Ryan Barry 2014-12-22 16:47:10 UTC
Can you please attach ovirt-node.log?

Comment 4 wanghui 2014-12-23 06:28:22 UTC
Created attachment 972292 [details]
provide /var/log files according to comment#3

Comment 5 Ryan Barry 2014-12-23 14:37:43 UTC
Sorry, I guess I'm used to running in debug mode.

Could you drop to a shell and run it with "python -m ovirt.node.setup.__main__ --debug" then attach the log?

In testing, I see subscription-manager being called with all parameters, but my RHN account is different, and I can't see what's registered on the portal. I'd like to see if it's also being called with all parameters when you're testing, and if so, to figure out what's happening with subscription-manager.

Comment 6 wanghui 2015-01-08 08:09:55 UTC
Created attachment 977666 [details]
ovirt-node.debug.log file

Attache the log file according to comment#5

Comment 8 cshao 2015-06-18 09:25:58 UTC
I can reproduce the same issue on rhev-hypervisor6-6.7-20150609.0( ovirt-node-3.2.3-3.el6.noarch) build.

Comment 9 Fabian Deutsch 2015-07-09 12:04:53 UTC
Lowering the priority as it is not the main flow.

Comment 10 Fabian Deutsch 2015-09-17 15:09:30 UTC
This functionality will move to cockpit, where this bug does not apply anymore.