Hide Forgot
Description of problem: The /etc/openshift/iptables.*.rules files are misplaced. All other proxy configuration is located in /var/lib/openshift which allows OpenShift Operators to backup one mountpoint for all routing and gear information Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Configuration information in /etc/openshift Expected results: Configuration information under /var/lib/openshift Additional info: Suggested directories: #1 /var/lib/openshift/.http.d #2 /var/lib/openshift/.routing
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/aa4f7641f9835de4742276829ad6c14f6717c01c Bug 1045224 - install iptables rules in new dir install iptables.*.rules in /var/lib/openshift/.httpd.d instead of /etc/openshift. solve 'files listed twice' warning during rpmbuild for rubygem-openshift-origin-node modified: node/misc/bin/oo-iptables-port-proxy modified: node/misc/sbin/oo-admin-ctl-iptables-port-proxy modified: node/rubygem-openshift-origin-node.spec
https://github.com/openshift/origin-server/pull/4720
Checked on devenv_4363, the iptables.nat.rules and iptables.filter.rules are placed under /var/lib/openshift/.httpd.d/ now. [root@ip-10-232-39-225 ~]# ls /var/lib/openshift/.httpd.d/|grep iptables iptables.filter.rules iptables.filter.rules.bak iptables.nat.rules iptables.nat.rules.bak [root@ip-10-232-39-225 ~]# ls /etc/openshift/|grep iptables [root@ip-10-232-39-225 ~]# Move bug to verified.