- OpenStack agents: add dependency
Resolves: rhbz#1857247
This commit is contained in:
parent
1e647dc3e6
commit
211fd6aa88
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
/*.tar.?z*
|
||||
/*.rpm
|
||||
/.build-*.log
|
||||
/*.whl
|
||||
/*.txt
|
||||
/*.whl
|
||||
/*.zip
|
||||
/*/
|
||||
|
@ -9,116 +9,125 @@
|
||||
Name: fence-agents
|
||||
Summary: Set of unified programs capable of host isolation ("fencing")
|
||||
Version: 4.9.0
|
||||
Release: 1%{?alphatag:.%{alphatag}}%{?dist}
|
||||
Release: 2%{?alphatag:.%{alphatag}}%{?dist}
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: https://github.com/ClusterLabs/fence-agents
|
||||
Source0: https://fedorahosted.org/releases/f/e/fence-agents/%{name}-%{version}.tar.gz
|
||||
### HA cloud requirements-*.txt ###
|
||||
### HA support requirements-*.txt ###
|
||||
Source100: requirements-aliyun.txt
|
||||
Source101: requirements-aws.txt
|
||||
Source102: requirements-azure.txt
|
||||
Source103: requirements-google.txt
|
||||
Source104: requirements-openstack.txt
|
||||
Source105: requirements-pexpect.txt
|
||||
### HA cloud support libs/utils ###
|
||||
# update with ./update-ha-cloud.sh and replace lines below with output
|
||||
### HA support libs/utils ###
|
||||
# awscli 2+ is only available from github (and needs to be renamed from aws-cli... to awscli)
|
||||
Source900: awscli-2.2.15.tar.gz
|
||||
# From awscli's requirements.txt: https://github.com/boto/botocore/zipball/v2#egg=botocore
|
||||
Source901: botocore-2.0.0dev123.zip
|
||||
# update with ./update-ha-support.sh and replace lines below with output
|
||||
### BEGIN ###
|
||||
# aliyun
|
||||
Source1000: aliyun-python-sdk-core-2.13.35.tar.gz
|
||||
Source1001: aliyun_python_sdk_ecs-4.24.1-py2.py3-none-any.whl
|
||||
Source1001: aliyun_python_sdk_ecs-4.24.3-py2.py3-none-any.whl
|
||||
Source1002: cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl
|
||||
Source1003: cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl
|
||||
Source1004: jmespath-0.10.0-py2.py3-none-any.whl
|
||||
Source1005: pycparser-2.20-py2.py3-none-any.whl
|
||||
# aws
|
||||
Source1006: awscli-1.19.75-py2.py3-none-any.whl
|
||||
Source1007: boto3-1.17.75-py2.py3-none-any.whl
|
||||
Source1008: botocore-1.20.75-py2.py3-none-any.whl
|
||||
Source1009: colorama-0.4.3-py2.py3-none-any.whl
|
||||
# awscli
|
||||
Source1006: awscrt-0.11.13-cp39-cp39-manylinux2014_x86_64.whl
|
||||
Source1007: colorama-0.4.3-py2.py3-none-any.whl
|
||||
Source1008: cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl
|
||||
Source1009: distro-1.5.0-py2.py3-none-any.whl
|
||||
Source1010: docutils-0.15.2-py3-none-any.whl
|
||||
Source1011: pyasn1-0.4.8-py2.py3-none-any.whl
|
||||
Source1012: python_dateutil-2.8.1-py2.py3-none-any.whl
|
||||
Source1013: PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl
|
||||
Source1014: rsa-4.7.2-py3-none-any.whl
|
||||
Source1015: s3transfer-0.4.2-py2.py3-none-any.whl
|
||||
Source1016: six-1.16.0-py2.py3-none-any.whl
|
||||
Source1017: urllib3-1.26.4-py2.py3-none-any.whl
|
||||
Source1011: prompt_toolkit-2.0.10-py3-none-any.whl
|
||||
Source1012: ruamel.yaml-0.15.100.tar.gz
|
||||
Source1013: six-1.16.0-py2.py3-none-any.whl
|
||||
Source1014: wcwidth-0.1.9-py2.py3-none-any.whl
|
||||
# aws
|
||||
Source1015: boto3-1.17.102-py2.py3-none-any.whl
|
||||
Source1016: botocore-1.20.102-py2.py3-none-any.whl
|
||||
Source1017: python_dateutil-2.8.1-py2.py3-none-any.whl
|
||||
Source1018: s3transfer-0.4.2-py2.py3-none-any.whl
|
||||
Source1019: urllib3-1.26.6-py2.py3-none-any.whl
|
||||
# azure
|
||||
Source1018: adal-1.2.7-py2.py3-none-any.whl
|
||||
Source1019: azure_common-1.1.27-py2.py3-none-any.whl
|
||||
Source1020: azure_core-1.14.0-py2.py3-none-any.whl
|
||||
Source1021: azure_mgmt_compute-20.0.0-py2.py3-none-any.whl
|
||||
Source1022: azure_mgmt_core-1.2.2-py2.py3-none-any.whl
|
||||
Source1023: azure_mgmt_network-19.0.0-py2.py3-none-any.whl
|
||||
Source1024: certifi-2020.12.5-py2.py3-none-any.whl
|
||||
Source1025: chardet-4.0.0-py2.py3-none-any.whl
|
||||
Source1026: idna-2.10-py2.py3-none-any.whl
|
||||
Source1027: isodate-0.6.0-py2.py3-none-any.whl
|
||||
Source1028: msrest-0.6.21-py2.py3-none-any.whl
|
||||
Source1029: msrestazure-0.6.4-py2.py3-none-any.whl
|
||||
Source1030: oauthlib-3.1.0-py2.py3-none-any.whl
|
||||
Source1031: PyJWT-2.1.0-py3-none-any.whl
|
||||
Source1032: requests-2.25.1-py2.py3-none-any.whl
|
||||
Source1033: requests_oauthlib-1.3.0-py2.py3-none-any.whl
|
||||
Source1020: adal-1.2.7-py2.py3-none-any.whl
|
||||
Source1021: azure_common-1.1.27-py2.py3-none-any.whl
|
||||
Source1022: azure_core-1.15.0-py2.py3-none-any.whl
|
||||
Source1023: azure_mgmt_compute-21.0.0-py2.py3-none-any.whl
|
||||
Source1024: azure_mgmt_core-1.2.2-py2.py3-none-any.whl
|
||||
Source1025: azure_mgmt_network-19.0.0-py2.py3-none-any.whl
|
||||
Source1026: certifi-2021.5.30-py2.py3-none-any.whl
|
||||
Source1027: chardet-4.0.0-py2.py3-none-any.whl
|
||||
Source1028: idna-2.10-py2.py3-none-any.whl
|
||||
Source1029: isodate-0.6.0-py2.py3-none-any.whl
|
||||
Source1030: msrest-0.6.21-py2.py3-none-any.whl
|
||||
Source1031: msrestazure-0.6.4-py2.py3-none-any.whl
|
||||
Source1032: oauthlib-3.1.1-py2.py3-none-any.whl
|
||||
Source1033: PyJWT-2.1.0-py3-none-any.whl
|
||||
Source1034: requests-2.25.1-py2.py3-none-any.whl
|
||||
Source1035: requests_oauthlib-1.3.0-py2.py3-none-any.whl
|
||||
# google
|
||||
Source1034: cachetools-4.2.2-py3-none-any.whl
|
||||
Source1035: chardet-3.0.4-py2.py3-none-any.whl
|
||||
Source1036: google_api_core-1.27.0-py2.py3-none-any.whl
|
||||
Source1037: google_api_python_client-1.12.8-py2.py3-none-any.whl
|
||||
Source1038: googleapis_common_protos-1.53.0-py2.py3-none-any.whl
|
||||
Source1039: google_auth-1.30.0-py2.py3-none-any.whl
|
||||
Source1040: google_auth_httplib2-0.1.0-py2.py3-none-any.whl
|
||||
Source1041: httplib2-0.19.1-py3-none-any.whl
|
||||
Source1042: packaging-20.9-py2.py3-none-any.whl
|
||||
Source1043: protobuf-3.17.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
|
||||
Source1044: pyasn1_modules-0.2.8-py2.py3-none-any.whl
|
||||
Source1045: pyparsing-2.4.7-py2.py3-none-any.whl
|
||||
Source1046: pyroute2-0.6.1.tar.gz
|
||||
Source1047: pyroute2.core-0.6.1.tar.gz
|
||||
Source1048: pyroute2.ethtool-0.6.1.tar.gz
|
||||
Source1049: pyroute2.ipdb-0.6.1.tar.gz
|
||||
Source1050: pyroute2.ipset-0.6.1.tar.gz
|
||||
Source1051: pyroute2.ndb-0.6.1.tar.gz
|
||||
Source1052: pyroute2.nftables-0.6.1.tar.gz
|
||||
Source1053: pyroute2.nslink-0.6.1.tar.gz
|
||||
Source1054: pytz-2021.1-py2.py3-none-any.whl
|
||||
Source1055: setuptools-56.2.0-py3-none-any.whl
|
||||
Source1056: uritemplate-3.0.1-py2.py3-none-any.whl
|
||||
Source1036: cachetools-4.2.2-py3-none-any.whl
|
||||
Source1037: chardet-3.0.4-py2.py3-none-any.whl
|
||||
Source1038: google_api_core-1.30.0-py2.py3-none-any.whl
|
||||
Source1039: google_api_python_client-1.12.8-py2.py3-none-any.whl
|
||||
Source1040: googleapis_common_protos-1.53.0-py2.py3-none-any.whl
|
||||
Source1041: google_auth-1.32.0-py2.py3-none-any.whl
|
||||
Source1042: google_auth_httplib2-0.1.0-py2.py3-none-any.whl
|
||||
Source1043: httplib2-0.19.1-py3-none-any.whl
|
||||
Source1044: packaging-20.9-py2.py3-none-any.whl
|
||||
Source1045: protobuf-3.17.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl
|
||||
Source1046: pyasn1-0.4.8-py2.py3-none-any.whl
|
||||
Source1047: pyasn1_modules-0.2.8-py2.py3-none-any.whl
|
||||
Source1048: pyparsing-2.4.7-py2.py3-none-any.whl
|
||||
Source1049: pyroute2-0.6.4.tar.gz
|
||||
Source1050: pyroute2.core-0.6.4.tar.gz
|
||||
Source1051: pyroute2.ethtool-0.6.4.tar.gz
|
||||
Source1052: pyroute2.ipdb-0.6.4.tar.gz
|
||||
Source1053: pyroute2.ipset-0.6.4.tar.gz
|
||||
Source1054: pyroute2.ndb-0.6.4.tar.gz
|
||||
Source1055: pyroute2.nftables-0.6.4.tar.gz
|
||||
Source1056: pyroute2.nslink-0.6.4.tar.gz
|
||||
Source1057: pytz-2021.1-py2.py3-none-any.whl
|
||||
Source1058: rsa-4.7.2-py3-none-any.whl
|
||||
Source1059: setuptools-57.0.0-py3-none-any.whl
|
||||
Source1060: uritemplate-3.0.1-py2.py3-none-any.whl
|
||||
# openstack
|
||||
Source1057: debtcollector-2.2.0-py3-none-any.whl
|
||||
Source1058: iso8601-0.1.14-py2.py3-none-any.whl
|
||||
Source1059: keystoneauth1-4.3.1-py3-none-any.whl
|
||||
Source1060: msgpack-1.0.2-cp39-cp39-manylinux1_x86_64.whl
|
||||
Source1061: netaddr-0.8.0-py2.py3-none-any.whl
|
||||
Source1062: netifaces-0.10.9.tar.gz
|
||||
Source1063: oslo.i18n-5.0.1-py3-none-any.whl
|
||||
Source1064: oslo.serialization-4.1.0-py3-none-any.whl
|
||||
Source1065: oslo.utils-4.9.0-py3-none-any.whl
|
||||
Source1066: os_service_types-1.7.0-py2.py3-none-any.whl
|
||||
Source1067: pbr-5.6.0-py2.py3-none-any.whl
|
||||
Source1068: prettytable-2.1.0-py3-none-any.whl
|
||||
Source1069: python_novaclient-17.4.0-py3-none-any.whl
|
||||
Source1070: stevedore-3.3.0-py3-none-any.whl
|
||||
Source1071: wcwidth-0.2.5-py2.py3-none-any.whl
|
||||
Source1072: wrapt-1.12.1.tar.gz
|
||||
Source1061: debtcollector-2.2.0-py3-none-any.whl
|
||||
Source1062: iso8601-0.1.14-py2.py3-none-any.whl
|
||||
Source1063: keystoneauth1-4.3.1-py3-none-any.whl
|
||||
Source1064: msgpack-1.0.2.tar.gz
|
||||
Source1065: netaddr-0.8.0-py2.py3-none-any.whl
|
||||
Source1066: netifaces-0.11.0.tar.gz
|
||||
Source1067: oslo.i18n-5.0.1-py3-none-any.whl
|
||||
Source1068: oslo.serialization-4.1.0-py3-none-any.whl
|
||||
Source1069: oslo.utils-4.9.1-py3-none-any.whl
|
||||
Source1070: os_service_types-1.7.0-py2.py3-none-any.whl
|
||||
Source1071: pbr-5.6.0-py2.py3-none-any.whl
|
||||
Source1072: prettytable-2.1.0-py3-none-any.whl
|
||||
Source1073: python_novaclient-17.5.0-py3-none-any.whl
|
||||
Source1074: stevedore-3.3.0-py3-none-any.whl
|
||||
Source1075: wcwidth-0.2.5-py2.py3-none-any.whl
|
||||
Source1076: wrapt-1.12.1.tar.gz
|
||||
# pexpect
|
||||
Source1073: pexpect-4.8.0-py2.py3-none-any.whl
|
||||
Source1074: ptyprocess-0.7.0-py2.py3-none-any.whl
|
||||
Source1077: pexpect-4.8.0-py2.py3-none-any.whl
|
||||
Source1078: ptyprocess-0.7.0-py2.py3-none-any.whl
|
||||
### END ###
|
||||
|
||||
Patch0: ha-cloud-support-aliyun.patch
|
||||
Patch1: ha-cloud-support-aws.patch
|
||||
Patch2: ha-cloud-support-azure.patch
|
||||
Patch3: ha-cloud-support-google.patch
|
||||
Patch4: ha-cloud-support-openstack.patch
|
||||
Patch4: ha-openstack-support.patch
|
||||
Patch5: bundled-pexpect.patch
|
||||
|
||||
%global supportedagents amt_ws apc apc_snmp bladecenter brocade cisco_mds cisco_ucs compute drac5 eaton_snmp emerson eps evacuate hpblade ibmblade ifmib ilo ilo_moonshot ilo_mp ilo_ssh intelmodular ipdu ipmilan kdump lpar mpath redfish rhevm rsa rsb sbd scsi virt vmware_rest vmware_soap wti
|
||||
%ifarch x86_64
|
||||
%global testagents virsh heuristics_ping aliyun aws azure_arm gce
|
||||
%global testagents virsh heuristics_ping aliyun aws azure_arm gce openstack
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
%global testagents virsh heuristics_ping
|
||||
%global testagents virsh heuristics_ping openstack
|
||||
%endif
|
||||
%ifarch s390x
|
||||
%global testagents virsh zvm heuristics_ping
|
||||
@ -166,14 +175,6 @@ fence-agents-wti \\
|
||||
|
||||
EOF)
|
||||
|
||||
%ifarch x86_64 ppc64le
|
||||
%global allfenceagents %(cat <<EOF
|
||||
%{allfenceagents} \\
|
||||
fence-agents-compute \\
|
||||
|
||||
EOF)
|
||||
%endif
|
||||
|
||||
# Build dependencies
|
||||
## general
|
||||
BuildRequires: autoconf automake libtool make
|
||||
@ -184,7 +185,7 @@ BuildRequires: libxslt
|
||||
## Python dependencies
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
BuildRequires: python3-devel python3-pip
|
||||
# wheel for HA cloud support
|
||||
# wheel for HA support subpackages
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python3-pycurl python3-requests
|
||||
BuildRequires: python3-suds
|
||||
@ -232,7 +233,12 @@ sed -i.orig 's|FENCE_ZVM=1|FENCE_ZVM=0|' configure.ac
|
||||
# support libs
|
||||
%ifarch x86_64
|
||||
LIBS="%{_sourcedir}/requirements-*.txt"
|
||||
%else
|
||||
echo "awscli" >> %{_sourcedir}/requirements-awscli.txt
|
||||
%endif
|
||||
%ifarch ppc64le
|
||||
LIBS="%{_sourcedir}/requirements-openstack.txt %{_sourcedir}/requirements-pexpect.txt"
|
||||
%endif
|
||||
%ifnarch x86_64 ppc64le
|
||||
LIBS="%{_sourcedir}/requirements-pexpect.txt"
|
||||
%endif
|
||||
for x in $LIBS; do
|
||||
@ -240,7 +246,7 @@ for x in $LIBS; do
|
||||
done
|
||||
|
||||
%ifarch x86_64
|
||||
sed -i -e "/^import awscli.clidriver/isys.path.insert(0, '/usr/lib/%{name}/support/aws')" support/aws/bin/aws
|
||||
sed -i -e "/^import awscli.clidriver/isys.path.insert(0, '/usr/lib/%{name}/support/awscli')" support/awscli/bin/aws
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
@ -322,6 +328,9 @@ Requires: python3-pycurl
|
||||
%else
|
||||
Requires: python-pycurl
|
||||
%endif
|
||||
# pexpect
|
||||
Provides: bundled(python-pexpect) = 4.8.0
|
||||
Provides: bundled(python-ptyprocess) = 0.7.0
|
||||
BuildArch: noarch
|
||||
%description common
|
||||
A collection of executables to handle isolation ("fencing") of possibly
|
||||
@ -350,15 +359,109 @@ This package contains support files including the Python fencing library.
|
||||
%package -n ha-cloud-support
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Support libraries for HA Cloud agents
|
||||
### ADD PROVIDES ###
|
||||
# aliyun
|
||||
Provides: bundled(python-aliyun-python-sdk-core) = 2.13.35
|
||||
Provides: bundled(python-aliyun-python-sdk-ecs) = 4.24.3
|
||||
Provides: bundled(python-cffi) = 1.14.5
|
||||
Provides: bundled(python-cryptography) = 3.4.7
|
||||
Provides: bundled(python-jmespath) = 0.10.0
|
||||
Provides: bundled(python-pycparser) = 2.20
|
||||
# awscli
|
||||
Provides: bundled(awscli) = 2.2.15
|
||||
Provides: bundled(python-awscrt) = 0.11.13
|
||||
Provides: bundled(python-colorama) = 0.4.3
|
||||
Provides: bundled(python-cryptography) = 3.3.2
|
||||
Provides: bundled(python-distro) = 1.5.0
|
||||
Provides: bundled(python-docutils) = 0.15.2
|
||||
Provides: bundled(python-prompt-toolkit) = 2.0.10
|
||||
Provides: bundled(python-ruamel-yaml) = 0.15.100
|
||||
Provides: bundled(python-six) = 1.16.0
|
||||
Provides: bundled(python-wcwidth) = 0.1.9
|
||||
# aws
|
||||
Provides: bundled(python-boto3) = 1.17.102
|
||||
Provides: bundled(python-botocore) = 1.20.102
|
||||
Provides: bundled(python-dateutil) = 2.8.1
|
||||
Provides: bundled(python-s3transfer) = 0.4.2
|
||||
Provides: bundled(python-urllib3) = 1.26.6
|
||||
# azure
|
||||
Provides: bundled(python-adal) = 1.2.7
|
||||
Provides: bundled(python-azure-common) = 1.1.27
|
||||
Provides: bundled(python-azure-core) = 1.15.0
|
||||
Provides: bundled(python-azure-mgmt-compute) = 21.0.0
|
||||
Provides: bundled(python-azure-mgmt-core) = 1.2.2
|
||||
Provides: bundled(python-azure-mgmt-network) = 19.0.0
|
||||
Provides: bundled(python-certifi) = 2021.5.30
|
||||
Provides: bundled(python-chardet) = 4.0.0
|
||||
Provides: bundled(python-idna) = 2.10
|
||||
Provides: bundled(python-isodate) = 0.6.0
|
||||
Provides: bundled(python-msrest) = 0.6.21
|
||||
Provides: bundled(python-msrestazure) = 0.6.4
|
||||
Provides: bundled(python-oauthlib) = 3.1.1
|
||||
Provides: bundled(python-PyJWT) = 2.1.0
|
||||
Provides: bundled(python-requests) = 2.25.1
|
||||
Provides: bundled(python-requests-oauthlib) = 1.3.0
|
||||
# google
|
||||
Provides: bundled(python-cachetools) = 4.2.2
|
||||
Provides: bundled(python-chardet) = 3.0.4
|
||||
Provides: bundled(python-google-api-core) = 1.30.0
|
||||
Provides: bundled(python-google-api-client) = 1.12.8
|
||||
Provides: bundled(python-googleapis-common-protos) = 1.53.0
|
||||
Provides: bundled(python-google-auth) = 1.32.0
|
||||
Provides: bundled(python-google-auth-httplib2) = 0.1.0
|
||||
Provides: bundled(python-httplib2) = 0.19.1
|
||||
Provides: bundled(python-packaging) = 20.9
|
||||
Provides: bundled(python-protobuf) = 3.17.3
|
||||
Provides: bundled(python-pyasn1) = 0.4.8
|
||||
Provides: bundled(python-pyasn1-modules) = 0.2.8
|
||||
Provides: bundled(python-pyparsing) = 2.4.7
|
||||
Provides: bundled(python-pyroute2) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-core) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-ethtool) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-ipdb) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-ipset) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-ndb) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-nftables) = 0.6.4
|
||||
Provides: bundled(python-pyroute2-nslink) = 0.6.4
|
||||
Provides: bundled(python-pytz) = 2021.1
|
||||
Provides: bundled(python-rsa) = 4.7.2
|
||||
Provides: bundled(python-setuptools) = 57.0.0
|
||||
Provides: bundled(python-uritemplate) = 3.0.1
|
||||
%description -n ha-cloud-support
|
||||
Support libraries for Fence Agents.
|
||||
%files -n ha-cloud-support
|
||||
%dir %{_usr}/lib/%{name}
|
||||
%{_usr}/lib/%{name}/support
|
||||
%exclude %{_usr}/lib/%{name}/support/openstack
|
||||
%exclude %{_usr}/lib/%{name}/support/pexpect
|
||||
%endif
|
||||
|
||||
%ifarch x86_64 ppc64le
|
||||
%package -n ha-openstack-support
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Support libraries for OpenStack agents
|
||||
Provides: bundled(python-debtcollector) = 2.2.0
|
||||
Provides: bundled(python-iso8601) = 0.1.14
|
||||
Provides: bundled(python-keystoneauth1) = 4.3.1
|
||||
Provides: bundled(python-msgpack) = 1.0.2
|
||||
Provides: bundled(python-netaddr) = 0.8.0
|
||||
Provides: bundled(python-netifaces) = 0.11.0
|
||||
Provides: bundled(python-oslo-i18n) = 5.0.1
|
||||
Provides: bundled(python-oslo-serialization) = 4.1.0
|
||||
Provides: bundled(python-oslo-utils) = 4.9.1
|
||||
Provides: bundled(python-os-service-types) = 1.7.0
|
||||
Provides: bundled(python-pbr) = 5.6.0
|
||||
Provides: bundled(python-prettytable) = 2.1.0
|
||||
Provides: bundled(python-novaclient) = 17.5.0
|
||||
Provides: bundled(python-stevedore) = 3.3.0
|
||||
Provides: bundled(python-wcwidth) = 0.2.5
|
||||
Provides: bundled(python-wrapt) = 1.12.1
|
||||
%description -n ha-openstack-support
|
||||
Support libraries for Fence Agents.
|
||||
%files -n ha-openstack-support
|
||||
%dir %{_usr}/lib/%{name}
|
||||
%{_usr}/lib/%{name}/support/openstack
|
||||
%endif
|
||||
|
||||
%package all
|
||||
License: GPLv2+, LGPLv2+ and ASL 2.0
|
||||
Summary: Set of unified programs capable of host isolation ("fencing")
|
||||
@ -564,6 +667,7 @@ Requires: python3-requests
|
||||
Requires: python-requests
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
Requires: ha-openstack-support = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description compute
|
||||
Fence agent for Nova compute nodes.
|
||||
@ -872,6 +976,25 @@ Device Mapper Multipath.
|
||||
%{_datadir}/cluster/fence_mpath_check*
|
||||
%{_mandir}/man8/fence_mpath.8*
|
||||
|
||||
%ifarch x86_64 ppc64le
|
||||
%package openstack
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Summary: Fence agent for OpenStack's Nova service
|
||||
%if 0%{?fedora} || 0%{?centos} > 7 || 0%{?rhel} > 7 || 0%{?suse_version}
|
||||
Requires: python3-requests
|
||||
%else
|
||||
Requires: python-requests
|
||||
%endif
|
||||
Requires: fence-agents-common = %{version}-%{release}
|
||||
Requires: ha-openstack-support = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
%description openstack
|
||||
Fence agent for OpenStack's Nova service.
|
||||
%files openstack
|
||||
%{_sbindir}/fence_openstack
|
||||
%{_mandir}/man8/fence_openstack.8*
|
||||
%endif
|
||||
|
||||
%package redfish
|
||||
License: GPLv2+ and LGPLv2+
|
||||
Group: System Environment/Base
|
||||
@ -1122,6 +1245,11 @@ are located on corosync cluster nodes.
|
||||
%{_libdir}/fence-virt/cpg.so
|
||||
|
||||
%changelog
|
||||
* Thu Jul 1 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-2
|
||||
- OpenStack agents: add dependency
|
||||
|
||||
Resolves: rhbz#1857247
|
||||
|
||||
* Fri Jun 4 2021 Oyvind Albrigtsen <oalbrigt@redhat.com> - 4.9.0-1
|
||||
- Rebase and add fence-virt subpackages
|
||||
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- fence-agents-4.7.1/agents/compute/fence_compute.py 2021-03-04 15:11:13.867362945 +0100
|
||||
+++ fence-agents-4.7.1/agents/compute/fence_compute.py.modif 2021-03-04 15:11:11.480357409 +0100
|
||||
@@ -253,6 +253,7 @@
|
||||
nova = None
|
||||
|
||||
try:
|
||||
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
||||
from novaclient import client
|
||||
from novaclient.exceptions import NotAcceptable
|
||||
except ImportError:
|
||||
--- fence-agents-4.7.1/agents/evacuate/fence_evacuate.py 2021-03-04 15:11:48.267442726 +0100
|
||||
+++ fence-agents-4.7.1/agents/evacuate/fence_evacuate.py.modif 2021-03-04 15:11:45.397436069 +0100
|
||||
@@ -189,6 +189,7 @@
|
||||
nova = None
|
||||
|
||||
try:
|
||||
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
||||
from novaclient import client
|
||||
from novaclient.exceptions import NotAcceptable
|
||||
except ImportError:
|
30
ha-openstack-support.patch
Normal file
30
ha-openstack-support.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- a/agents/compute/fence_compute.py 2021-03-04 15:11:13.867362945 +0100
|
||||
+++ b/agents/compute/fence_compute.py 2021-03-04 15:11:11.480357409 +0100
|
||||
@@ -253,6 +253,7 @@
|
||||
nova = None
|
||||
|
||||
try:
|
||||
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
||||
from novaclient import client
|
||||
from novaclient.exceptions import NotAcceptable
|
||||
except ImportError:
|
||||
--- a/agents/evacuate/fence_evacuate.py 2021-03-04 15:11:48.267442726 +0100
|
||||
+++ b/agents/evacuate/fence_evacuate.py 2021-03-04 15:11:45.397436069 +0100
|
||||
@@ -189,6 +189,7 @@
|
||||
nova = None
|
||||
|
||||
try:
|
||||
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
||||
from novaclient import client
|
||||
from novaclient.exceptions import NotAcceptable
|
||||
except ImportError:
|
||||
--- a/agents/openstack/fence_openstack.py 2021-06-03 11:48:01.000000000 +0200
|
||||
+++ b/agents/openstack/fence_openstack.py 2021-06-30 09:13:16.598937530 +0200
|
||||
@@ -11,6 +11,7 @@
|
||||
from fencing import fail_usage, run_delay
|
||||
|
||||
try:
|
||||
+ sys.path.insert(0, '/usr/lib/fence-agents/support/openstack')
|
||||
from novaclient import client
|
||||
from novaclient.exceptions import Conflict, NotFound
|
||||
except ImportError:
|
69
sources
69
sources
@ -1,80 +1,87 @@
|
||||
SHA512 (fence-agents-4.9.0.tar.gz) = 4df897f32e8d272cf27bfd2501ce2e91f8a91726a066df89f6bea668960919a5bc069e1e71c5ec2ced0512291a2e28eb365daee8362e47a8a72be4bfac1e4ec6
|
||||
SHA512 (awscli-2.2.15.tar.gz) = 4fe4f360e7b25ab3fa7b6659a7300875cf7a9c0bad2c9dbcbec25b85bda6ccb25511a44d24ebc60db8eee59de81fe586254f2990339bda8dcab93f9f1253e39e
|
||||
SHA512 (botocore-2.0.0dev123.zip) = 72e436421010f54b45aeb7d0b9dd2c22f4273f2ba702b30a214288a0c83d9a6da99ecb70f6d9aeb054c536acd0bb9ce9e9a89bf794de81020fea75d0eae16eca
|
||||
SHA512 (requirements-aliyun.txt) = 0c4f89de63246c406535ee73310232f3986b37dedbeed52f25000386d73af6735e1bf8e7ecaa97419df98f55058d76e4ff289d856b815afaaaf69744c5924f7e
|
||||
SHA512 (requirements-aws.txt) = 3fccf8c386dd21dcb738f89020dd728e76dee347accfdf7bef5b7493d22ac1090340f76187f19a6822777fe939ffc50f1ec84c1dbe328be5d435d5ad56714a99
|
||||
SHA512 (requirements-awscli.txt) = 50f2a3ee7b9cbccac77a3fca75776596f02863c06a96818037bf8e7413e5833d6ff2f7010c9795d76c705c2081e2726d808bc15e60c05f63bc6e7e527eba7f6f
|
||||
SHA512 (requirements-aws.txt) = ca39604d09f4b05589ddaa437be13b7f5d1868218745df107564d73a6c32efb7e4761436197a69653edc47a78f40dd7d5f0894935ec21b8f23b7c7bc71dfd0d1
|
||||
SHA512 (requirements-azure.txt) = a176aeaba7f13ca126bc6b41de1237148480787e4fe56cd9969b843d7102b24cbef2c9f9bd5e4460c603da96ba588639a77dfb376f9ab4ff6f7c2a29013edc31
|
||||
SHA512 (requirements-google.txt) = d916eb72588e55f5243b9e5391ab07d65eaafe583e073ef79d0e865f4c5e911d7b10310f7ccb98b5fdc1383c2214cc0cc082fa3c5fac6aa3d1931e4779149241
|
||||
SHA512 (requirements-openstack.txt) = e4c6ee00ff7bedd0229aa9ba9380cb20891f5fdd35e39bcc9d6c8e21ce9e7fffe18e383a44ea711266d07f47e9ffa3123beeafb14d0c9b62ddb0456b86e57f22
|
||||
SHA512 (requirements-pexpect.txt) = 90995acfe778d9fe42dd1146a1c4bcb9e9e8b4e48cad4809791e4650f7cd45e668aee6add470a1155104ebb24d48e4112a2ca1e5ee27057e99fc61470dfd3cc6
|
||||
SHA512 (aliyun-python-sdk-core-2.13.35.tar.gz) = 0e73892f23541f74618796f3ee672348c1764feac8c5a4ce8abb1265fba0e53b59a7ac1087ccbf4800b016ae691abd493f3457c2bb4086d5678b2eb0652d11bc
|
||||
SHA512 (aliyun_python_sdk_ecs-4.24.1-py2.py3-none-any.whl) = 4e0f757f2b45a97ea91e0a0f549ab86b001d4936cca9abf956684ed4744ff706e74f87448609f9553c6fc3b5b77a3d8ef60a0000b78b2d1b7bcafbf0d8350911
|
||||
SHA512 (aliyun_python_sdk_ecs-4.24.3-py2.py3-none-any.whl) = eff82b13a587f21ef0f7bfb3640ada409ba284d2105e2a6d7d8d6494931d25c3a3471499216346490ec923d903593def4af8838f9067ed18f0f2cc66ed9650ac
|
||||
SHA512 (cffi-1.14.5-cp39-cp39-manylinux1_x86_64.whl) = 3c73e06bef8e9646beacc584d59ecf42de013034194d6eb59f1abf279e8fe5468e106fcd47802ce1d264d3c1d9122af3c66ea1229db78a768f7ea069ddc2fd72
|
||||
SHA512 (cryptography-3.4.7-cp36-abi3-manylinux2014_x86_64.whl) = 6b4eaa52b17065e5723ac2d70f38f05c5a550aea5a50cd4ffac78ec61fa363ac9d1ef29d9c9ca876e69cf9ac681bf6e9941f2027fd6126e472d425d0b5cdf788
|
||||
SHA512 (jmespath-0.10.0-py2.py3-none-any.whl) = c4ef69cbdac0e6ff8fe1b4a604ebd7abd16e6021cea4b8b6c69917433939a60632462cecf6164a00fd585cb2ca4ddbfb3f871286ab48dd4aa37a11d002612b65
|
||||
SHA512 (pycparser-2.20-py2.py3-none-any.whl) = 06dc9cefdcde6b97c96d0452a77db42a629c48ee545edd7ab241763e50e3b3c56d21f9fcce4e206817aa1a597763d948a10ccc73572490d739c89eea7fede0a1
|
||||
SHA512 (awscli-1.19.75-py2.py3-none-any.whl) = 4d342f33eba2d4cdf2c35525fc09676b3151c13e23decfc44e13ef9ae481f28a84185732de019b8da6b5cb5ca926bac0b98cf5ed99a267541ca34609c80c213e
|
||||
SHA512 (boto3-1.17.75-py2.py3-none-any.whl) = cc4917c8ab875ec459691b0395cbccc223738b6845cd079d32c0829c102933cb27906029054fa83bb2214e40784cdcacf126d687d8b00b6f89dcc5d9fc1a98c0
|
||||
SHA512 (botocore-1.20.75-py2.py3-none-any.whl) = ce12c97598aad0f67c4d184eb4dcd28f2b782ab18d5b5abc081b6c450288fb785a5412dca93db3994756284e4372552facf92551462816f8bc9ae6ad53fd46a8
|
||||
SHA512 (awscrt-0.11.13-cp39-cp39-manylinux2014_x86_64.whl) = f071293fd9710e8661f2a3a3ac4ad63748ab922fa8f9914be3b67844570c0b6f58696dd3335958369a828c35467312f1e77970039917923057624e5821cd68fa
|
||||
SHA512 (colorama-0.4.3-py2.py3-none-any.whl) = 7cb2e248fbda31049e23431a921c71d3ecca650011ba25290ce0bfabb616faa0f0185e49deda10a9a358d3b9355392864b51ef764a4020c33d0980af97a33024
|
||||
SHA512 (cryptography-3.3.2-cp36-abi3-manylinux2010_x86_64.whl) = d6cb4ee14cdfbf17226c5caec3ee182c1e812b6630dcab07dc5869d29a828f0fded2c2e2d85be2c5952dc2b1c0a0cedcd01d520f3e1c4aa385badb07a17d62c4
|
||||
SHA512 (distro-1.5.0-py2.py3-none-any.whl) = 2a416b7e9455484bb99c94c5513a078e112010497fda68a21e7a0eb91a4d72f924f58741f1ffd33176003c1f85b1b4dcd15c416b9db1d0e24242fba876d618c6
|
||||
SHA512 (docutils-0.15.2-py3-none-any.whl) = d9680d716663c8a64e7d8f7b4709974f780600d025d76d9b74363ed42d4935346f642a820a5c3ee9507b047956bc1304816835d750b65ca1dde8f6e3180e1f5b
|
||||
SHA512 (pyasn1-0.4.8-py2.py3-none-any.whl) = ab0ccbe261323925ca46a4f4e0e674f730f8b93f6db87b6bf94e26f2e190c3e9afd2ea6ede0d99b100eda282e54c03d87c3357bf3bdfa399469d56a92e2aabbb
|
||||
SHA512 (python_dateutil-2.8.1-py2.py3-none-any.whl) = ff083825ef3c8a3c6887ceae79a4249b938f529b72d0b931b1e30c81856ec7c8ee0adf0e29e2a41d3c76ab4e1faabc1c4161fe977d14589d346a658e343aa122
|
||||
SHA512 (PyYAML-5.4.1-cp39-cp39-manylinux1_x86_64.whl) = cc897688dcc7886ab6bc581ded3b33dc73c9c53ed5299d16137529d5a2eae0d46f5b3c832eb2b0c987701fc0be13df9808dddc2b43926553530d2c1ff9aeac47
|
||||
SHA512 (rsa-4.7.2-py3-none-any.whl) = 39d2295a067501d94808f109c846e5c4719b2f3e1129494ade51291627fb5d1728d7bafeac7db557e69b5e53a8c0a09cdda59d8b672164fbd61bf6b70da30d62
|
||||
SHA512 (s3transfer-0.4.2-py2.py3-none-any.whl) = f0616baf3dff4a829e791593ed90406828b0a429690d5939a1bf216776fd35674d314175e8261627f707545f53f36d927458767517cac1d18066f02ff7b56681
|
||||
SHA512 (prompt_toolkit-2.0.10-py3-none-any.whl) = d51471b9de11386c64c4a006d83a242765017b42efc05ff8a7737ae42c7680f56f3943252e0271e94fdc98bdf5f4b7a9783559f2172a6c20fe98c2c324e374b9
|
||||
SHA512 (ruamel.yaml-0.15.100.tar.gz) = b4112d85337aa88e8df3c9142b881a17ccc254d79b58124d360bc3f0bba2177870af252abc4821617916f566b923ad794782795dfa71e9e3ff87252b586434fe
|
||||
SHA512 (six-1.16.0-py2.py3-none-any.whl) = 656b010ed36d7486c07891c0247c7258faf0d1a68c5fb0a35db9c5b670eb712d5e470b023ffd568d7617e0ae77340820397014790d14fda4d13593fa2bd1c76f
|
||||
SHA512 (urllib3-1.26.4-py2.py3-none-any.whl) = ca602ae6dd925648c8ff87ef00bcef2d0ebebf1090b44e8dd43b75403f07db50269e5078f709cbce8e7cfaedaf1b754d02dda08b6970b6a157cbf4c31ebc16a7
|
||||
SHA512 (wcwidth-0.1.9-py2.py3-none-any.whl) = ffd01979026512e8b249245dc4ac3b24d60b25c58ae013787dea36bc955e5949171e50b6102937c0b58cbcfcf3116f55b78e6499d4680886ef404f445e2dc813
|
||||
SHA512 (boto3-1.17.102-py2.py3-none-any.whl) = 528b6d80aecca78076600f62f2cdcec3d8404b4091c556964927f9a2cd3f64d13575093cfc4ec177217e4e3e1b3e49f3a3770ac4c4197b4b6e69ccbf24990c99
|
||||
SHA512 (botocore-1.20.102-py2.py3-none-any.whl) = 067d5828bfdafe72f5f641e2141fa61e1f995e6bbde6c68060028e33bd19f835c42d70b0fd519b0e6ac516ed5ab530af3b5a50154ab77a235bdb32bc8e9b5e8d
|
||||
SHA512 (python_dateutil-2.8.1-py2.py3-none-any.whl) = ff083825ef3c8a3c6887ceae79a4249b938f529b72d0b931b1e30c81856ec7c8ee0adf0e29e2a41d3c76ab4e1faabc1c4161fe977d14589d346a658e343aa122
|
||||
SHA512 (s3transfer-0.4.2-py2.py3-none-any.whl) = f0616baf3dff4a829e791593ed90406828b0a429690d5939a1bf216776fd35674d314175e8261627f707545f53f36d927458767517cac1d18066f02ff7b56681
|
||||
SHA512 (urllib3-1.26.6-py2.py3-none-any.whl) = a51e1d445735abbd264875bc8aaa46a939645419586fab399ce0e7cabd6d166efe79943a300b326d6a1f932609b03b0356bb4687d4a8c6e143757efa87328377
|
||||
SHA512 (adal-1.2.7-py2.py3-none-any.whl) = 81e2b0b99fdb5b865ed8126a796e47f28032ed59d82da4ce1ca8743c4ea26afa58ad12bae25a22b0dc3baab80a369a08427fc688f1408e2fbc2b1a264819447b
|
||||
SHA512 (azure_common-1.1.27-py2.py3-none-any.whl) = 4871d9155c46d79b9f8851814c6a4aff4191ebf747e2157e195de9aff3a3a6cd674b18f93c497f5fd59ee3ac7b3e1d72501fc27ccac8b49b985f7ace70b92061
|
||||
SHA512 (azure_core-1.14.0-py2.py3-none-any.whl) = 742b6f9c7ccf642be15cd165e9e8408ff497255d86ac7b0028965a0744f867edc40f3e21fc6da2c87a1478b2313c95c1e757df210df50336ec710f8132b154b9
|
||||
SHA512 (azure_mgmt_compute-20.0.0-py2.py3-none-any.whl) = b61358783ecf077c3c3abb230e7f44249615ba41d3a6e65a1ce88a1860b6896e87839b7ad29490bee99edb443a5d1b0c8d64808373e18f40575247c117e6c9da
|
||||
SHA512 (azure_core-1.15.0-py2.py3-none-any.whl) = 89ea0646d3571841e841255e13f7f4b60838c96c39e8ecb1ae5336822d21307b592e1a1e5da413b2b484c51b51e5de5fb1a7031a10cec9698cc6472bcdc10406
|
||||
SHA512 (azure_mgmt_compute-21.0.0-py2.py3-none-any.whl) = e02fe9e100d898f4bbc14f59c9ccb225ca38a82ea7f864c0c662572376f32ed0524d01b4f64ac6325ce97b7218fa702f9191c6d96917771f85a23aa0c972767d
|
||||
SHA512 (azure_mgmt_core-1.2.2-py2.py3-none-any.whl) = ea0b4062314de37d048cf6d9e40757372e050291a8861719dda2f1446c2e9a932050d0c0f732a8afb182993b7f700b5d6053217801199a4257b6269f5c7e47e5
|
||||
SHA512 (azure_mgmt_network-19.0.0-py2.py3-none-any.whl) = aa18ed97f167a1abf60c8fd7ae81b6777565c13f8ace06c81cdc70bf16c9fc2efad1984b8f159877ba3118312d2b81759df3b8e42b6f874cea5214943e8b054d
|
||||
SHA512 (certifi-2020.12.5-py2.py3-none-any.whl) = a0f753977d0e9e6c7eb4670eefafaffbbf2f44f22799eaffb45ffa458003b8d27b400254935a778e1daff769009f41b8686658e876b142376db54a0a14b59010
|
||||
SHA512 (certifi-2021.5.30-py2.py3-none-any.whl) = 395c349cef4f8247af20a763a1927fe243e52d7fe846874f100b33e46119e48a3b7b681d3f3e879fe18a07ae81ba791ac7d0ed61017990d722f29d17e2573811
|
||||
SHA512 (chardet-4.0.0-py2.py3-none-any.whl) = cc8cdd5e73b4eace0131bbeaf6099e322ba5c2f827f26ad3316c674c60529d77f39f68d9fb83199ab78d16902021ab1ae58d74ab62d770cf95ceb804b9242e90
|
||||
SHA512 (idna-2.10-py2.py3-none-any.whl) = 7b7be129e1a99288aa74a15971377cb17bee1618843c03c8f782e287d0f3ecf3b8f26e3ea736444eb358f1d6079131a7eb291446f3279874eb8e00b624d9471c
|
||||
SHA512 (isodate-0.6.0-py2.py3-none-any.whl) = 6d39a350ff4af87c74ae3226e6627f9c254205bfd2a761a5bf956883667bbe6d4678e1830b629c899a6f0fe67a9603cb4890c5a1fa6c8d245fe4fdbddddde870
|
||||
SHA512 (msrest-0.6.21-py2.py3-none-any.whl) = 331070553409fb006726d90667822951188712a2671fd00b5304e12341db0a5c529660b630b5ad2584214ee48ae32a0a2ffbfe43ede3d0639ee176bac0f4c15b
|
||||
SHA512 (msrestazure-0.6.4-py2.py3-none-any.whl) = aa4329e3a6ba639d0061c1eb0712b9d474d49ca9d7c8d41f02e44089c9efa3bf37075d52942841c3431b3afead51b9bc73193b087f4fd6672131d8e3b6c9cb86
|
||||
SHA512 (oauthlib-3.1.0-py2.py3-none-any.whl) = 6506ce8024c6c7c3f009378f994c1946d937e4f3d3d3b3480207782a04326f7d19d25e3174c030fe1c36fff3c6a61d86eceafbf86d262dc2374cf89181c01ca9
|
||||
SHA512 (oauthlib-3.1.1-py2.py3-none-any.whl) = 93ec8d127b4167874d5e561566b52fa93061584ef38633f2a86b9e6009f769ce8a11d71d80f49eccdd6408fff1d12955d96c79c47e6ef809a9386968f4836832
|
||||
SHA512 (PyJWT-2.1.0-py3-none-any.whl) = d2f632379ecb3eb9c02d67f6da30d0c363f439936b5a6bc1172a0a33dc7e4784ee8b10c258d24ac40b5efbb252e7921c0842699f4b2d40eff99333557b531fcc
|
||||
SHA512 (requests-2.25.1-py2.py3-none-any.whl) = cc0afada76d46295c685ac060d15a1ccb9af671522cb7b4fa0ad11988853715d1b7c31d42fa1e72a576cbd775db174da5bc03ab25c1e31c234c37740a63a6bcf
|
||||
SHA512 (requests_oauthlib-1.3.0-py2.py3-none-any.whl) = 17d5e66d174e57ef1dae451a20bce215a3cc3d7ab1a5b922d4a66cb49b497c9a0799bd90b5a378648335daee7cf80f843f065d90410bfa791f989f76300a02d7
|
||||
SHA512 (cachetools-4.2.2-py3-none-any.whl) = 4e585eda01b37ca6a2e1e6aadc0ceb8a789811357806b3ab2a76180d89496b6608c8aaaa4a44dc11785850236493daff646b1f04759bc4dc78c7b76c977feb09
|
||||
SHA512 (chardet-3.0.4-py2.py3-none-any.whl) = bfae58c8ea19c87cc9c9bf3d0b6146bfdb3630346bd954fe8e9f7da1f09da1fc0d6943ff04802798a665ea3b610ee2d65658ce84fe5a89f9e93625ea396a17f4
|
||||
SHA512 (google_api_core-1.27.0-py2.py3-none-any.whl) = a0f69bbbc7ad64cff3e7859be19c44d615ec9662b041bfc6b2dbf84e69076eb558f6aec8df9a927880cae1153af73ffeff89bc29e20a042228e1379366a53da1
|
||||
SHA512 (google_api_core-1.30.0-py2.py3-none-any.whl) = b024d8612de3ad6f903a1c376b84f03dcddd0cf5c4078749bbd6b0d2231a3ef1e968dcb5621b6470972b116d6aaff5d05deab79ed4a2873c29eec74c37778916
|
||||
SHA512 (google_api_python_client-1.12.8-py2.py3-none-any.whl) = 59bb36abda556192f972943eb8a620779fb4315ff61b0492a6e8808b29cc433726a2550b20364cc560507061fde2971a2174dc1d3fe41f1b2d117a9f020e2ae8
|
||||
SHA512 (googleapis_common_protos-1.53.0-py2.py3-none-any.whl) = 3ac0b7f9a2097723e24c60d6af893c98759ab000bec92470fe05a2f0bf451b88bd10ff5ea2cfed5af779904169d6f3ca0117f1d15261baeaf4f4b4d4de921e02
|
||||
SHA512 (google_auth-1.30.0-py2.py3-none-any.whl) = 50630ed2baf506453d5adfd7b8b4b424419de96d9b5123d39b072bf1c5e05a2076ce1c1febabd2cdf58a34af0f07bd8f8675f9a95a83d0724626f68adfce359f
|
||||
SHA512 (google_auth-1.32.0-py2.py3-none-any.whl) = 1de07118862770cf12afc544ca07db585de5952959f8bcb63cc32ad80b31b3b55c90eb75a260e3d74cb4d9241d5648561b396837b951ea98d6c77b64aab2eded
|
||||
SHA512 (google_auth_httplib2-0.1.0-py2.py3-none-any.whl) = c4b8c2b7b83f241fd9504bafdcb886ed3ef6b35016cf7fee7f36b5871e381658ab6b18ff43407dc2b9d1e9fa60827c352dfbbde667dfe8de245c27bdfe705cc5
|
||||
SHA512 (httplib2-0.19.1-py3-none-any.whl) = 83b9b36fe27e6ac5b931f0889bd63f6f9e952cfb87baa09ccb0f8eeed9cae1932b002109832d21f54c5c0a204bd4e3d218e86a8f8104c8df9e29b76d9e0cf3d1
|
||||
SHA512 (packaging-20.9-py2.py3-none-any.whl) = 6a4f69737814acbf43a3d0644d8dbbe4446075c7dfd1ec4d36ad73af9d5f2a4a5bd5a8d8f19e31d4ef63a1617dd3e0554812803bdcaf81888925267a16969b0b
|
||||
SHA512 (protobuf-3.17.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl) = fa1006fa2dd2b579727f1b12ae4696f20452edf814ca5cb477f9a18cca7924e2cb2989f85d4382af94b1f8174e55be909fd26cfae5499f58e04de92c163cd7d0
|
||||
SHA512 (protobuf-3.17.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl) = ad5b03c9ce55dcaf4b1732c6449975574f8e666460e48af90bcb22ced57c5e709744ae915f03b51d938634be62fd0193b50eca98df556d54d941ccf82f1f9235
|
||||
SHA512 (pyasn1-0.4.8-py2.py3-none-any.whl) = ab0ccbe261323925ca46a4f4e0e674f730f8b93f6db87b6bf94e26f2e190c3e9afd2ea6ede0d99b100eda282e54c03d87c3357bf3bdfa399469d56a92e2aabbb
|
||||
SHA512 (pyasn1_modules-0.2.8-py2.py3-none-any.whl) = 8248686f74d000f29c9a5a2dfd14883d44a276286caf7c34c100ea9660e5f644765452fb62c88c534093ea330d5e3d9389fa6398477231e2d1b6331b98861a62
|
||||
SHA512 (pyparsing-2.4.7-py2.py3-none-any.whl) = acb6b4ff90254d73804621d302926deb69bc99ffde16d7aa16cba7d0af7a53c25b7197d422309d9e82a766704fd7ea4c8b078a48d2e7d8658a8b237266fe24f5
|
||||
SHA512 (pyroute2-0.6.1.tar.gz) = d48b88e62f37eee0a136038c91a5697df94eda481b2f64bb2ff086dd49d3ad0b2bd5726289946be818041595bc912a499dea32d9d1b1f6086102e3fa88b2d84d
|
||||
SHA512 (pyroute2.core-0.6.1.tar.gz) = 19af5bdbb20030c00a2cb34ccf1e53e08cea531ba95c1ac9a21a1775260e63d24c9376381804e02aea79f67ebc8a87462a176f44be248c149ef122cdc1496816
|
||||
SHA512 (pyroute2.ethtool-0.6.1.tar.gz) = 5162f23cbbd0d297edf05245636c3e625a532263319b11f756813b9bcd497696282e996f674b568081de8541d95776739119f4bda80b2030c9883ec43d74a71f
|
||||
SHA512 (pyroute2.ipdb-0.6.1.tar.gz) = 1a7d7701b591fabf028996ca0f622ec92efcd0c320de7dd71d82ee6b33f69ca3e444d4f35257b5779349c4d8178ec4deb64ec01e9543870c13cc424b8531ba55
|
||||
SHA512 (pyroute2.ipset-0.6.1.tar.gz) = 472fa6b9e265977823c5726bd14822231838c89ae488c3c49c0df223aee47d652c10375a7488640d13e3c45a19324a1b35aca7e5abf00dc4eaf048af6cc3a953
|
||||
SHA512 (pyroute2.ndb-0.6.1.tar.gz) = 9bcc73fc5636edfec8c9569c44330e89d4a7b018b736fe7c6fd4a64d5613fe6ef2e2364e652f21b586bc211e04d1d56b3e18dd21384d1ae6773df0a2138af9a5
|
||||
SHA512 (pyroute2.nftables-0.6.1.tar.gz) = 9fcbe9ecc7246a04c72445294446dc7fd9b33fad53f189fe2c52f4d1a834eb5861cbbb058e7873fe46c23654833f30fc8f0d6f3c51cbe2bd36c6c4de87bac9d5
|
||||
SHA512 (pyroute2.nslink-0.6.1.tar.gz) = 1962f01160b5bbbce01e98fbeaf06ffa58bbf64d568c0d1b407a34e3c9e1436940a60634d0a0371165cc501f91d909daadf81e3df73b5fc61c538c8761fac726
|
||||
SHA512 (pyroute2-0.6.4.tar.gz) = c0ad53eac7db76880e5c70f6cc1a919ea1859c24a66720e6ef9d52fed6cbda9c0c5d9b203487b3fb2653c612ff044e904ae1ba3e3aa2870871826b15f9fdbaba
|
||||
SHA512 (pyroute2.core-0.6.4.tar.gz) = 7b6b4abb5609771a3a114eede905b391134cad998fb15eb4c21ef912a5f255aebbf8ab71542c11dbeca94cce242ac1c432fc39a381176cc10768914a55be393a
|
||||
SHA512 (pyroute2.ethtool-0.6.4.tar.gz) = 24910af23897b3cc5d77844229e0af9c05a5f4e8ef552203082c16b439c7f9dc36080b99d5f82834d751d3b1e3b8b0b03bdf012ef3a84e8b473c398c0c1dc794
|
||||
SHA512 (pyroute2.ipdb-0.6.4.tar.gz) = 0d204f041dd0f25dcbcdef093d83d8bc7673cedd0b1cc9d7786be30080e7168f2ee45e5f041f762ec0d62ef347a4e23ef2126bbf54a15588dfac255ce621c353
|
||||
SHA512 (pyroute2.ipset-0.6.4.tar.gz) = eaefb875b33923ffec933028cb6d498c032f85e80f4e27487f4cb8b4cdeb38747f214c0bc3f122bf9ddcb142079f7768229e0358d01ae3fa428c903250712a1e
|
||||
SHA512 (pyroute2.ndb-0.6.4.tar.gz) = 0d8e6e2f58ab4adcea0143c0fb20ded6df3320b671a2714da06c2f2ec2ef58c434fe388c0dad5ab63d71e38c67db6df85f92f1177c8e400568d92ff937265252
|
||||
SHA512 (pyroute2.nftables-0.6.4.tar.gz) = 21a1bccb989f166e3465584406c056c31d53734b1c729cec40d900a42eb4ac3581b0be250c40ff7801145bce242b4972d109f200ca86d474cb55fedc9ee395cf
|
||||
SHA512 (pyroute2.nslink-0.6.4.tar.gz) = c803429c6c40361fd45bd291695becfe19cc5e94a225a55336274cd86e6184e7e95f06c3ba115f2ec98d38b8d87907e1f82dcbf099fe7dbf2e244759c527e36c
|
||||
SHA512 (pytz-2021.1-py2.py3-none-any.whl) = 7ef08f53204664d6426bcb77e6f74bad8263d0f96128254aa41a752eaa9a0d1c9dac64134f5fd40c36a7385cfb453ec95ae7f714ba88993de000c34c32835619
|
||||
SHA512 (setuptools-56.2.0-py3-none-any.whl) = 2cfb556b9281243887abcd2834263f30eccbf96631363e215e91a2630718e1878980ff1bf7ce17b8f34fef2b10270082b090b80326a179f303be81951de231cd
|
||||
SHA512 (rsa-4.7.2-py3-none-any.whl) = 39d2295a067501d94808f109c846e5c4719b2f3e1129494ade51291627fb5d1728d7bafeac7db557e69b5e53a8c0a09cdda59d8b672164fbd61bf6b70da30d62
|
||||
SHA512 (setuptools-57.0.0-py3-none-any.whl) = ada554059e107829053c86d67b270250de96d06e6650c07abfbfb544f04dcdeec19fd174f34c4b0c6b5bad64a6cd7306857d0b1753ec2af1164375be18388db5
|
||||
SHA512 (uritemplate-3.0.1-py2.py3-none-any.whl) = 0d4cfc2eb14b73f17ef9d82a08d9bc7fbc8a1efd1e51693e20c51c01812e7597ebe964904f79fd86e21d06bd690abfdf9bd2824e8f957dd8a9486e3b860d58d0
|
||||
SHA512 (debtcollector-2.2.0-py3-none-any.whl) = bc1b5a9e5c906149327ff7bfb22951d32e51731dbe3da26dac2084d36646b2ccd2524ffe25648937837aa3fe41335a896e021b95e0bd775d6132c5ec1803d525
|
||||
SHA512 (iso8601-0.1.14-py2.py3-none-any.whl) = d7c5dad686e74974a3d173ae6428a65310819d404358e77143a11fe1e93776073e3ba2019b2fe00b7fd08fa36d841d621894311dfc0125dba767e87d6cb72298
|
||||
SHA512 (keystoneauth1-4.3.1-py3-none-any.whl) = ffda2c4b9cdf2be2776f55df716bd2148ae04716e6b38edc86ce06a2ceb26519dcfafcef51b1a0f3ea48492e26456166680fafb33e62c5d1db015063556c41c2
|
||||
SHA512 (msgpack-1.0.2-cp39-cp39-manylinux1_x86_64.whl) = a847c46ab9106e922411bf166de1204cd95c2610ad60d25e038350c55a79422fa9b8bc6b19a8118884ac2f611603759baf88fd26db53d1ff6249244e1e12a011
|
||||
SHA512 (msgpack-1.0.2.tar.gz) = afe658c2cd5b443aae8fc3305eb3fd56811130062f95e283e3538cba27949d534de60171a927426fedb23b48a938de3f15d77057beda6c73e5204ef1130cd046
|
||||
SHA512 (netaddr-0.8.0-py2.py3-none-any.whl) = 19ffe6d5bf9a1c41e1ef86c0a0acbc2764c311ab63d262769eea8791d8969160c12d20adb45f6d5d2a54f5e0a2e183afe9628e852cfbc152553f467b9ddde8e4
|
||||
SHA512 (netifaces-0.10.9.tar.gz) = 8fc593de4d2cbda46a3e2430ede031360f1abfc64d47d00fbec09f3395fd83479bf29d97cb6834b1df06850c9ac2745c9344b6814f34be5975d4d5df98e05e87
|
||||
SHA512 (netifaces-0.11.0.tar.gz) = a53110efb78c89c4d72d002104866253a4c085dd27ff9f41d4cfe3811cc5619e7585ceda4e91e83cdd0645c40c745c61d205708ee9a34427b35f437a48f148e5
|
||||
SHA512 (oslo.i18n-5.0.1-py3-none-any.whl) = 6f58e88c9e3691016dec79588b4e68eb3ad651b74ff900eac26104cec4f6a87495e60ad57b6c8e9787caf1946cc9ed0d39c7e462ed5cf18639b1bd67b586a849
|
||||
SHA512 (oslo.serialization-4.1.0-py3-none-any.whl) = 0a64ee20c26b890509d5170c75c50dbb12fa64dad1a4254551d455ceb5e8d5a773b31a5693a7cc2299dab7dd5eef9b7ceaa1af054af15016a6c849388db5ae42
|
||||
SHA512 (oslo.utils-4.9.0-py3-none-any.whl) = 49af76646cf1b3150d4cbd8fbcd932b4a1f7a54237879ba0784c19727287d128d34235715b419b11145517a111f888f55316eede31311bf79e86cf315d1c39eb
|
||||
SHA512 (oslo.utils-4.9.1-py3-none-any.whl) = 71325957c5012d1f69fda14e6e812b367a6ac1d26dcd64e005c3dd6eef2fec77f0282d0f66a44f749943bffc836722b99b612091ce9b7d3c0aaecfa09f860de3
|
||||
SHA512 (os_service_types-1.7.0-py2.py3-none-any.whl) = 8bb7bbd58336587b067e84e29757e1618684f6735f6a7fa26cde94cfdeab6b7f25b49ee895ac3cb2707a9fbcff2f91277edd056e428a4cd1def6599dce9660b7
|
||||
SHA512 (pbr-5.6.0-py2.py3-none-any.whl) = a4d32f6660ac76150a5d9db51d0c1be64a9df32d7b97c106e2e4de2d1dcc0cb83be991847b491bcd5b65c5a0e41f47406fa1e8a185bd1eb4fd09fe80867b005a
|
||||
SHA512 (prettytable-2.1.0-py3-none-any.whl) = 141ac3b95a3bf038cb84bee94a9ac54ede5100884bd3afda55298f61f624cc349687e3b087a0afb6002e645416e4c21a6d0a41898167cb50314c416843ea2711
|
||||
SHA512 (python_novaclient-17.4.0-py3-none-any.whl) = a7f0d48d41ee4b9c5f314012b96c5fa05470f9b69cd3fcce243a24247b1a4c80468c633b88f755f28d11f94d26ad946512859f0ab32c773988a2a9fdf1b6a2fa
|
||||
SHA512 (python_novaclient-17.5.0-py3-none-any.whl) = d369ba62d4b98958b3dc95ed3d702c8b7d8d70172108f0f1094c8d97561c90b9d8272974be688640d343e0a320254429e1f618d3ce0aaa9b6d9009bdf237daf9
|
||||
SHA512 (stevedore-3.3.0-py3-none-any.whl) = a7512be9f0a9fa6abb4e0722b25348e0559b044c172388c1952cff9d1cc5816a580da8edbd5f74cdaf0a56fd637c2c27b5d8e3dd52465317282e06a7c9ac32b5
|
||||
SHA512 (wcwidth-0.2.5-py2.py3-none-any.whl) = f83eb241322d171ff4014612184b155c43c71e54794a2a227c4adb43c697a669944bb6bb49e59aa192492822e3e3a44a944f57d428a9e25707f7deeb4ccf5cd9
|
||||
SHA512 (wrapt-1.12.1.tar.gz) = efc38c0adc4fcaa34499a996ea4a337a000a812254ec7ddaca38f0132020dd31afa9fe6bab3e6010df312282ab0ea7bd571b54215d8d27e0b97b270c08cf5a62
|
||||
|
@ -1,24 +0,0 @@
|
||||
#!/bin/sh
|
||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
|
||||
find -maxdepth 1 -not -name "fence-agents-*.tar.gz" -and \( -name "*.whl" -or -name "*.tar.?z*" \) -delete
|
||||
sed -i -n -E '/\(fence-agents-/p' sources
|
||||
sha512sum --tag requirements-*.txt >> sources
|
||||
|
||||
for x in requirements-*.txt; do
|
||||
echo "# $x" | sed -E "s/requirements-(.*).txt/\1/" >> sources
|
||||
pip download -r $x | awk '/Saved/{gsub("./", "", $2); print $2}' | sort | xargs sha512sum --tag >> sources
|
||||
done
|
||||
|
||||
awk 'NR<8{next} /^# /{print}; /^[^#]/{gsub("[()]", "", $2); printf "Source%d: %s\n", 1000+c++, $2}' sources
|
||||
|
||||
sed -i '/^#/d' sources
|
||||
|
||||
if ! git diff --quiet sources; then
|
||||
cat << EOF
|
||||
|
||||
Upload new sources by running:
|
||||
awk '/^[^#]/{gsub("[()]", "", \$2); printf "%s ", \$2}' sources | xargs centpkg new-sources
|
||||
|
||||
EOF
|
||||
fi
|
24
update-ha-support.sh
Executable file
24
update-ha-support.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
export PYTHON_KEYRING_BACKEND="keyring.backends.null.Keyring"
|
||||
|
||||
find -maxdepth 1 -not -name "fence-agents-*.tar.gz" -and -not -name "awscli-*.tar.gz" -and -not -name "botocore-2*.zip" -and \( -name "*.whl" -or -name "*.tar.?z*" \) -delete
|
||||
sed -i -n -E '/\(fence-agents-|\(awscli-|\(botocore-2/p' sources
|
||||
sha512sum --tag requirements-*.txt >> sources
|
||||
|
||||
for x in requirements-*.txt; do
|
||||
echo "# $x" | sed -E "s/requirements-(.*).txt/\1/" >> sources
|
||||
pip download --no-binary msgpack,netifaces -r $x | awk '/Saved/{gsub("./", "", $2); print $2}' | sort | xargs sha512sum --tag >> sources
|
||||
done
|
||||
|
||||
awk 'NR<11{next} /^# /{print}; /^[^#]/{gsub("[()]", "", $2); printf "Source%d: %s\n", 1000+c++, $2}' sources
|
||||
|
||||
sed -i '/^#/d' sources
|
||||
|
||||
if ! git diff --quiet sources; then
|
||||
cat << EOF
|
||||
|
||||
Upload new sources by running:
|
||||
awk '/^[^#]/{gsub("[()]", "", \$2); printf "%s ", \$2}' sources | xargs centpkg new-sources
|
||||
|
||||
EOF
|
||||
fi
|
Loading…
Reference in New Issue
Block a user