When I go in the NAV interface, choose my switch, configure port,
go to po1, click on trunk, all vlan are checked except vlan 1,
also logical
If I uncheck a vlan and save, there's an error
Error editing trunk: SNMP Error: commitFailed
and nothing happens on the switch.
Cordialement,
|
Ludovic
Vinsonnaud - Ingénieur Réseau
basé à Bordeaux, bureau
F108 (IOA, Rue François Mitterrand, 33400 Talence)
Institut
Optique Graduate School
2 Avenue Augustin
Fresnel - 91127 PALAISEAU Cedex
Tel. +33 5 57 01 71 52 - Mob. +33 6 08 08 41 05
|
On Fri, 1 Dec 2017 18:37:01 +0100 Vinsonnaud Ludovic <ludovic.vinsonnaud@institutoptique.fr> wrote:
I'm in version 4.8.1
Good!
So the patch is working with your command.
$ patch -p2 -d /usr/share/pyshared < 1625.diff
- patching file nav/portadmin/snmputils.py
- patching file nav/smidumps/dnos_switching_mib.py
- patching file nav/web/portadmin/views.py
But when I restart apache here's the error in the log
[snip]
[Fri Dec 01 10:44:51.129536 2017] [wsgi:error] ImportError: No module named
dnos_switching_mib
Ah, this is an added complication of patching a Debian system.
The patch creates an entirely new file in the Python library, under the
`/usr/share/pyshared` directory. Since this file was not a part of the
original Debian package, there is no symlink to it under the
`/usr/lib/python2.7/dist-packages` directory (Debian uses symlinks to
support multiple installed versions of Python).
Please try this (as root, with a permissive umask):
ln -s /usr/share/pyshared/nav/smidumps/dnos_switching_mib.py \
/usr/share/python2.7/dist-packages/nav/smidumps/