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

Neighbors map dont work #1187

Open
Revenant-8 opened this issue Mar 18, 2024 · 11 comments
Open

Neighbors map dont work #1187

Revenant-8 opened this issue Mar 18, 2024 · 11 comments

Comments

@Revenant-8
Copy link

I added about 10 Huawei switches that are connected to each other, the neighbor map draws only one device, although there are devices on the Ports tab in the Connected nodes column. LLDP is enabled, why doesn't netdisco draw connections between devices?

@def-bs
Copy link

def-bs commented Mar 19, 2024

Hi, i have the same problem.
I believe it started with the latest version.
Thank you.

@ollyg
Copy link
Member

ollyg commented Mar 19, 2024

Hi @Revenant-8 can you let us know - did the map previously work and stopped working?
Same @def-bs please confirm.

If you can provide screenshot of the Device Ports row showing neighbor it would help to start.

@def-bs
Copy link

def-bs commented Mar 19, 2024

Hi Oliver,

all the neighbor map stopped working with the latest version.

Previosuly they were working.

image

@ollyg
Copy link
Member

ollyg commented Mar 19, 2024

OK that is showing possible uplink, not actual uplink status. Netdisco is not receiving the complete neighbor information or cannot contact the remote device for some reason. We will need to troubleshoot this.

Honestly, I cannot see any change recently which might affect this, sorry :-(
https://github.com/netdisco/netdisco/blob/master/Changes

@ollyg
Copy link
Member

ollyg commented Mar 19, 2024

perhaps share the output of:

~netdisco/bin/netdisco-do dumpconfig -e skip_neighbors
~netdisco/bin/netdisco-do dumpconfig -e discover_neighbors

@Revenant-8
Copy link
Author

Снимок экрана 2024-03-19 141050
I have a new installation
I also added Ubiquiti and HP switches, turned on LLDP on them and the lines appeared

Снимок экрана 2024-03-19 142100

@def-bs
Copy link

def-bs commented Mar 19, 2024

~netdisco/bin/netdisco-do dumpconfig -e discover_neighbors
[231347] 2024-03-19 11:57:22 info App::Netdisco version 2.073001 loaded.
[231347] 2024-03-19 11:57:22 info dumpconfig: started at Tue Mar 19 12:57:22 2024
1
[231347] 2024-03-19 11:57:22 info dumpconfig: finished at Tue Mar 19 12:57:22 2024
[231347] 2024-03-19 11:57:22 info dumpconfig: status done: Dumped config

~netdisco/bin/netdisco-do dumpconfig -e skip_neighbors
[231351] 2024-03-19 11:57:35 info App::Netdisco version 2.073001 loaded.
[231351] 2024-03-19 11:57:35 info dumpconfig: started at Tue Mar 19 12:57:35 2024
[]
[231351] 2024-03-19 11:57:35 info dumpconfig: finished at Tue Mar 19 12:57:35 2024
[231351] 2024-03-19 11:57:35 info dumpconfig: status done: Dumped config

@Revenant-8
Copy link
Author

~netdisco/bin/netdisco-do dumpconfig -e discover_neighbors [231347] 2024-03-19 11:57:22 info App::Netdisco version 2.073001 loaded. [231347] 2024-03-19 11:57:22 info dumpconfig: started at Tue Mar 19 12:57:22 2024 1 [231347] 2024-03-19 11:57:22 info dumpconfig: finished at Tue Mar 19 12:57:22 2024 [231347] 2024-03-19 11:57:22 info dumpconfig: status done: Dumped config

~netdisco/bin/netdisco-do dumpconfig -e skip_neighbors [231351] 2024-03-19 11:57:35 info App::Netdisco version 2.073001 loaded. [231351] 2024-03-19 11:57:35 info dumpconfig: started at Tue Mar 19 12:57:35 2024 [] [231351] 2024-03-19 11:57:35 info dumpconfig: finished at Tue Mar 19 12:57:35 2024 [231351] 2024-03-19 11:57:35 info dumpconfig: status done: Dumped config

similarly

@ollyg
Copy link
Member

ollyg commented Mar 19, 2024

@def-bs I think your situation is different to @Revenant-8
So we should have two tickets.

@def-bs please can you create a separate ticket for the regression in working, where it used to work but no longer does?
@Revenant-8 we will keep this ticket open as you have a new install where you need better vendor support.

@def-bs
Copy link

def-bs commented Mar 20, 2024

Hi Oliver,
After upgrading to the latest version the issue has been solved.
So for me everything is OK, thank you a lot again for you hard work.
Best regards.

@Revenant-8
Copy link
Author

update NetDisco, the situation has not changed

`netdisco@:~$ ~/bin/localenv cpanm --notest App::Netdisco
--> Working on App::Netdisco
Fetching http://www.cpan.org/authors/id/O/OL/OLIVER/App-Netdisco-2.074001.tar.gz ... OK
Configuring App-Netdisco-2.074001 ... OK
==> Found dependencies: Net::Ping::External, Net::Ping
--> Working on Net::Ping::External
Fetching http://www.cpan.org/authors/id/C/CH/CHORNY/Net-Ping-External-0.15.tar.gz ... OK
Configuring Net-Ping-External-0.15 ... OK
Building Net-Ping-External-0.15 ... OK
Successfully installed Net-Ping-External-0.15
--> Working on Net::Ping
Fetching http://www.cpan.org/authors/id/R/RU/RURBAN/Net-Ping-2.75.tar.gz ... OK
Configuring Net-Ping-2.75 ... OK
Building Net-Ping-2.75 ... OK
Successfully installed Net-Ping-2.75 (upgraded from 2.74)
Building App-Netdisco-2.074001 ... OK
Successfully installed App-Netdisco-2.074001 (upgraded from 2.073001)
3 distributions installed
netdisco@
:~$ ~/bin/netdisco-deploy
This is the Netdisco 2 deployment script.

Before we continue, the following prerequisites must be in place:

  • Database added to PostgreSQL for Netdisco
  • User added to PostgreSQL with rights to the Netdisco Database
  • "~/environments/deployment.yml" file configured with Database dsn/user/pass
  • A full backup of any existing Netdisco database data
  • Internet access (for OUIs and MIBs)

If you are upgrading Netdisco 2 read the release notes:
https://github.com/netdisco/netdisco/wiki/Release-Notes
There you will find required and incompatible changes
which are not covered by this script.

You will be asked to confirm all changes to your system.

So, is all of the above in place? [y/N]: y

Would you like to deploy the database schema? [y/N]: n

Download and update vendor MAC prefixes (OUI data)? [y/N]: y
Updating OUI... done.

Download and update MIB files? [y/N]: y
MIBs update complete.
netdisco@:~$ ~/bin/netdisco-web restart
Netdisco Web [Stopped]
Netdisco Web [Started]
config watcher: watching /home/netdisco/environments for updates.
netdisco@
:$ /bin/netdisco-daemon restart
Netdisco Backend [Stopped]
Netdisco Backend [Started]
netdisco@****:
$ config watcher: watching /home/netdisco/environments for updates.
netdisco@****:
$`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

3 participants