8000 doc: Add FAQ for Pyopenssl issue by gmuloc · Pull Request #402 · aristanetworks/anta · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

doc: Add FAQ for Pyopenssl issue #402

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,23 @@ This error arises due to a compatibility issue between `urllib3` v2.0 and older

As per the [urllib3 v2 migration guide](https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html), 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.

## Why am I seeing `AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'` when running ANTA

When running the `anta` commands after installation, some users might encounter the following error:

```bash
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
```

The error is a result of incompatibility between `cryptography` and `pyopenssl` when installing `asyncssh` which is a requirement of ANTA.

### How can I resolve this error?

1. Upgrade `pyopenssl`

```bash
pip install -U pyopenssl>22.0
```
---
## Still facing issues?

Expand Down
4 changes: 1 addition & 3 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,6 @@ Commands:
tpl-report ANTA command to check network state with templated report
```

> Currently to be able to run `anta nrfu --help` 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: https://github.com/arista-netdevops-community/anta/issues/263

To run the NRFU, you need to select an output format amongst ["json", "table", "text", "tpl-report"]. For a first usage, `table` 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

### Default report using table
Expand Down Expand Up @@ -223,7 +221,7 @@ leaf01 :: VerifyMlagConfigSanity :: SKIPPED (MLAG is disabled)
[...]
```

### Report per host
### Report in JSON format

```bash
$ anta \
Expand Down
0