Skip to content

Commit

Permalink
Deployed fdd331a to main with MkDocs 1.5.3 and mike 1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 21, 2023
1 parent 26c614c commit 821ee92
Show file tree
Hide file tree
Showing 4 changed files with 77 additions and 12 deletions.
72 changes: 70 additions & 2 deletions main/faq/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1727,6 +1727,34 @@
</ul>
</nav>

</li>

<li class="md-nav__item">
<a href="#why-am-i-seeing-attributeerror-module-lib-has-no-attribute-openssl_add_all_algorithms-when-running-anta" class="md-nav__link">
Why am I seeing AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' when running ANTA
</a>

<nav class="md-nav" aria-label="Why am I seeing AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' when running ANTA">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#how-can-i-resolve-this-error_1" class="md-nav__link">
How can I resolve this error?
</a>

</li>

</ul>
</nav>

</li>

<li class="md-nav__item">
<a href="#pip-install-u-pyopenssl220" class="md-nav__link">
pip install -U pyopenssl&gt;22.0

</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -1799,6 +1827,34 @@
</ul>
</nav>

</li>

<li class="md-nav__item">
<a href="#why-am-i-seeing-attributeerror-module-lib-has-no-attribute-openssl_add_all_algorithms-when-running-anta" class="md-nav__link">
Why am I seeing AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' when running ANTA
</a>

<nav class="md-nav" aria-label="Why am I seeing AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' when running ANTA">
<ul class="md-nav__list">

<li class="md-nav__item">
<a href="#how-can-i-resolve-this-error_1" class="md-nav__link">
How can I resolve this error?
</a>

</li>

</ul>
</nav>

</li>

<li class="md-nav__item">
<a href="#pip-install-u-pyopenssl220" class="md-nav__link">
pip install -U pyopenssl&gt;22.0

</a>

</li>

<li class="md-nav__item">
Expand Down Expand Up @@ -1860,16 +1916,28 @@ <h5 id="how-can-i-resolve-this-error">How can I resolve this error?<a class="hea
<p>As per the <a href="https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html">urllib3 v2 migration guide</a>, the root cause of this error is an incompatibility with older OpenSSL versions. For example, users on RHEL7 might consider upgrading to RHEL8, which supports the required OpenSSL version.</p>
</li>
</ol>
<hr />
<h4 id="why-am-i-seeing-attributeerror-module-lib-has-no-attribute-openssl_add_all_algorithms-when-running-anta">Why am I seeing <code>AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'</code> when running ANTA<a class="headerlink" href="#why-am-i-seeing-attributeerror-module-lib-has-no-attribute-openssl_add_all_algorithms-when-running-anta" title="Permanent link">&para;</a></h4>
<p>When running the <code>anta</code> commands after installation, some users might encounter the following error:</p>
<div class="highlight"><pre><span></span><code>AttributeError:<span class="w"> </span>module<span class="w"> </span><span class="s1">&#39;lib&#39;</span><span class="w"> </span>has<span class="w"> </span>no<span class="w"> </span>attribute<span class="w"> </span><span class="s1">&#39;OpenSSL_add_all_algorithms&#39;</span>
</code></pre></div>
<p>The error is a result of incompatibility between <code>cryptography</code> and <code>pyopenssl</code> when installing <code>asyncssh</code> which is a requirement of ANTA.</p>
<h5 id="how-can-i-resolve-this-error_1">How can I resolve this error?<a class="headerlink" href="#how-can-i-resolve-this-error_1" title="Permanent link">&para;</a></h5>
<ol>
<li>
<p>Upgrade <code>pyopenssl</code></p>
<h4 id="pip-install-u-pyopenssl220"><div class="highlight"><pre><span></span><code>pip<span class="w"> </span>install<span class="w"> </span>-U<span class="w"> </span>pyopenssl&gt;22.0
</code></pre></div><a class="headerlink" href="#pip-install-u-pyopenssl220" title="Permanent link">&para;</a></h4>
<h4 id="still-facing-issues">Still facing issues?<a class="headerlink" href="#still-facing-issues" title="Permanent link">&para;</a></h4>
</li>
</ol>
<p>If you&rsquo;ve tried the above solutions and continue to experience problems, please report the issue in our <a href="https://github.com/arista-netdevops-community/anta">GitHub repository</a>.</p>

<hr>
<div class="md-source-file">
<small>

Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">August 18, 2023</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 21, 2023</span>


</small>
Expand Down
15 changes: 6 additions & 9 deletions main/getting-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,8 @@
</li>

<li class="md-nav__item">
<a href="#report-per-host" class="md-nav__link">
Report per host
<a href="#report-in-json-format" class="md-nav__link">
Report in JSON format
</a>

</li>
Expand Down Expand Up @@ -1869,8 +1869,8 @@
</li>

<li class="md-nav__item">
<a href="#report-per-host" class="md-nav__link">
Report per host
<a href="#report-in-json-format" class="md-nav__link">
Report in JSON format
</a>

</li>
Expand Down Expand Up @@ -2069,9 +2069,6 @@ <h4 id="test-your-network">Test your network<a class="headerlink" href="#test-yo
<span class="w"> </span>text<span class="w"> </span>ANTA<span class="w"> </span><span class="nb">command</span><span class="w"> </span>to<span class="w"> </span>check<span class="w"> </span>network<span class="w"> </span>states<span class="w"> </span>with<span class="w"> </span>text<span class="w"> </span>result
<span class="w"> </span>tpl-report<span class="w"> </span>ANTA<span class="w"> </span><span class="nb">command</span><span class="w"> </span>to<span class="w"> </span>check<span class="w"> </span>network<span class="w"> </span>state<span class="w"> </span>with<span class="w"> </span>templated<span class="w"> </span>report
</code></pre></div>
<blockquote>
<p>Currently to be able to run <code>anta nrfu --help</code> you need to have given to ANTA the mandatory input parameters: username, password and inventory otherwise the CLI will report an issue. This is tracked in: <a href="https://github.com/arista-netdevops-community/anta/issues/263">https://github.com/arista-netdevops-community/anta/issues/263</a></p>
</blockquote>
<p>To run the NRFU, you need to select an output format amongst [&ldquo;json&rdquo;, &ldquo;table&rdquo;, &ldquo;text&rdquo;, &ldquo;tpl-report&rdquo;]. For a first usage, <code>table</code> is recommended. By default all test results for all devices are rendered but it can be changed to a report per test case or per host</p>
<h5 id="default-report-using-table">Default report using table<a class="headerlink" href="#default-report-using-table" title="Permanent link">&para;</a></h5>
<div class="highlight"><pre><span></span><code>anta<span class="w"> </span><span class="se">\</span>
Expand Down Expand Up @@ -2136,7 +2133,7 @@ <h5 id="report-in-text-mode">Report in text mode<a class="headerlink" href="#rep
leaf01<span class="w"> </span>::<span class="w"> </span>VerifyMlagConfigSanity<span class="w"> </span>::<span class="w"> </span>SKIPPED<span class="w"> </span><span class="o">(</span>MLAG<span class="w"> </span>is<span class="w"> </span>disabled<span class="o">)</span>
<span class="o">[</span>...<span class="o">]</span>
</code></pre></div>
<h5 id="report-per-host">Report per host<a class="headerlink" href="#report-per-host" title="Permanent link">&para;</a></h5>
<h5 id="report-in-json-format">Report in JSON format<a class="headerlink" href="#report-in-json-format" title="Permanent link">&para;</a></h5>
<div class="highlight"><pre><span></span><code>$<span class="w"> </span>anta<span class="w"> </span><span class="se">\</span>
<span class="w"> </span>--username<span class="w"> </span>tom<span class="w"> </span><span class="se">\</span>
<span class="w"> </span>--password<span class="w"> </span>arista123<span class="w"> </span><span class="se">\</span>
Expand Down Expand Up @@ -2188,7 +2185,7 @@ <h5 id="report-per-host">Report per host<a class="headerlink" href="#report-per-
<small>

Last update:
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">August 18, 2023</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">September 21, 2023</span>


</small>
Expand Down
2 changes: 1 addition & 1 deletion main/search/search_index.json

Large diffs are not rendered by default.

Binary file modified main/sitemap.xml.gz
Binary file not shown.

0 comments on commit 821ee92

Please sign in to comment.