Page MenuHomeVyOS Platform

NHRP op-mode errors with missing daemon socket
Closed, ResolvedPublicBUG

Description

NHRP don't configured

[email protected]:~$ show nhrp interface 
Failed to connect to opennhrp daemon [/var/run/opennhrp.socket]: No such file or directory.

OpenNHRP is not running.

[email protected]:~$ show nhrp tunnel 
Failed to connect to opennhrp daemon [/var/run/opennhrp.socket]: No such file or directory.

OpenNHRP is not running.

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.3-rolling-202004180117
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Related Objects

Event Timeline

PR https://github.com/vyos/vyos-nhrp/pull/5

Check if exists /var/run/opennhrp.pid before show nhrp params.
And if file exists - show related information.

Nhrp not configured

vyos@r2-roll:~$ show nhrp interface 
OpenNHRP is not running.
vyos@r2-roll:~$ 
vyos@r2-roll:~$ show nhrp tunnel 
OpenNHRP is not running.
vyos@r2-roll:~$
Viacheslav claimed this task.

Fixed, VyOS 1.3-rolling-202008120118
nhrp not configured:

vyos@r4-roll:~$ show nhrp interface 
OpenNHRP is not running.
vyos@r4-roll:~$ 
vyos@r4-roll:~$ show nhrp tunnel 
OpenNHRP is not running.
vyos@r4-roll:~$ conf

Nhrp configured:

vyos@r4-roll:~$ show nhrp tunnel 
Status: ok

Interface: tun100
Type: local
Protocol-Address: 172.16.253.135/32
Alias-Address: 172.16.253.134
Flags: up

Interface: tun100
Type: local
Protocol-Address: 172.16.253.134/32
Flags: up

vyos@r4-roll:~$
erkin renamed this task from NHRP op-mode errors to NHRP op-mode errors with missing daemon socket.Aug 30 2021, 6:48 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.