Re: 5.4.13 to 5.5.2 upgrade dependency issue
Posted: Wed Aug 01, 2018 2:25 am
This is 5.52 upgrade now.
It is getting stuck on this step for ages at boto3 and pymongo. Same error.
It repeats a few times.
I just did a clean up of the installation directory and did a reinstall. It is showing the same error as below. Will update install.log once it ends.
I have never encountered this type of slowdown before in any versions from 2.x
After stuck for ages on the logs on top, then it zips by and it ends like this. Upgrade not done.
It is getting stuck on this step for ages at boto3 and pymongo. Same error.
It repeats a few times.
Code: Select all
SKIPPING NAGIOS CORE RESTART...
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/amazon_ec2/install.sh'...
RUNNING INSTALL SCRIPT...
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named boto3
ImportError: No module named boto3
Collecting boto3
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Could not find a version that satisfies the requirement boto3 (from versions: )
No matching distribution found for boto3
INSTALL SCRIPT FINISHED. RESULT='1'
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/configwizards/amazon_ec2
Done!
Installing 'wizards/amazon_s3.zip'
TMPNAME: iJIiN
Archive: /tmp/raja/nagiosxi/subcomponents/xiwizards/wizards/amazon_s3.zip
f10566ec6d5f77ea7846812311c879821273d74b
creating: amazon_s3/
inflating: amazon_s3/CHANGES.txt
inflating: amazon_s3/amazon_s3.inc.php
inflating: amazon_s3/config.xml
inflating: amazon_s3/install.sh
creating: amazon_s3/logos/
inflating: amazon_s3/logos/s3.png
creating: amazon_s3/plugins/
inflating: amazon_s3/plugins/check_s3.py
inflating: amazon_s3/s3.ajax.php
creating: amazon_s3/templates/
inflating: amazon_s3/templates/s3.cfg
amazon_s3
WIZARD NAME: amazon_s3
CMD=grep register_configwizard /usr/local/nagiosxi/tmp/iJIiN/amazon_s3/amazon_s3.inc.php | wc -l
1
OUT=1
Wizard looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/iJIiN/amazon_s3 /usr/local/nagiosxi/html/includes/configwizards/
CMD: rm -rf /usr/local/nagiosxi/tmp/iJIiN
PROCESSING CONFIG FILE /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/config.xml
LOGO:
LOGO ATTRIBUTE filename => s3.png
COPYING LOGO: /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/logos/s3.png
TO: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/s3.png
PLUGIN:
PLUGIN ATTRIBUTE filename => check_s3.py
COPYING PLUGIN: /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/plugins/check_s3.py
TO: /usr/local/nagios/libexec/check_s3.py
TEMPLATE:
TEMPLATE ATTRIBUTE filename => s3.cfg
COPYING TEMPLATE: /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/templates/s3.cfg
TO: /usr/local/nagios/etc/import/configwizard-s3.cfg
SKIPPING NAGIOS CORE RESTART...
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/amazon_s3/install.sh'...
RUNNING INSTALL SCRIPT...
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named boto3
Collecting boto3
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
I just did a clean up of the installation directory and did a reinstall. It is showing the same error as below. Will update install.log once it ends.
I have never encountered this type of slowdown before in any versions from 2.x
Code: Select all
Collecting boto3
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Could not find a version that satisfies the requirement boto3 (from versions: )
No matching distribution found for boto3
INSTALL SCRIPT FINISHED. RESULT='1'
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/configwizards/amazon_ec2
Done!
Installing 'wizards/amazon_s3.zip'
TMPNAME: MZGVE
Archive: /tmp/raja/nagiosxi/subcomponents/xiwizards/wizards/amazon_s3.zip
f10566ec6d5f77ea7846812311c879821273d74b
creating: amazon_s3/
inflating: amazon_s3/CHANGES.txt
inflating: amazon_s3/amazon_s3.inc.php
inflating: amazon_s3/config.xml
inflating: amazon_s3/install.sh
creating: amazon_s3/logos/
inflating: amazon_s3/logos/s3.png
creating: amazon_s3/plugins/
inflating: amazon_s3/plugins/check_s3.py
inflating: amazon_s3/s3.ajax.php
creating: amazon_s3/templates/
inflating: amazon_s3/templates/s3.cfg
amazon_s3
WIZARD NAME: amazon_s3
CMD=grep register_configwizard /usr/local/nagiosxi/tmp/MZGVE/amazon_s3/amazon_s3.inc.php | wc -l
1
OUT=1
Wizard looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/MZGVE/amazon_s3 /usr/local/nagiosxi/html/includes/configwizards/
CMD: rm -rf /usr/local/nagiosxi/tmp/MZGVE
PROCESSING CONFIG FILE /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/config.xml
LOGO:
LOGO ATTRIBUTE filename => s3.png
COPYING LOGO: /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/logos/s3.png
TO: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/s3.png
PLUGIN:
PLUGIN ATTRIBUTE filename => check_s3.py
COPYING PLUGIN: /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/plugins/check_s3.py
TO: /usr/local/nagios/libexec/check_s3.py
TEMPLATE:
TEMPLATE ATTRIBUTE filename => s3.cfg
COPYING TEMPLATE: /usr/local/nagiosxi/html/includes/configwizards/amazon_s3/templates/s3.cfg
TO: /usr/local/nagios/etc/import/configwizard-s3.cfg
SKIPPING NAGIOS CORE RESTART...
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/amazon_s3/install.sh'...
RUNNING INSTALL SCRIPT...
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named boto3
Collecting boto3
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/boto3/
Could not find a version that satisfies the requirement boto3 (from versions: )
No matching distribution found for boto3
INSTALL SCRIPT FINISHED. RESULT='1'
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/configwizards/amazon_s3
Done!
...
...
..
SKIPPING NAGIOS CORE RESTART...
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/mongodb_database/install.sh'...
RUNNING INSTALL SCRIPT...
Collecting pymongo
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Could not find a version that satisfies the requirement pymongo (from versions: )
No matching distribution found for pymongo
INSTALL SCRIPT FINISHED. RESULT='0'
CMD: . /usr/local/nagiosxi/var/xi-sys.cfg && chown -R $nagiosuser /usr/local/nagiosxi/html/includes/configwizards/mongodb_database
Done!
Installing 'wizards/mongodb_server.zip'
TMPNAME: EHL7B
Archive: /tmp/raja/nagiosxi/subcomponents/xiwizards/wizards/mongodb_server.zip
ebd4b340c35e9203528e1aadb679731530e7dac7
creating: mongodb_server/
inflating: mongodb_server/CHANGES.TXT
inflating: mongodb_server/config.xml
extracting: mongodb_server/install.sh
creating: mongodb_server/logos/
extracting: mongodb_server/logos/mongodb.png
inflating: mongodb_server/mongodb_server.inc.php
creating: mongodb_server/plugins/
inflating: mongodb_server/plugins/check_mongodb.py
creating: mongodb_server/templates/
inflating: mongodb_server/templates/mongodb_server.cfg
mongodb_server
WIZARD NAME: mongodb_server
CMD=grep register_configwizard /usr/local/nagiosxi/tmp/EHL7B/mongodb_server/mongodb_server.inc.php | wc -l
1
OUT=1
Wizard looks ok...
CMD: cp -rf /usr/local/nagiosxi/tmp/EHL7B/mongodb_server /usr/local/nagiosxi/html/includes/configwizards/
CMD: rm -rf /usr/local/nagiosxi/tmp/EHL7B
PROCESSING CONFIG FILE /usr/local/nagiosxi/html/includes/configwizards/mongodb_server/config.xml
LOGO:
LOGO ATTRIBUTE filename => mongodb.png
COPYING LOGO: /usr/local/nagiosxi/html/includes/configwizards/mongodb_server/logos/mongodb.png
TO: /usr/local/nagiosxi/html/includes/components/nagioscore/ui/images/logos/mongodb.png
PLUGIN:
PLUGIN ATTRIBUTE filename => check_mongodb.py
COPYING PLUGIN: /usr/local/nagiosxi/html/includes/configwizards/mongodb_server/plugins/check_mongodb.py
TO: /usr/local/nagios/libexec/check_mongodb.py
TEMPLATE:
TEMPLATE ATTRIBUTE filename => mongodb_server.cfg
COPYING TEMPLATE: /usr/local/nagiosxi/html/includes/configwizards/mongodb_server/templates/mongodb_server.cfg
TO: /usr/local/nagios/etc/import/configwizard-mongodb_server.cfg
SKIPPING NAGIOS CORE RESTART...
CHECKING FOR INSTALL SCRIPT '/usr/local/nagiosxi/html/includes/configwizards/mongodb_server/install.sh'...
RUNNING INSTALL SCRIPT...
Collecting pymongo
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
Retrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', error(101, 'Network is unreachable'))': /simple/pymongo/
After stuck for ages on the logs on top, then it zips by and it ends like this. Upgrade not done.
Code: Select all
cd ./src/; make
make[1]: Entering directory `/tmp/raja/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
gcc -g -O2 -I/usr/include/krb5 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c -lssl -lcrypto -lnsl -lwrap
gcc -g -O2 -I/usr/include/krb5 -DHAVE_CONFIG_H -I ../include -I ./../include -o check_nrpe ./check_nrpe.c ./utils.c -lssl -lcrypto -lnsl
make[1]: Leaving directory `/tmp/raja/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
*** Compile finished ***
You can now continue with the installation or upgrade process.
Read the PDF documentation (docs/NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.
cd ./src/; make install-plugin
make[1]: Entering directory `/tmp/raja/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/libexec
/usr/bin/install -c -m 775 -o nagios -g nagios check_nrpe /usr/local/nagios/libexec
make[1]: Leaving directory `/tmp/raja/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
cd ./src/; make install-daemon
make[1]: Entering directory `/tmp/raja/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 -d /usr/local/nagios/bin
/usr/bin/install -c -m 755 ../uninstall /usr/local/nagios/bin/nrpe-uninstall
/usr/bin/install -c -m 755 nrpe /usr/local/nagios/bin
make[1]: Leaving directory `/tmp/raja/nagiosxi/subcomponents/nrpe/nrpe-3.2.1/src'
/usr/bin/install -c -m 755 startup/default-init /etc/init.d/nrpe
Starting nrpe
UPGRADE: NRPE upgraded OK.
UPGRADE: NRDP is being upgraded...
UPGRADE: NRDP upgraded OK.
Finished updating Core, Plugins, NRPE, NRDP ...
Upgrading MySQL database for XI...
Removing Ajaxterm...
Installing new SSH Terminal...
Loaded plugins: product-id, security, subscription-manager
Setting up Install Process
No package shellinabox available.
Error: Nothing to do
You have new mail in /var/spool/mail/nagios