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 1153604 - Implementing firewall rules for katello and foreman users prevents elastic search from using the port
Summary: Implementing firewall rules for katello and foreman users prevents elastic se...
Keywords:
Status: CLOSED DUPLICATE of bug 1161254
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Docs Install Guide
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Athene Chan
QA Contact: David O'Brien
URL:
Whiteboard:
Depends On:
Blocks: GSS_Sat6Beta_Tracker, GSS_Sat6_Tracker
TreeView+ depends on / blocked
 
Reported: 2014-10-16 10:08 UTC by Athene Chan
Modified: 2015-05-11 22:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-12-05 03:55:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Athene Chan 2014-10-16 10:08:46 UTC
Document URL: 
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/6.0/html/Installation_Guide/chap-Red_Hat_Satellite_Installation.html#Installing_Red_Hat_Satellite

Section Number and Name: 
2.1. Installing Red Hat Satellite


Describe the issue: 
 Run the following commands to configure the firewall to limit elasticsearch to foreman and katello users and make these rules persistent during reboots:

# iptables -A OUTPUT -o lo -p tcp -m tcp --dport 9200 -m owner --uid-owner foreman -j ACCEPT \
&& iptables -A OUTPUT -o lo -p tcp -m tcp --dport 9200 -m owner --uid-owner katello -j ACCEPT \
&& iptables -A OUTPUT -o lo -p tcp -m tcp --dport 9200 -j DROP
# iptables-save > /etc/sysconfig/iptables

Example: the iptables
rules for port 9200 could not possibly work in the original version,
since they were applied before the katellote packages were installed and
therefore before "foreman" and "katello" user accounts existed. The
latest revision moved the step to apply those rules to after the package
install, but they still don't (can't?) work--they only allow packets to
pass if coming from processes owned by "foreman" or "katello" users, but
the process actually listening on port 9200 is owned by
"elasticsearch"--so all of its outbound packets will be dropped.Â
Support has an open case on that one, and has reproduced it.



Needs documentation changes based on developer changes.

Comment 2 RHEL Program Management 2014-10-16 10:13:04 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 10 Athene Chan 2014-12-05 03:55:11 UTC

*** This bug has been marked as a duplicate of bug 1161254 ***


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