The initial feature release of the 4.9 series of NAV is now out!
The source code is available for download at GitHub [1].
New packages for Debian 8/9 (Jessie/Stretch) are available in our APT repository [2] as usual.
The Debian packages have been rebuilt using dh-virtualenv, which means that most of the Python dependencies are now embedded into the packages themselves. If you have previously added a priority apt pin for packages from apt.uninett.no, you may now remove it, as there are no longer any other packages needed from that repository to run NAV.
Please also 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 not be updated until next week.
Changes =======
############################################################# ## NOTICE OF LICENSE CHANGE ## ############################################################# ## ## ## NAV's copyright license has changed from GPL v2 to GPL ## ## v3. Please refer to the release notes [4] for details. ## ## ## #############################################################
User-visible features and improvements:
* #1423 (Add API endpoint for accounts and account groups) * #1509 (Add active alerts tab for port details page) * #1646 (Add event/alert details page) * #1615 (Room view - want device/interface count) * #1624 (Add support for Dell DNOS-SWITCHING-MIB) * #1659 (Add an interface browser tool) * #1662 (Business reports, device availability - filter for maintenance) * #1667 (More interface information for linkState alerts in status tool/widget) * #1705 (Enable use of api endpoint without specifying version) * #1706 (Audit log when users operates as other user) * #1739 (PortAdmin - users should not be able to set trunk on port) * #1758 (Writable vlan and prefix endpoints) * #1761 (API netbox endpoint: filter on type__name) * #1791 (Implement IT-WATCHDOGS-V4-MIB and GEIST-V4-MIB) * #1807 (Implement support for Powertek PDU inlet status) * #1817 (Add hook to customize tabs in ipdevinfo and info/room)
Fixed GitHub issues in this release:
* #1683 (Avoid "magic" Django bootstrapping in nav.models) * #1703 (Upgrade Django Rest Framework) * #1709 (Rename verb for changing interface admin status) * #1728 (Upgrade python-ldap) * #1744 (Replace automake toolchain with setuptools) * #1752 (No warnings for Django 1.8) * #1786 (Make middlewares work correctly on Django 1.10+) * #1796 (A crashing search provider will crash the entire search ui) * #1798 (Environment sensor rack API crashes on missing sensors) * #1799 (Portadmin errors out if making changes after using browser back button) * #1800 (Alert profile listing "Remove selected" button needn't be visible when there are no profiles to select.) * #1801 (Network Explorer MAC search always crashes) * #1802 (Saving a threshold rule without a target crashes with a KeyError) * #1803 (ipdevpoll should be able to perform reverse DNS lookups using /etc/hosts file) * #1804 (Unrecognized neighbors report crashes with 'bogus escape (end of line)') * #1814 (Change the NAV license from GPLv2 to GPLv3) * #1819 (/prefix/usage API endpoint crashes instead of returning 404 on non-existent prefixes)
Happy NAVing everyone!
Links =====
[1] https://github.com/UNINETT/nav/releases [2] https://nav.uninett.no/install-instructions/#debian [3] https://github.com/UNINETT/nav/issues [4] https://nav.uninett.no/doc/latest/release-notes.html#nav-4-9
Hi,
Is there an easy way to revert to the previous version? I upgraded to 4.9. but it seems to broke old layout of the swith port status and the counters aren't updating anymore.
-----Oorspronkelijk bericht----- Van: nav-users-request@uninett.no nav-users-request@uninett.no Namens Morten Brekkevold Verzonden: donderdag 31 januari 2019 14:13 Aan: nav-users@uninett.no Onderwerp: Announcement: NAV 4.9.0 released - now under GPLv3 license
The initial feature release of the 4.9 series of NAV is now out!
The source code is available for download at GitHub [1].
New packages for Debian 8/9 (Jessie/Stretch) are available in our APT repository [2] as usual.
The Debian packages have been rebuilt using dh-virtualenv, which means that most of the Python dependencies are now embedded into the packages themselves. If you have previously added a priority apt pin for packages from apt.uninett.no, you may now remove it, as there are no longer any other packages needed from that repository to run NAV.
Please also 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 not be updated until next week.
Changes =======
############################################################# ## NOTICE OF LICENSE CHANGE ## ############################################################# ## ## ## NAV's copyright license has changed from GPL v2 to GPL ## ## v3. Please refer to the release notes [4] for details. ## ## ## #############################################################
User-visible features and improvements:
* #1423 (Add API endpoint for accounts and account groups) * #1509 (Add active alerts tab for port details page) * #1646 (Add event/alert details page) * #1615 (Room view - want device/interface count) * #1624 (Add support for Dell DNOS-SWITCHING-MIB) * #1659 (Add an interface browser tool) * #1662 (Business reports, device availability - filter for maintenance) * #1667 (More interface information for linkState alerts in status tool/widget) * #1705 (Enable use of api endpoint without specifying version) * #1706 (Audit log when users operates as other user) * #1739 (PortAdmin - users should not be able to set trunk on port) * #1758 (Writable vlan and prefix endpoints) * #1761 (API netbox endpoint: filter on type__name) * #1791 (Implement IT-WATCHDOGS-V4-MIB and GEIST-V4-MIB) * #1807 (Implement support for Powertek PDU inlet status) * #1817 (Add hook to customize tabs in ipdevinfo and info/room)
Fixed GitHub issues in this release:
* #1683 (Avoid "magic" Django bootstrapping in nav.models) * #1703 (Upgrade Django Rest Framework) * #1709 (Rename verb for changing interface admin status) * #1728 (Upgrade python-ldap) * #1744 (Replace automake toolchain with setuptools) * #1752 (No warnings for Django 1.8) * #1786 (Make middlewares work correctly on Django 1.10+) * #1796 (A crashing search provider will crash the entire search ui) * #1798 (Environment sensor rack API crashes on missing sensors) * #1799 (Portadmin errors out if making changes after using browser back button) * #1800 (Alert profile listing "Remove selected" button needn't be visible when there are no profiles to select.) * #1801 (Network Explorer MAC search always crashes) * #1802 (Saving a threshold rule without a target crashes with a KeyError) * #1803 (ipdevpoll should be able to perform reverse DNS lookups using /etc/hosts file) * #1804 (Unrecognized neighbors report crashes with 'bogus escape (end of line)') * #1814 (Change the NAV license from GPLv2 to GPLv3) * #1819 (/prefix/usage API endpoint crashes instead of returning 404 on non-existent prefixes)
Happy NAVing everyone!
Links =====
[1] https://github.com/UNINETT/nav/releases [2] https://nav.uninett.no/install-instructions/#debian [3] https://github.com/UNINETT/nav/issues [4] https://nav.uninett.no/doc/latest/release-notes.html#nav-4-9
-- Morten Brekkevold UNINETT AS
We are also experiencing problems with device-updates after the upgrade, ipdevpolld says deferred in the log and nothing seems to be displayed.
"DataTables warning: table id=portlist - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
------------ tail /var/log/nav/ipdevpoll.log Unhandled error in Deferred: Unhandled error in Deferred: 2019-02-01 14:48:59,633 [DEBUG dataloader.netboxloader] [snmpcheck] These netboxes have active snmpAgentStates: set([356]) Unhandled error in Deferred: Unhandled error in Deferred: 2019-02-01 14:53:59,673 [DEBUG schedule.joblist] no active jobs (0 JobHandlers) ------------
/Pär
-----Ursprungligt meddelande----- Från: nav-users-request@uninett.no nav-users-request@uninett.no För René Romijn Skickat: den 1 februari 2019 07:42 Till: Morten Brekkevold morten.brekkevold@uninett.no; nav-users@uninett.no Ämne: RE: Announcement: NAV 4.9.0 released - now under GPLv3 license
Hi,
Is there an easy way to revert to the previous version? I upgraded to 4.9. but it seems to broke old layout of the swith port status and the counters aren't updating anymore.
-----Oorspronkelijk bericht----- Van: nav-users-request@uninett.no nav-users-request@uninett.no Namens Morten Brekkevold Verzonden: donderdag 31 januari 2019 14:13 Aan: nav-users@uninett.no Onderwerp: Announcement: NAV 4.9.0 released - now under GPLv3 license
The initial feature release of the 4.9 series of NAV is now out!
The source code is available for download at GitHub [1].
New packages for Debian 8/9 (Jessie/Stretch) are available in our APT repository [2] as usual.
The Debian packages have been rebuilt using dh-virtualenv, which means that most of the Python dependencies are now embedded into the packages themselves. If you have previously added a priority apt pin for packages from apt.uninett.no, you may now remove it, as there are no longer any other packages needed from that repository to run NAV.
Please also 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 not be updated until next week.
Changes =======
############################################################# ## NOTICE OF LICENSE CHANGE ## ############################################################# ## ## ## NAV's copyright license has changed from GPL v2 to GPL ## ## v3. Please refer to the release notes [4] for details. ## ## ## #############################################################
User-visible features and improvements:
* #1423 (Add API endpoint for accounts and account groups) * #1509 (Add active alerts tab for port details page) * #1646 (Add event/alert details page) * #1615 (Room view - want device/interface count) * #1624 (Add support for Dell DNOS-SWITCHING-MIB) * #1659 (Add an interface browser tool) * #1662 (Business reports, device availability - filter for maintenance) * #1667 (More interface information for linkState alerts in status tool/widget) * #1705 (Enable use of api endpoint without specifying version) * #1706 (Audit log when users operates as other user) * #1739 (PortAdmin - users should not be able to set trunk on port) * #1758 (Writable vlan and prefix endpoints) * #1761 (API netbox endpoint: filter on type__name) * #1791 (Implement IT-WATCHDOGS-V4-MIB and GEIST-V4-MIB) * #1807 (Implement support for Powertek PDU inlet status) * #1817 (Add hook to customize tabs in ipdevinfo and info/room)
Fixed GitHub issues in this release:
* #1683 (Avoid "magic" Django bootstrapping in nav.models) * #1703 (Upgrade Django Rest Framework) * #1709 (Rename verb for changing interface admin status) * #1728 (Upgrade python-ldap) * #1744 (Replace automake toolchain with setuptools) * #1752 (No warnings for Django 1.8) * #1786 (Make middlewares work correctly on Django 1.10+) * #1796 (A crashing search provider will crash the entire search ui) * #1798 (Environment sensor rack API crashes on missing sensors) * #1799 (Portadmin errors out if making changes after using browser back button) * #1800 (Alert profile listing "Remove selected" button needn't be visible when there are no profiles to select.) * #1801 (Network Explorer MAC search always crashes) * #1802 (Saving a threshold rule without a target crashes with a KeyError) * #1803 (ipdevpoll should be able to perform reverse DNS lookups using /etc/hosts file) * #1804 (Unrecognized neighbors report crashes with 'bogus escape (end of line)') * #1814 (Change the NAV license from GPLv2 to GPLv3) * #1819 (/prefix/usage API endpoint crashes instead of returning 404 on non-existent prefixes)
Happy NAVing everyone!
Links =====
[1] https://github.com/UNINETT/nav/releases [2] https://nav.uninett.no/install-instructions/#debian [3] https://github.com/UNINETT/nav/issues [4] https://nav.uninett.no/doc/latest/release-notes.html#nav-4-9
-- Morten Brekkevold UNINETT AS
On Fri, 1 Feb 2019 13:59:03 +0000 Pär Stolpe par.stolpe@liu.se wrote:
We are also experiencing problems with device-updates after the upgrade, ipdevpolld says deferred in the log and nothing seems to be displayed.
"DataTables warning: table id=portlist - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
Hi again Pär,
while we've found the cause of the other issues, I'm not sure where you are getting this error message about DataTables, which makes it hard for me to reproduce the issue. Can you provide more information?
Hi Morten,
We are getting the same errors for ipdevpolld and web interface; the web interface error can be replicated by clicking on report, all ip devices, click on the name of any device.
We operate the VM appliance and we upgraded to 4.9.0 via apt-get.
Regards, Adrian
-----Original Message----- From: nav-users-request@uninett.no nav-users-request@uninett.no On Behalf Of Morten Brekkevold Sent: Tuesday, February 05, 2019 7:17 AM To: Pär Stolpe par.stolpe@liu.se Cc: nav-users@uninett.no Subject: Re: SV: Announcement: NAV 4.9.0 released - now under GPLv3 license
On Fri, 1 Feb 2019 13:59:03 +0000 Pär Stolpe par.stolpe@liu.se wrote:
We are also experiencing problems with device-updates after the upgrade, ipdevpolld says deferred in the log and nothing seems to be displayed.
"DataTables warning: table id=portlist - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
Hi again Pär,
while we've found the cause of the other issues, I'm not sure where you are getting this error message about DataTables, which makes it hard for me to reproduce the issue. Can you provide more information?
-- mvh Morten Brekkevold Uninett
On Tue, 5 Feb 2019 09:18:37 -0600 Adrian Bucurica bucurica@iit.edu wrote:
Hi Morten,
Hi Adrian,
We are getting the same errors for ipdevpolld and web interface; the web interface error can be replicated by clicking on report, all ip devices, click on the name of any device.
Nah, I cannot reproduce that at all. I'm thinking Pär's diagnosis of "stale browser cache" sounds more plausible. Dump your browser cache and try again?
We operate the VM appliance and we upgraded to 4.9.0 via apt-get.
I see - I'd advise you to downgrade back to 4.8.6 until we can release 4.9.1 (likely tomorrow). We won't update the existing VM appliance download until 4.9.1 is out anyway.
Looks like it was a browser caching problem. If it appears again I will do a proper debug.
/Pär
-----Ursprungligt meddelande----- Från: Morten Brekkevold morten.brekkevold@uninett.no Skickat: den 5 februari 2019 14:17 Till: Pär Stolpe par.stolpe@liu.se Kopia: nav-users@uninett.no Ämne: Re: SV: Announcement: NAV 4.9.0 released - now under GPLv3 license
On Fri, 1 Feb 2019 13:59:03 +0000 Pär Stolpe par.stolpe@liu.se wrote:
We are also experiencing problems with device-updates after the upgrade, ipdevpolld says deferred in the log and nothing seems to be displayed.
"DataTables warning: table id=portlist - Ajax error. For more information about this error, please see http://datatables.net/tn/7"
Hi again Pär,
while we've found the cause of the other issues, I'm not sure where you are getting this error message about DataTables, which makes it hard for me to reproduce the issue. Can you provide more information?
-- mvh Morten Brekkevold Uninett
On Fri, 1 Feb 2019 06:41:57 +0000 René Romijn Rene.Romijn@tabsholland.nl wrote:
Hi,
Is there an easy way to revert to the previous version? I upgraded to 4.9. but it seems to broke old layout of the swith port status and the counters aren't updating anymore.
Hi René,
I'm sorry to hear that. None of the database changes in 4.9 seem to be backward-incompatible, so if using Debian, you should easily be able to downgrade using regular apt/dpkg mechanisms.
I suppose `apt-get install nav==4.8.6-1` would do the trick on Debian Squeeze (4.8.6-2stretch on Stretch). You can use `apt-get policy nav` to see which versions are available in your configured repositories.
Please, if you can submit a more detailed bug report, we can fix the issues for 4.9.
-----BEGIN This message is encrypted: Open Message https://flowcrypt.com/Y6mPUoXzKv
Alternatively copy and paste the following link: https://flowcrypt.com/Y6mPUoXzKv
Hi Morten,
I succeeded to revert to 4.8.6. unfortunately i dont have the log files for you.
If i have more time, i could try to upgrade again and see if i can find some debug files.
Note to myself... Snapshot the VM first :-)
Kind Regards,
René Romijn
-----Oorspronkelijk bericht----- Van: Morten Brekkevold morten.brekkevold@uninett.no Verzonden: zaterdag 2 februari 2019 12:31 Aan: René Romijn Rene.Romijn@tabsholland.nl CC: nav-users@uninett.no Onderwerp: Re: Announcement: NAV 4.9.0 released - now under GPLv3 license
On Fri, 1 Feb 2019 06:41:57 +0000 René Romijn Rene.Romijn@tabsholland.nl wrote:
Hi,
Is there an easy way to revert to the previous version? I upgraded to 4.9. but it seems to broke old layout of the swith port status and the counters aren't updating anymore.
Hi René,
I'm sorry to hear that. None of the database changes in 4.9 seem to be backward-incompatible, so if using Debian, you should easily be able to downgrade using regular apt/dpkg mechanisms.
I suppose `apt-get install nav==4.8.6-1` would do the trick on Debian Squeeze (4.8.6-2stretch on Stretch). You can use `apt-get policy nav` to see which versions are available in your configured repositories.
Please, if you can submit a more detailed bug report, we can fix the issues for 4.9.
-- Morten Brekkevold Uninett
On Mon, 4 Feb 2019 06:44:04 +0000 René Romijn Rene.Romijn@tabsholland.nl wrote:
I succeeded to revert to 4.8.6. unfortunately i dont have the log files for you.
If i have more time, i could try to upgrade again and see if i can find some debug files.
As you may have seen, we've already received more detailed feedback on nav-users. ipdevpoll seems to be broken under 4.9.0, so I would not recommend anyone upgrade until we get the 4.9.1 release out.
Apologies for the inconvenience!
Note to myself... Snapshot the VM first :-)
Never a bad idea when dealing with VMs :)
No problem!
I'll wait for the 4.9.1 version.
I did missed the detailed feedback though.
-----Oorspronkelijk bericht----- Van: Morten Brekkevold morten.brekkevold@uninett.no Verzonden: dinsdag 5 februari 2019 11:01 Aan: René Romijn Rene.Romijn@tabsholland.nl CC: nav-users@uninett.no Onderwerp: Re: Announcement: NAV 4.9.0 released - now under GPLv3 license
On Mon, 4 Feb 2019 06:44:04 +0000 René Romijn Rene.Romijn@tabsholland.nl wrote:
I succeeded to revert to 4.8.6. unfortunately i dont have the log files for you.
If i have more time, i could try to upgrade again and see if i can find some debug files.
As you may have seen, we've already received more detailed feedback on nav-users. ipdevpoll seems to be broken under 4.9.0, so I would not recommend anyone upgrade until we get the 4.9.1 release out.
Apologies for the inconvenience!
Note to myself... Snapshot the VM first :-)
Never a bad idea when dealing with VMs :)
-- Morten Brekkevold Uninett