thatmattlove / hyperglass

hyperglass is the network looking glass that tries to make the internet better.
https://hyperglass.dev
BSD 3-Clause Clear License
594 stars 88 forks source link

v2.03 - juniper mx router unable to ping or traceroute #263

Closed saint-kid closed 1 week ago

saint-kid commented 3 weeks ago

Deployment Type

Docker

Version

v2.0.3

Steps to Reproduce

select juniper router, ping follow with an ip

Expected Behavior

ping result

Observed Behavior

something went wrong error message

Configuration

No response

Devices

No response

Logs

hyperglass-1  | 2024-06-17 13:17:08.226 | DEBUG    | hyperglass.models.directive:membership:111 - Checking target membership
hyperglass-1  | 2024-06-17 13:17:08.227 | DEBUG    | hyperglass.models.directive:membership:116 - Target membership verified
hyperglass-1  | 2024-06-17 13:17:08.227 | DEBUG    | hyperglass.models.directive:in_range:123 - Target is in range
hyperglass-1  | 2024-06-17 13:17:08.228 | DEBUG    | hyperglass.models.api.query:validate_query_target:107 - Validation passed
hyperglass-1  | 2024-06-17 13:17:08.228 | INFO     | hyperglass.api.routes:query:78 - Starting query execution
hyperglass-1  | 2024-06-17 13:17:08.229 | DEBUG    | hyperglass.api.routes:query:96 - Cache miss
hyperglass-1  | 2024-06-17 13:17:08.232 | DEBUG    | hyperglass.execution.main:execute:51 -
hyperglass-1  | 2024-06-17 13:17:08.235 | DEBUG    | hyperglass.execution.drivers._construct:__init__:46 - Constructing query
hyperglass-1  | 2024-06-17 13:17:08.237 | DEBUG    | hyperglass.execution.drivers._construct:queries:129 - Constructed query
hyperglass-1  | 2024-06-17 13:17:08.240 | DEBUG    | hyperglass.execution.drivers.ssh_netmiko:collect:56 - Connecting to device
hyperglass-1  | INFO - 2024-06-17 13:17:08,282 - paramiko.transport - transport - Connected (version 2.0, client OpenSSH_7.5)
hyperglass-1  | INFO - 2024-06-17 13:17:08,610 - paramiko.transport - transport - Authentication (password) successful!
hyperglass-1  | 2024-06-17 13:17:19.114 | CRITICAL | hyperglass.api.error_handlers:default_handler:48 - Error
hyperglass-1  | 2024-06-17 13:17:19.117 | INFO     | logging:callHandlers:1762 - 10.10.100.21:35750 - "POST /api/query HTTP/1.1" 500
hyperglass-1  | 2024-06-17 13:17:29.982 | CRITICAL | hyperglass.exceptions._common:__init__:34 - Request timed out. (Connection timed out)
hyperglass-1  | ERROR - 2024-06-17 13:17:29,982 - asyncio - runners - Exception in callback Loop._read_from_self
hyperglass-1  | handle: <Handle Loop._read_from_self>
hyperglass-1  | Traceback (most recent call last):
hyperglass-1  |   File "uvloop/cbhandles.pyx", line 66, in uvloop.loop.Handle._run
hyperglass-1  |   File "uvloop/loop.pyx", line 397, in uvloop.loop.Loop._read_from_self
hyperglass-1  |   File "uvloop/loop.pyx", line 402, in uvloop.loop.Loop._invoke_signals
hyperglass-1  |   File "uvloop/loop.pyx", line 377, in uvloop.loop.Loop._ceval_process_signals
hyperglass-1  |   File "/opt/hyperglass/hyperglass/execution/main.py", line 41, in handler
hyperglass-1  |     raise DeviceTimeout(**exc_args)
hyperglass-1  | hyperglass.exceptions.public.DeviceTimeout: Request timed out. (Connection timed out)
saint-kid commented 3 weeks ago

Issue resolved. Our noc team uses private ip for source4 address. Sorry! 🙏