Skip to content
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

[PR #517/ffdd7c28 backport][stable-5] Missing no-refresh for exos_facts in Interfaces #518

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Feb 13, 2023

This is a backport of PR #517 as merged into main (ffdd7c2).

SUMMARY

Without the change exos_facts return timeout error when we use connection type network_cli.
It happened because we send command without 'no-refresh' and script cli2json.py stuck in loop while reading console output

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

exos: exos_facts

ADDITIONAL INFORMATION

You can reproduction of the problem with this task and 'ansible_connection: network_cli':

    - name: Gather all facts
      exos_facts:
        gather_subset:
          - config
          - interfaces

I use the component with EXOS 16.2.5.4, but also face a problem in EXOS 30.5.1.15

* missing no-refresh for exos_facts in Interfaces

* exos_fixtures: rename show_port_config

---------

Co-authored-by: Pavel Lazukin <plazukin@croc.ru>
(cherry picked from commit ffdd7c2)
@Andersson007 Andersson007 merged commit 1fe1e7a into stable-5 Feb 13, 2023
@Andersson007 Andersson007 deleted the patchback/backports/stable-5/ffdd7c2844c0e192d77653a95bcf5094d08fbf74/pr-517 branch February 13, 2023 08:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants