/usr/share/doc/python-hpilo-doc/html/troubleshooting.html is in python-hpilo-doc 3.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Common issues — python-hpilo 3.6 documentation</title>
<link rel="stylesheet" href="_static/cloud.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Noticia+Text|Open+Sans|Droid+Sans+Mono" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '3.6',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: true
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/cloud.js"></script>
<link rel="top" title="python-hpilo 3.6 documentation" href="index.html" />
<link rel="next" title="Contributing guide" href="contributing.html" />
<link rel="prev" title="Managing iLO’s with puppet" href="puppet.html" />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body role="document">
<div class="relbar-top">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> </li>
<li class="right" >
<a href="contributing.html" title="Contributing guide"
accesskey="N">next</a> </li>
<li class="right" >
<a href="puppet.html" title="Managing iLO’s with puppet"
accesskey="P">previous</a> </li>
<li><a href="index.html">python-hpilo 3.6 documentation</a> »</li>
</ul>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="common-issues">
<h1>Common issues<a class="headerlink" href="#common-issues" title="Permalink to this headline">¶</a></h1>
<p>The iLO interfaces aren’t the most helpful when they detect something
erroneous. These are some common issues and their solutions. If you have a
problem that is not listed here, or solved with these instructions, please file
an issue at <a class="reference external" href="https://github.com/seveas/python-hpilo">https://github.com/seveas/python-hpilo</a>. When reporting bugs, please
do send the problematic XML responses. These XML responses can be saved as
follows:</p>
<div class="highlight-python"><div class="highlight"><pre>hpilo_cli example-server.int.kaarsemaker.net --save-response=for_bugreport.txt get_fw_version
</pre></div>
</div>
<p>Of course you should replace the hostname with the actual iLO hostname or ip,
and get_fw_version with the actual call you want to make. If you use the python
API instead of the CLI tool, set the <code class="xref py py-data docutils literal"><span class="pre">save_response</span></code> attribute on the ilo
object:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">ilo</span> <span class="o">=</span> <span class="n">hpilo</span><span class="o">.</span><span class="n">Ilo</span><span class="p">(</span><span class="n">hostname</span><span class="p">,</span> <span class="n">login</span><span class="p">,</span> <span class="n">password</span><span class="p">)</span>
<span class="n">ilo</span><span class="o">.</span><span class="n">save_response</span> <span class="o">=</span> <span class="s2">"for_bugreport.txt"</span>
<span class="n">ilo</span><span class="o">.</span><span class="n">get_fw_version</span><span class="p">()</span>
</pre></div>
</div>
<p>These debug responses may contain sensitive information, which you should edit
out. Please use a hexeditor to do so, or at least make sure your editor does
not try to normalize newlines. It is important that the number of characters in
the file stays the same, so don’t add or remove data, just overwrite sensitive
values with XXXX.</p>
<p>As github issues do not support attachments, feel fee to mail this debug
information to <a class="reference external" href="mailto:dennis%40kaarsemaker.net">the author</a> directly.</p>
<div class="section" id="update-your-firmware">
<h2>Update your firmware<a class="headerlink" href="#update-your-firmware" title="Permalink to this headline">¶</a></h2>
<p>This might sound like a lame cop-out, but quite a few versions of especially
iLO 3 firmware contain serious bugs that cause the XML interface to misbehave.
Upgrading the firmware of an iLO is simple and does not impact the host at all,
so it’s always a good idea to start with a firmware update:</p>
<div class="highlight-python"><div class="highlight"><pre>hpilo_cli example-server.int.kaarsemaker.net update_rib_firmware version=latest
</pre></div>
</div>
</div>
<div class="section" id="syntax-error-line-0">
<h2>Syntax error: Line #0<a class="headerlink" href="#syntax-error-line-0" title="Permalink to this headline">¶</a></h2>
<p>Occasionally you might see this error at the end of a traceback:</p>
<div class="highlight-python"><div class="highlight"><pre>hpilo.IloError: Error communicating with iLO: Syntax error: Line #0: syntax error near "" in the line: ""
</pre></div>
</div>
<p>This generaly means that you are trying to call a method that is not supported
for your device or the firmware version you use. Get this information with:</p>
<div class="highlight-python"><div class="highlight"><pre>hpilo_cli example-server.int.kaarsemaker.net get_fw_version
</pre></div>
</div>
<p>And consult the HP sample XML files to find out whether this call is supported
for your device and firmware version. If it is, please file a bug report.</p>
<p>Note that for some calls (most notable mod_global_settings), support for the
call may be there, but not all arguments are supported.</p>
</div>
<div class="section" id="elementtree-parseerror">
<h2>ElementTree.ParseError<a class="headerlink" href="#elementtree-parseerror" title="Permalink to this headline">¶</a></h2>
<p>Occasionally you might see either of these errors at the end of a traceback:</p>
<div class="highlight-python"><div class="highlight"><pre>cElementTree.ParseError: not well-formed (invalid token): line 301, column 23
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 301, column 23
</pre></div>
</div>
<p>This means that the iLO interface is spewing invalid XML back at you.
python-hpilo has some workarounds in place for common cases, and most other
cases have been fixed in newer firmware versions. Please update your firmware
version and try again. If the problem persists, please file a bug report.</p>
</div>
<div class="section" id="unexpected-errors-after-a-login-failure">
<h2>Unexpected errors after a login failure<a class="headerlink" href="#unexpected-errors-after-a-login-failure" title="Permalink to this headline">¶</a></h2>
<p>If you use the wrong credentials to access the XML interface, some iLO’s get
into some weird state. Call <code class="xref py py-func docutils literal"><span class="pre">get_fw_version()</span></code> a few times to clear this
state and recover.</p>
</div>
<div class="section" id="failure-to-update-ilo3-firmware">
<h2>Failure to update iLO3 firmware<a class="headerlink" href="#failure-to-update-ilo3-firmware" title="Permalink to this headline">¶</a></h2>
<p>The early firmware versions of iLO3 had quite a few issues. To update from
anything older than 1.28 to 1.50 or newer, you need to update in two steps:
first update to 1.28 and then update to a later version:</p>
<div class="highlight-python"><div class="highlight"><pre>hpilo_cli example-server.int.kaarsemaker.net update_rib_firmware version=1.28
hpilo_cli example-server.int.kaarsemaker.net update_rib_firmware version=latest
</pre></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="index.html" title="index">
<img class="logo" src="_static/python-hpilo.png" alt="Logo"/>
</a></p><div class="sphinxlocaltoc">
<h3><a href="index.html">Page contents</a></h3>
<ul>
<li><a class="reference internal" href="#">Common issues</a><ul>
<li><a class="reference internal" href="#update-your-firmware">Update your firmware</a></li>
<li><a class="reference internal" href="#syntax-error-line-0">Syntax error: Line #0</a></li>
<li><a class="reference internal" href="#elementtree-parseerror">ElementTree.ParseError</a></li>
<li><a class="reference internal" href="#unexpected-errors-after-a-login-failure">Unexpected errors after a login failure</a></li>
<li><a class="reference internal" href="#failure-to-update-ilo3-firmware">Failure to update iLO3 firmware</a></li>
</ul>
</li>
</ul>
</div>
<div class="sphinxprev">
<h4>Previous page</h4>
<p class="topless"><a href="puppet.html"
title="Previous page">← Managing iLO’s with puppet</a></p>
</div>
<div class="sphinxnext">
<h4>Next page</h4>
<p class="topless"><a href="contributing.html"
title="Next page">→ Contributing guide</a></p>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="relbar-bottom">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> </li>
<li class="right" >
<a href="contributing.html" title="Contributing guide"
>next</a> </li>
<li class="right" >
<a href="puppet.html" title="Managing iLO’s with puppet"
>previous</a> </li>
<li><a href="index.html">python-hpilo 3.6 documentation</a> »</li>
</ul>
</div>
</div>
<div class="footer" role="contentinfo">
© Copyright 2011-2016, Dennis Kaarsemaker.
</div>
<!-- cloud_sptheme 1.4 -->
</body>
</html>
|