| Summary: | oo-diagnostics OSE 2.0 cherry-pick | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Luke Meyer <lmeyer> |
| Component: | Node | Assignee: | Luke Meyer <lmeyer> |
| Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.0.0 | CC: | bleanhar, libra-onpremise-devel, pruan, xiama |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-openshift-origin-common-1.17.2.3 | Doc Type: | Enhancement |
| Doc Text: |
Feature:
oo-diagnostics should exit cleanly when Ctrl-C interrupts.
Also, it should report when the cloud domain doesn't resolve.
Reason:
oo-diagnostics was printing an ugly stack trace when interrupted.
While it detected primary DNS server being down, we would also like it to detect when the cloud domain isn't being handled by a DNS server, as that's a common config issue.
Result (if any):
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-01-13 14:54:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
https://github.com/openshift/enterprise-server/pull/162 Should be in the next build of rubygem-openshift-origin-common rubygem-openshift-origin-common-1.17.2.3 is actually built now; should be in the next puddle. check it on puddle:[2.0.z/2013-12-16.2]
# oo-diagnostics -v
INFO: loading list of installed packages
INFO: OpenShift broker installed.
INFO: Loading the broker rails environment.
INFO: running: prereq_dns_server_available
<--snip-->
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
^C
Exiting due to user interrupt (^C).
#oo-diagnostics
^C
Exiting due to user interrupt (^C).
when I stop the dns service, then run ' oo-diagnostics '
#oo-diagnostics
FAIL: prereq_dns_server_available
192.168.59.152 doesn't appear to respond to DNS requests.
This command:
host -W 1 example.com. 192.168.59.152
should have connected to your primary nameserver.
Instead, it returned:
;; connection timed out; trying next origin
;; connection timed out; no servers could be reached
<--snip-->
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. http://rhn.redhat.com/errata/RHBA-2014-0020.html |
Would like to have these cherry-picked to OSE. Nothing urgent. commit db7780f5c6bc329c9ffdea22f7293e93e6ec5ffc Author: Luke Meyer <lmeyer> Date: Mon Nov 25 21:22:20 2013 -0500 <oo-diagnostics> detect common DNS problem early commit 77cc39c917d72ac4797844451dee42795e4b7684 Author: Luke Meyer <lmeyer> Date: Mon Nov 25 21:39:21 2013 -0500 <oo-diagnostics> handle ^C more cleanly