Skip to content

Cisco NXOS devices time out after upgrading to docker image master-e62e12b #3725

@ffeingold-clmke

Description

@ffeingold-clmke

Describe the bug
We are running Oxidized under docker. Yesterday we upgraded to master-e62e12b and some Cisco NXOS devices starting failing (saying it timed out). We enabled debug and saved the SSH log to a device that was failing. We then reverted to master-918108d and it started working again. We also saved the debug log.

To Reproduce
Configure Oxidized, under docker, running latest to backup a Cisco NXOS device. Enable debug.

  1. Examine the last line of the debug file. We see:
    sent cmd "exit\n" (but no related receive, so the process just hangs until it times out)

Expected behavior
Setup the same configuration, but use master-918108d instead of latest. Examine the debug log and you will see:

sent cmd "exit\n"
received "exit\r\r\n"

Running environment (please complete the following information):

  • OS: Ubuntu 24.04
  • oxidized version: Docker image master-e62e12b
  • oxidized-web version: N/A
  • Manufacturer model an software version: Cisco N9K-C93108TC-EX 10.3(6)
  • oxidized model name: NXOS

Additional context
Under the "Unreleased" change log, this seems like it might be related to: "perle: remove trailing \r (the device sends \r\r\n) (@robertcheramy)"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions