Hello,
I've check my logs on ipdevpoll and I found this :
2019-01-28 17:37:28,698 [ERROR jobs.jobhandler] [statuscheck
PAL-SW-R1-13.res.iogs] Caught exception during save. Last manager =
DefaultManager(<class 'nav.ipdevpoll.shadows.POEPort'>,
'ContainerRepository'(...)). Last model = <class
'nav.ipdevpoll.shadows.POEPort'>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/jobs.py", line
442, in _perform_save
manager.save()
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/storage.py",
line 87, in save
obj.save(self.containers)
File "/usr/lib/python2.7/dist-packages/nav/ipdevpoll/storage.py",
line 476, in save
obj.save()
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 589, in save
force_update=force_update, update_fields=update_fields)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 617, in save_base
updated = self._save_table(raw, cls, force_insert, force_update,
using, update_fields)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 698, in _save_table
result = self._do_insert(cls._base_manager, using, fields,
update_pk, raw)
File "/usr/lib/python2.7/dist-packages/django/db/models/base.py",
line 731, in _do_insert
using=using, raw=raw)
File "/usr/lib/python2.7/dist-packages/django/db/models/manager.py",
line 92, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/db/models/query.py",
line 921, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File
"/usr/lib/python2.7/dist-packages/django/db/models/sql/compiler.py",
line 921, in execute_sql
cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py",
line 65, in execute
return self.cursor.execute(sql, params)
File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 94,
in __exit__
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/usr/lib/python2.7/dist-packages/django/db/backends/utils.py",
line 65, in execute
return self.cursor.execute(sql, params)
IntegrityError: ERREUR: une valeur NULL viole la contrainte NOT NULL de
la colonne « classification »
DETAIL: La ligne en échec contient (599034, 49, 66, null, 34, t, 2, 4,
null)
2019-01-28 17:37:28,701 [ERROR jobs.jobhandler] [statuscheck
PAL-SW-R1-13.res.iogs] Job 'statuscheck' for PAL-SW-R1-13.res.iogs
aborted: Job aborted due to save failure (cause=IntegrityError('ERREUR:
une valeur NULL viole la contrainte NOT NULL de la colonne \xc2\xab
classification \xc2\xbb\nDETAIL: La ligne en \xc3\xa9chec contient
(599034, 49, 66, null, 34, t, 2, 4, null)\n',))
2019-01-28 17:37:28,703 [INFO schedule.netboxjobscheduler] [statuscheck
PAL-SW-R1-13.res.iogs] statuscheck for PAL-SW-R1-13.res.iogs failed in
0:00:14.603465. next run in 0:04:59.999955.
It seems it doesn't like the PoE on my Dell N2048P because of a NULL
value in "classification" column.
Do you have an idea ?
Regards
--
Cordialement,
IOGS Logo <https://www.institutoptique.fr>
*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
Hi,
we have a 3850 Stack with 3x ES-C3850-48T-S and 5x WS-C3850-12X48U. When
we try to PortAdmin and edit a Port we get (see also attached Jpg):
„IP device found but has no type“
Any ideas?
Cheers,
Mischa
--
Mischa Diehm | Network Team (NINS)
UniBasel | IT-Services (ITS)
Klingebergstr. 70 | CH-4056 Basel
Tel. +41 61 267 1574 | https://its.unibas.ch
The initial feature release of the 5.3 series of NAV is now out!
The source code is available for download at GitHub [1].
A new package for Debian 10 (Buster) is available in our APT repository
[2] as usual. Packages for Debian 11 (Bullseye) have not been built yet.
Please be extra aware of config file changes. Look out for `*.dpkg-dist`
files in /etc/nav and make sure to update your running config.
The virtual appliance will be updated as soon as possible.
Changes
=======
On January 1st 2022, Uninett, NSD and Unit (all entities owned by the Norwegian
government) were merged into the new governmental agency *Sikt - Norwegian
Agency for Shared Services in Education and Research*. This marks the first release
of NAV under the new name.
User-visible features and improvements:
The main reason for this new feature release is to ensure NAV is
compatible with Python 3.9 (which is the default Python version on the
current Debian stable distro, Bullseye). Features that were already
lurking in the pipeline are:
* #2245 (Link to room details page from SeedDB room edit page)
* #2274 (Hidden attributes for devices)
* #2323 (Completely hide all attributes starting with "__")
* #2309 (Support a report.conf.d/ style config directory for reports)
* #2311 (Wishlist: Info about locations visible via /report/location)
Other fixed GitHub issues in this release:
* #2280 (Only ethernetCsmacd interfaces are shown in the room viewer)
* #2310 ([BUG] snmptrapd plugins crash when posting events in NAV 5.2)
* #2315 (Properly upgrade to Django 2.2)
* #2316 (Upgrade dependencies that will need a newer version to run on
Django 3.2 or later)
* #2317 (Upgrade Django to 3.2)
* #2321 (Also list local conf reports in report widget)
* #2324 ([BUG] Example severity rules distributed with NAV 5.2.1 do
not actually work)
* #2328 (Remove "no access" message from login page during normal
login)
* #2329 (Upgrade to dnspython 2.1)
* #2341 (Warn when database config isn't readable)
* #2352 (Fix Python 3.9 compatibility)
* #2353 (Document the name change from Uninett to Sikt)
* #2355 (Add Sikt to About page, copyrights and graphical profile)
Please see the release notes [3] for more details. Happy NAVing
everyone!
Links
=====
[1] https://github.com/Uninett/nav/releases
[2] https://nav.uninett.no/install-instructions/#debian
[3] https://nav.readthedocs.io/en/latest/release-notes.html#nav-5-3
--
Sincerely,
Morten Brekkevold
Sikt – Norwegian Agency for Shared Services in Education and Research