Hide Forgot
After some Origin-centric work recently, thought some of these oo-diagnostics changes could benefit us: commit 02cf33db96e3e09c0ebf25969ce2252b6dfb7a96 CommitDate: Sun Dec 15 16:15:46 2013 -0500 <oo-diagnostics> more specific test conditions Introduced variables to indicate using the SCL or systemctl, instead of assuming things based on OS and project. Makes oo-diagnostics better for Origin and non-RHEL EL. commit 9b72939f28a6d35354db74cc7464d879bbd3a81e CommitDate: Sun Dec 15 16:15:47 2013 -0500 <oo-diagnostics> more reliable test_broker_certificate (this has been a problem for us too) commit 2861eb8eb040538afb7e0ffe92225b1e43aa710e CommitDate: Mon Dec 16 16:17:38 2013 -0500 <oo-diagnostics> rewording around broker failure commit 7afe0ffbdf5b4b51610e412fbfa0b12226b5d79e CommitDate: Mon Dec 16 16:36:47 2013 -0500 <oo-diagnostics> find right mco node log (since we are documenting a new mco log location and it's already changed in openshift.sh) commit 0d61cc1d16667943bf09789cac337941bef418f7 CommitDate: Mon Dec 16 16:41:42 2013 -0500 <oo-diagnostics> fix test_broker_certificate bad grep
https://github.com/openshift/enterprise-server/pull/172
check on rubygem-openshift-origin-common-1.17.2.4-1.el6op.noarch 1.run "oo-diagnostics " on broker INFO: loading list of installed packages INFO: OpenShift broker installed. INFO: Loading the broker rails environment. INFO: running: prereq_dns_server_available INFO: checking that the first server in /etc/resolv.conf responds INFO: running: prereq_domain_resolves INFO: checking that we can resolve our application domain INFO: running: test_enterprise_rpms INFO: Checking that all OpenShift RPMs are actually from OpenShift Enterprise INFO: running: test_selinux_policy_rpm INFO: rpm selinux-policy installed with at least version 3.7.19-195.el6_4.4 INFO: running: test_selinux_enabled INFO: running: test_broker_cache_permissions INFO: broker application cache permissions appear fine INFO: running: test_node_profiles_districts_from_broker INFO: checking node profiles via MCollective INFO: profile for node1.ose20-1216-com.cn: small INFO: profile for node2.ose20-1216-com.cn: xxxx WARN: test_node_profiles_districts_from_broker No districts are defined. Districts should be used in any production installation. Please consult the Administration Guide. INFO: skipping test_node_profiles_districts_from_broker INFO: running: test_broker_accept_scripts INFO: running oo-accept-broker INFO: oo-accept-broker ran without error: --BEGIN OUTPUT-- NOTICE: SELinux is Enforcing NOTICE: SELinux is Enforcing PASS --END oo-accept-broker OUTPUT-- INFO: running oo-accept-systems -w 2 INFO: oo-accept-systems -w 2 ran without error: --BEGIN OUTPUT-- PASS --END oo-accept-systems -w 2 OUTPUT-- INFO: running: test_node_accept_scripts INFO: skipping test_node_accept_scripts INFO: running: test_broker_httpd_error_log INFO: running: test_broker_passenger_ps INFO: checking the broker application process tree INFO: running: test_for_nonrpm_rubygems INFO: checking for presence of gem-installed rubygems INFO: looking in /opt/rh/ruby193/root/usr/local/share/gems/specifications/*.gemspec /opt/rh/ruby193/root/usr/share/gems/specifications/*.gemspec INFO: running: test_for_multiple_gem_versions INFO: checking for presence of gem-installed rubygems INFO: running: test_node_httpd_error_log <--snip--> 2.run "oo-diagnostics " on node <--snip--> INFO: running: test_node_accept_scripts INFO: running oo-accept-node FAIL: run_script oo-accept-node PASS INFO: running: test_broker_httpd_error_log INFO: skipping test_broker_httpd_error_log INFO: running: test_broker_passenger_ps INFO: skipping test_broker_passenger_ps INFO: running: test_for_nonrpm_rubygems INFO: checking for presence of gem-installed rubygems INFO: looking in /opt/rh/ruby193/root/usr/local/share/gems/specifications/*.gemspec /opt/rh/ruby193/root/usr/share/gems/specifications/*.gemspec INFO: running: test_for_multiple_gem_versions INFO: checking for presence of gem-installed rubygems INFO: running: test_node_httpd_error_log INFO: skipping test_node_httpd_error_log INFO: running: test_node_containerization_plugin INFO: running: test_node_mco_log INFO: running: test_pam_openshift INFO: running: test_services_enabled INFO: checking that required services are running now INFO: checking that required services are enabled at boot INFO: running: test_node_quota_bug INFO: testing for quota creation failure bug INFO: running: test_vhost_servernames INFO: checking for vhost interference problems INFO: running: test_altered_package_owned_configs INFO: running: test_broken_httpd_version INFO: running: test_usergroups_enabled INFO: running: test_mcollective_context INFO: running: test_mcollective_bad_facts INFO: skipping test_mcollective_bad_facts INFO: running: test_auth_conf_files INFO: skipping test_auth_conf_files INFO: running: test_broker_certificate INFO: skipping test_broker_certificate INFO: running: test_abrt_addon_python INFO: running: test_node_frontend_clash INFO: running: test_yum_configuration the modified test method runs correctly.