View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 785 | RackTables | default | public | 2013-03-12 17:22 | 2013-05-05 02:14 |
| Reporter | m1gician | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Platform | Linux | OS | Ubuntu | OS Version | 12.04 LTS |
| Product Version | 0.20.3 | ||||
| Summary | 785: Live Ports Live CDP and Live LLDP blank | ||||
| Description | Live Ports Live CDP and Live LLDP pages no remote objects and port data available to import from Catalyst 3570G-48TS. When connecting to these pages most of the times page is waiting to load but doesnot it just hangs. When the page does load which you have to keep clicking on the tab several times, Live ports page is blank live cdp and live LLDP pages both have the local port, remote device and remote port header displayed with no device or port information. Permissions to www/racktables 777 owner www-data:www-data Is there any tweeks to the source code to get around this issue? Or any particular scripts I need to edit? | ||||
| Tags | No tags attached. | ||||
|
i having same problem with that. i have 5 switch with same platform (cisco 2960 with IOS 12.2) the first switch has success to show live ports, live CDP, etc. when i create another switch, live ports, CDP, LLDP blank. there's no error in error_log. so i can't trace error. |
|
| I think this is because the lack of error-throwing code in LLDP/CDP gateways. There could be a plenty of causes: invalid username/password, wrong SW type specified, insufficient permissions on device to view its neighbors and so on. Try tcpdump the CLI communication session and you will likely see what is going wrong. | |
|
Here below is the tcpdump session between the devices. I have analysed this through Wireshark there appears to be no issues with the conversation and the transfer of data between devices.The issue appears to be presenting the data in Racktables. 23:31:52.881408 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [S], seq 652507025, win 14600, options [mss 1460,sackOK,TS val 2693017 ecr 0,nop,wscale 3], length 0 23:31:52.885266 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [S.], seq 761561476, ack 652507026, win 4128, options [mss 536], length 0 23:31:52.885285 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 1, win 14600, length 0 23:31:52.885521 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [P.], seq 1:60, ack 1, win 14600, length 59 23:31:52.889240 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 1:13, ack 60, win 4069, length 12 23:31:52.889256 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 13, win 14600, length 0 23:31:52.896257 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 13:256, ack 60, win 4069, length 243 23:31:52.896270 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 256, win 15544, length 0 23:31:52.898837 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 256:298, ack 60, win 4069, length 42 23:31:52.898845 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 298, win 15544, length 0 23:31:52.903858 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 298:312, ack 60, win 4069, length 14 23:31:52.903869 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 312, win 15544, length 0 23:31:52.905784 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 312:313, ack 60, win 4069, length 1 23:31:52.905791 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 313, win 15544, length 0 23:31:52.908427 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 313:314, ack 60, win 4069, length 1 23:31:52.908434 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 314, win 15544, length 0 23:31:52.910541 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 314:315, ack 60, win 4069, length 1 23:31:52.910548 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 315, win 15544, length 0 23:31:52.913276 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 315:316, ack 60, win 4069, length 1 23:31:52.913283 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 316, win 15544, length 0 23:31:52.917057 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 316:317, ack 60, win 4069, length 1 23:31:52.917064 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 317, win 15544, length 0 23:31:52.919176 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 317:319, ack 60, win 4069, length 2 23:31:52.919184 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 319, win 15544, length 0 23:31:52.947847 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 319:354, ack 60, win 4069, length 35 23:31:52.947865 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 354, win 15544, length 0 23:31:52.949756 IP Cisco-SW-03.telnet > Ubuntu-02.38138: Flags [P.], seq 354:372, ack 60, win 4069, length 18 23:31:52.949765 IP Ubuntu-02.38138 > Cisco-SW-03.telnet: Flags [.], ack 372, win 15544, length 0 |
|
| Could you use the "follow TCP stream" Wireshark option (the pop-up menu of a TCP packet) to check for obvious issues in the failed CLI conversations? | |
| Looking into the tcp stream the commands comming from racktables server to access the switch has no username/password and is failing it is using the 'terminal lengh 0' command on the switch as username. What file do i need to edit to allow the switch credentials to be used? | |
|
Does the following help? http://wiki.racktables.org/index.php/RackTablesAdminGuide#Configuring_CLI_gateways_to_network_devices |
|
| I'm closing this issue due to lack of feedback. Please re-open if you continue to have problems and can provide the data infrastation asked for. | |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-03-12 17:22 | m1gician | New Issue | |
| 2013-04-03 09:13 | koichi17 | Note Added: 0001283 | |
| 2013-04-03 12:11 | andriyanov | Note Added: 0001285 | |
| 2013-04-05 10:30 | m1gician | Note Added: 0001303 | |
| 2013-04-05 11:15 | infrastation | Note Added: 0001307 | |
| 2013-04-05 17:26 | m1gician | Note Added: 0001313 | |
| 2013-04-05 17:28 | infrastation | Note Added: 0001315 | |
| 2013-05-05 02:14 | adoom42 | Note Added: 0001363 | |
| 2013-05-05 02:14 | adoom42 | Status | new => closed |
| 2013-05-05 02:14 | adoom42 | Resolution | open => unable to reproduce |