Bug 670315

Summary: Timeout of the registration to RHN Satellite is more than expected
Product: Red Hat Enterprise Linux 5 Reporter: Chris Pelland <cpelland>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: urgent    
Version: 5.6CC: apevec, cpelland, lilu, mburns, mshao, ovirt-maint, pm-eus
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-node-1.0-54.2.el5_6.1 Doc Type: Bug Fix
Doc Text:
When Red Hat Enterprise Virtualization Hypervisor failed to connect to Red Hat Network Satellite (for example, due to a network failure or when a user specified an incorrect address), it took a long time for the failed request to time out. This update changes the timeout value to 30 seconds, enables 3 retries, and ensures that the connection failure is now detected as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-11 18:04:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 664378    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Description Chris Pelland 2011-01-17 21:09:10 UTC
This bug has been copied from bug #664378 and has been proposed
to be backported to 5.6 z-stream (EUS).

Comment 3 Mike Burns 2011-01-17 21:38:03 UTC
Created attachment 473936 [details]
Patch

Comment 5 Mike Burns 2011-01-18 21:48:33 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
If a user specifies an incorrect RHN Satellite address in RHEV-H or a network problem prevents a connection between RHEV-H and RHN Satellite, RHEV-H would take a long time to time out.  This bug will reduce the time out to 90 seconds and correctly detects if a failure occurred.

Comment 6 Linqing Lu 2011-03-02 06:54:41 UTC
Verified in rhev-h 5.6-9.1
ovirt-config-rhn returned an error as expected within 90 seconds while port 443 (https) was DROP by iptables.

Comment 7 Jaromir Hradilek 2011-03-11 10:44:20 UTC
    Technical note updated. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    Diffed Contents:
@@ -1 +1 @@
-If a user specifies an incorrect RHN Satellite address in RHEV-H or a network problem prevents a connection between RHEV-H and RHN Satellite, RHEV-H would take a long time to time out.  This bug will reduce the time out to 90 seconds and correctly detects if a failure occurred.+When Red Hat Enterprise Virtualization Hypervisor failed to connect to Red Hat Network Satellite (for example, due to a network failure or when a user specified an incorrect address), it took a long time for the failed request to time out. This update changes the timeout value to 30 seconds, enables 3 retries, and ensures that the connection failure is now detected as expected.

Comment 8 errata-xmlrpc 2011-03-11 18:04:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0352.html