Hide Forgot
Description of problem: Currently openshift-iptables-port-proxy does not support status option, so oo-diagnostics will throw error message. I found this issue in OpenShift Enterprise env. And in online devenv also has the same issue. Version-Release number of selected component (if applicable): devenv_3993 OSE: 2.0/2013-11-05.1 How reproducible: Always Steps to Reproduce: 1.Setup node using installation script 2.Run oo-diagnostics 3. Actual results: The following error is seen: FAIL: test_services_enabled The following service(s) are not currently started: openshift-iptables-port-proxy These services are required for OpenShift functionality. This issue also happend in devenv. [root@node2 ~]# service openshift-iptables-port-proxy status Usage: /usr/sbin/oo-admin-ctl-iptables-port-proxy {start|stop|restart|reload} [root@node2 ~]# echo $? 2 Expected results: oo-diagnostics should not throw error. Additional info:
https://github.com/openshift/origin-server/pull/4121
Verified this bug on devenv_4016, and PASS. 1. Create a scalable app 2. # /etc/init.d/openshift-iptables-port-proxy status The OpenShift iptables port proxy is enabled. # echo $? 0 # oo-diagnostics -v <--snip--> INFO: checking that required services are running now FAIL: test_services_enabled The following service(s) are not currently started: mcollective These services are required for OpenShift functionality <--snip--> There is no openshift-iptables-port-proxy service listed. 3. Remove a line from /etc/openshift/iptables.nat.rules 4. # /etc/init.d/openshift-iptables-port-proxy status ERROR: A difference has been detected between state of /etc/openshift/iptables.nat.rules and the NAT table. # oo-diagnostics -v <--snip--> INFO: checking that required services are running now FAIL: test_services_enabled The following service(s) are not currently started: openshift-iptables-port-proxy, mcollective These services are required for OpenShift functionality. <--snip-->