Bug 1832574 - Add keep alive option in Receptor node
Summary: Add keep alive option in Receptor node
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: RH Cloud - Cloud Connector
Version: 6.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 6.7.1
Assignee: Jason Stephens
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-06 20:40 UTC by Mike McCune
Modified: 2020-06-08 13:18 UTC (History)
5 users (show)

Fixed In Version: ansiblerole-satellite-receptor-installer-0.6.6 receptor-0.6.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1828868
Environment:
Last Closed: 2020-06-08 13:18:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:2422 0 None None None 2020-06-08 13:18:13 UTC

Comment 3 Zach Huntington-Meath 2020-05-07 17:25:12 UTC
Adam, what version of receptor is needed for this?

Comment 4 Adam Ruzicka 2020-05-07 17:33:30 UTC
This will need the installer role 0.6.6 (already out, upstream packaging PR available[1]) and receptor 0.6.2 which should be released any minute now.

[1] - https://github.com/theforeman/foreman-packaging/pull/5179

Comment 5 Lukáš Hellebrandt 2020-05-22 10:12:50 UTC
Verified with Sat 6.7.1 snap 1.

1) Installed Satellite + Receptor
2) Let Receptor run
3) For 24 hours, ran a loop that disables and enables communication for a random time [0]
4) Stopped the loop, enabled communication
5) Scheduled a remediation through c.rh.c
=> Job invocation appeared in the Satellite - the Receptor was able to re-establish a communication with c.rh.c, didn't hang.

[0] # blocked=0; while true; do sleep_time=$(($RANDOM % 600)); if [ $blocked -eq 1 ]; then blocked=0; echo unblocking; firewall-cmd --direct --remove-rule ipv4 filter OUTPUT 0 -p tcp -m tcp --dport=443 -j DROP; else blocked=1; echo blocking; firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -p tcp -m tcp --dport=443 -j DROP; fi; sleep $sleep_time; done

Comment 8 errata-xmlrpc 2020-06-08 13:18:03 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/RHBA-2020:2422


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