Maintenance for this license has expired (offline cluster)

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
ScottMc
Posts: 26
Joined: Mon Aug 06, 2018 9:35 am

Maintenance for this license has expired (offline cluster)

Post by ScottMc »

In trying to install the most recent update, I'm getting the following error:

[Upgrade Cancelled] An upgrade is not possible because your maintenance for this license has expired.

Our license is activated, but I think because the servers have no internet the cluster doesn't know it's entitled to maintenance. How do I manually get this license activation installed without giving it access to the internet? Thanks!

Scott
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance for this license has expired (offline cluste

Post by gsmith »

Hi

Please follow this document for an offline upgrade:
https://support.nagios.com/kb/article/n ... e-496.html

We encourage you to go through this process with Test servers. You should create an environment that reflects
your Prod environment as closely as possible. Then go through the upgrade. Our licensing agreement allows
you to do this.
Nagios XI License Policy
With every purchase we offer 3 separate activation of XI licenses. One for production, one for testing, and one for
high availability. We always recommend upgrading on a test server first before making changes to the production server.

Nagios License Entitlements
https://support.nagios.com/kb/article.php?id=145
Please let us know if you have any questions.

Thank you!
ScottMc
Posts: 26
Joined: Mon Aug 06, 2018 9:35 am

Re: Maintenance for this license has expired (offline cluste

Post by ScottMc »

On every CentOS machine I've tried to follow the linked steps on, I encounter the same problem (I've tried this in several environments):

Code: Select all

# grep 'pip install' upgrade | sed 's/pip install --upgrade/pip download -d \/tmp\/pipfiles\//' | source /dev/stdin
Collecting setuptools
  Using cached https://files.pythonhosted.org/packages/bf/b0/b4599baf535aff5a8675f038a9b4b380df7e5de33c78a155e0883da05403/setuptools-60.9.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "setuptools/__init__.py", line 8, in <module>
        import _distutils_hack.override  # noqa: F401
      File "_distutils_hack/override.py", line 1, in <module>
        __import__('_distutils_hack').do_override()
      File "_distutils_hack/__init__.py", line 72, in do_override
        ensure_local_distutils()
      File "_distutils_hack/__init__.py", line 55, in ensure_local_distutils
        importlib.import_module('distutils')
      File "/usr/lib64/python2.7/importlib/__init__.py", line 37, in import_module
        __import__(name)
    AttributeError: find_module

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ymPva3/setuptools/
You are using pip version 8.1.2, however version 22.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance for this license has expired (offline cluste

Post by gsmith »

Hi

What version(s) of CentOS are you trying to upgrade Nagios XI on?

Thanks
ScottMc
Posts: 26
Joined: Mon Aug 06, 2018 9:35 am

Re: Maintenance for this license has expired (offline cluste

Post by ScottMc »

gsmith wrote:Hi

What version(s) of CentOS are you trying to upgrade Nagios XI on?

Thanks
CentOS 7.9.2009
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance for this license has expired (offline cluste

Post by gsmith »

Hi

I am going to see if I can reproduce the issue on one of my test systems, and will let you know what
I find out, and if there is a workaround. Hope to have an answer for you by tomorrow.

Thanks
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance for this license has expired (offline cluste

Post by gsmith »

Hi

I installed pip3 and got past the error you are seeing, however I did not continue to follow
the process all the way through. Please try that and let me know how things go.
You'll have to get pip3 over to the offline server along with t he other items shown
in the procedure.

Thanks
ScottMc
Posts: 26
Joined: Mon Aug 06, 2018 9:35 am

Re: Maintenance for this license has expired (offline cluste

Post by ScottMc »

I went through and manually got everything all downloaded and copied and end up with the same error:
Nagios Log Server Upgrade Log
==========================
DATE: Tue Feb 22 13:36:27 EST 2022

DISTRO INFO:
CentOS
7.9.2009
x86_64

Old Version: 2107
New Version: 2111

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package php-devel-5.4.16-48.el7.x86_64 already installed and latest version
Nothing to do
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.4.lin
Sourceguardian extension found for PHP version 5.4
Sourceguardian extension already in php.ini
Operation timed out after 15000 milliseconds with 0 out of 0 bytes received

[Upgrade Cancelled] An upgrade is not possible because your maintenance for this license has expired.
Visit https://www.nagios.com/renew/ to renew your license and re-instate upgrade benefits.
So I guess back to my original question: how do I tell Nagios Log Server that I'm licensed in an offline environment?
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance for this license has expired (offline cluste

Post by gsmith »

Hi

Our Customer Success team will work with you to get the licensing renewed/straightened out.

I'll hold this thread open until I hear back from you with your status.

Thanks!
ScottMc
Posts: 26
Joined: Mon Aug 06, 2018 9:35 am

Re: Maintenance for this license has expired (offline cluste

Post by ScottMc »

Thanks! I was able to activate offline using the command and key sent to me by you CS team. Afterward I was able to upgrade offline.

Scott
Locked