Add a static README for debugging quickstart logs
This will be used as a footer in upstream quickstart log folders that are served by logs.openstack.org. Change-Id: I21c9b37e861a40d43726847365e08d097bd5ce22
This commit is contained in:
parent
0dbe82a056
commit
f57d83c8f1
|
@ -0,0 +1,53 @@
|
||||||
|
<!DOCTYPE HTML>
|
||||||
|
<html lang="en-US">
|
||||||
|
<head>
|
||||||
|
<title>README for Quickstart Logs</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>How to figure out what went wrong?</h1>
|
||||||
|
<p>Check the console log and search for <b>PLAY RECAP</b>. There are sometimes
|
||||||
|
multiple ansible runs in a job, usually the last one is the relevant.
|
||||||
|
If no <b>PLAY RECAP</b> text is found that usually means an infra failure
|
||||||
|
before Quickstart could even start. Try rechecking or asking on <i>#tripleo</i>
|
||||||
|
if there's an ongoing infra issue.</p>
|
||||||
|
|
||||||
|
<p>Look for a line above the <b>PLAY RECAP</b> that starts with
|
||||||
|
"<b>fatal:</b>". If no such line is found, try searching for other PLAY RECAP
|
||||||
|
lines or other error outputs.</p>
|
||||||
|
|
||||||
|
<p>If this "fatal" line contains the execution of a shell script and redirects
|
||||||
|
to a log, check which machine that task ran on. Look under that node's
|
||||||
|
directory in the logs to find the file.</p>
|
||||||
|
|
||||||
|
<p>Example output:<br/>
|
||||||
|
<br/><code>
|
||||||
|
fatal: [<b>undercloud</b>]: FAILED! => {"changed": true, "cmd": "set -o pipefail &&
|
||||||
|
/home/jenkins/<b>overcloud-prep-images.sh</b> 2>&1 | awk '{ print
|
||||||
|
strftime(\"%Y-%m-%d %H:%M:%S |\"), $0; fflush(); }' >
|
||||||
|
/home/stack/<b>overcloud_prep_images.log</b>", "failed": true, "rc": 1}<br/>
|
||||||
|
<br/>
|
||||||
|
PLAY RECAP *********************************************************************<br/>
|
||||||
|
</code></p>
|
||||||
|
|
||||||
|
<p>In this case the <code>overcloud-prep-images.sh</code> script failed, which
|
||||||
|
is redirected to <code>/home/jenkins/overcloud_prep_images.log
|
||||||
|
</code> on the undercloud.</p>
|
||||||
|
|
||||||
|
<p>If this is a different Ansible error, that could mean either an infra
|
||||||
|
problem (often has <b>UNREACHABLE</b> in the line) or a bug in Quickstart. Ask
|
||||||
|
on <i>#tripleo</i> to get help or open a bug on
|
||||||
|
<a href='https://bugs.launchpad.net/tripleo/+filebug'>Launchpad</a>. Add the
|
||||||
|
"ci" tag if it's a CI issue and "quickstart" if you suspect that the bug is in
|
||||||
|
Quickstart itself.</p>
|
||||||
|
|
||||||
|
<h1>Links to common log files</h1>
|
||||||
|
<ul>
|
||||||
|
<li><a href='undercloud/home/jenkins/'>undercloud/home/jenkins/</a>
|
||||||
|
- the source and log output of all templated shell scripts</li>
|
||||||
|
<li><a href='undercloud/var/log/extra/'>undercloud/var/log/extra/</a> -
|
||||||
|
extra system details like package list, and cpu info gathered from the
|
||||||
|
undercloud</li>
|
||||||
|
<li><a href='docs/build/'>docs/build/</a> - autogenerated documentation</li>
|
||||||
|
</ul>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Reference in New Issue