nagios-plugins-igwn-gwdatafind package doesn't bring in python3-astropy
The nagios-plugins-igwn-gwdatafind
RPM doesn't bring in everything it needs, specifically python3-astropy
is missing:
$ docker run --rm -it igwn/base:el8
[root@301ce8a25027 /]# dnf install -y -q nagios-plugins-igwn-gwdatafind
Importing GPG key 0x96D2B90F:
Userid : "Open Science Grid Software <help@opensciencegrid.org>"
Fingerprint: 1216 FF68 897A 77EA 222F C961 27DC 6864 96D2 B90F
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-OSG-2
Importing GPG key 0x2F86D6A1:
Userid : "Fedora EPEL (8) <epel@fedoraproject.org>"
Fingerprint: 94E2 79EB 8D8F 25B2 1810 ADF1 21EA 45AB 2F86 D6A1
From : /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-8
Upgraded:
platform-python-pip-9.0.3-23.el8.rocky.0.noarch platform-python-setuptools-39.2.0-7.el8.noarch
Installed:
libxslt-1.1.32-6.el8.x86_64
nagios-common-4.4.9-1.el8.x86_64
nagios-plugins-2.3.3-6.el8.x86_64
nagios-plugins-igwn-gwdatafind-1.0.1-1.el8.x86_64
python3-beautifulsoup4-4.6.3-2.el8.1.noarch
python3-cffi-1.11.5-6.el8.x86_64
python3-chardet-3.0.4-7.el8.noarch
python3-ciecplib-0.8.0-1.el8.noarch
python3-cryptography-3.2.1-6.el8.x86_64
python3-cssselect-0.9.2-10.el8.noarch
python3-decorator-4.2.1-2.el8.noarch
python3-dqsegdb2-1.2.1-1.el8.noarch
python3-gssapi-1.5.1-5.el8.x86_64
python3-gwdatafind-1.1.3-1.el8.noarch
python3-html5lib-1:0.999999999-6.el8.noarch
python3-idna-2.5-5.el8.noarch
python3-igwn-auth-utils-1.0.2-1.el8.noarch
python3-igwn-monitor-1.0.1-1.el8.x86_64
python3-importlib-metadata-0.23-1.el8.noarch
python3-jwt-1.6.1-2.el8.noarch
python3-ligo-segments-1.4.0-2.el8.x86_64
python3-lxml-4.2.3-4.el8.x86_64
python3-pip-9.0.3-23.el8.rocky.0.noarch
python3-ply-3.9-9.el8.noarch
python3-pyOpenSSL-19.0.0-1.el8.noarch
python3-pycparser-2.14-14.el8.noarch
python3-pysocks-1.6.8-3.el8.noarch
python3-requests-2.20.0-4.el8.noarch
python3-requests-ecp-0.3.1-1.el8.noarch
python3-requests-gssapi-1.2.2-1.el8.noarch
python3-safe-netrc-1.0.0-2.el8.noarch
python3-scitokens-1.7.4-1.osg36.el8.noarch
python3-setuptools-39.2.0-7.el8.noarch
python3-urllib3-1.24.2-5.el8.noarch
python3-webencodings-0.5.1-6.el8.noarch
python3-zipp-0.5.1-3.el8.noarch
python36-3.6.8-38.module+el8.5.0+671+195e4563.x86_64
[root@301ce8a25027 /]# /usr/lib64/nagios/plugins/check_gwdatafind_latency --help
Traceback (most recent call last):
File "/usr/lib64/nagios/plugins/check_gwdatafind_latency", line 7, in <module>
from igwn_monitor.plugins.check_gwdatafind_latency import main
File "/usr/lib/python3.6/site-packages/igwn_monitor/plugins/check_gwdatafind_latency.py", line 25, in <module>
from .check_file_latency import check_file_latency
File "/usr/lib/python3.6/site-packages/igwn_monitor/plugins/check_file_latency.py", line 20, in <module>
from astropy.time import Time
ModuleNotFoundError: No module named 'astropy'
The easiest solution is to add a requirement on nagios-plugins-igwn-common
, which powers the check_file_latency
plugin being used by check_gwdatafind_latency
.