Project

General

Profile

Actions

Feature #24415

closed

[RFE] allow configuration of helloMaxAge and helloInterval

Added by Chris Roberts over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Foreman modules
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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

Actions #1

Updated by Chris Roberts over 5 years ago

Until there are hiera configurable parameters, follow this KCS:

https://access.redhat.com/solutions/3440201

Actions #2

Updated by Chris Roberts over 5 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by Chris Roberts over 5 years ago

  • Status changed from Ready For Testing to Resolved
  • Pull request https://github.com/theforeman/puppet-qpid/pull/98 added
Actions

Also available in: Atom PDF