Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1578470 - [RFE] allow configuration of helloMaxAge and helloInterval
Summary: [RFE] allow configuration of helloMaxAge and helloInterval
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Installation
Version: 6.3.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.5.0
Assignee: Chris Roberts
QA Contact: Perry Gagne
URL: https://projects.theforeman.org/issue...
Whiteboard:
: 1578706 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-15 16:27 UTC by Chris Duryee
Modified: 2021-08-30 13:04 UTC (History)
11 users (show)

Fixed In Version: katello-installer-base-3.9.0-0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-14 12:37:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24415 0 Normal Resolved [RFE] allow configuration of helloMaxAge and helloInterval 2020-09-13 03:20:03 UTC
Red Hat Issue Tracker SAT-4778 0 None None None 2021-08-30 13:04:44 UTC
Red Hat Knowledge Base (Solution) 3440201 0 None None None 2018-05-15 16:29:08 UTC
Red Hat Product Errata RHSA-2019:1222 0 None None None 2019-05-14 12:37:27 UTC

Description Chris Duryee 2018-05-15 16:27:54 UTC
Description of problem:

Right now, the qdrouterd "helloInterval" and "helloMaxAge" settings are set to 1 sec and 3 sec by default. This can cause issues on networks with sporadic issues, or if a system pauses temporarily (for example, migrating a VM running a capsule to a new hypervisor). Qdrouterd will eventually reconnect but it may make multiple attempts while waiting for network issues to resolve. In short, qdrouterd on Satellite installations is overly sensitive to network blips by default, given that katello-agent commands sent via amqp are not extremely time sensitive.

These settings can be changed in qdrouterd.conf, but it requires manual editing of the config file, and must be reapplied after the installer runs.

This bug has two parts:

* allow helloInterval and helloMaxAge to be configured via custom-hiera.yaml

* investigate if we should bump helloInterval and helloMaxAge to a higher default in Satellite. The default "accept timeout" for katello-agent in the satellite settings page is 20 seconds, so perhaps helloMaxAge of 15 is a good number to allow qdrouterd to drop and reconnect at least once.

https://access.redhat.com/solutions/3440201 has more info on this.
 
Version-Release number of selected component (if applicable): 6.3.1

Steps to Reproduce:
1. run satellite with one capsule on a VM
2. pause and unpause VM quickly, or suspend/unsuspend qdrouterd process
3. check if qdrouterd connection was dropped

Actual results:

qdrouterd connection dropped

Expected results:

qdrouterd connection not dropped

Comment 2 Nagoor Shaik 2018-05-17 01:59:39 UTC
*** Bug 1578706 has been marked as a duplicate of this bug. ***

Comment 3 Pavel Moravec 2018-05-30 12:38:56 UTC
+1 for the new default settings:

    helloInterval: 5
    helloMaxAge: 15

to have it aligned within the 20s  katello-agent initial response timeout.

(and +1 for having the options configurable via custom-hiera.yaml)

Comment 8 Perry Gagne 2019-01-07 18:32:17 UTC
Verified fix in sat 6.5 snap 10. 

Adding the following options to custom-hiera.yaml:

qpid::router::hello_interval: 10
qpid::router::hello_max_age: 30

Resulted in the relevant options being added to /etc/qpid-dispatch/qdrouterd.conf

Also verified that removing the option from custom-hiera.yaml, removed them from qdrouterd.conf

Comment 13 errata-xmlrpc 2019-05-14 12:37:19 UTC
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://access.redhat.com/errata/RHSA-2019:1222


Note You need to log in before you can comment on or make changes to this bug.