Compare commits

..

32 commits

Author SHA1 Message Date
Fedora Release Engineering
5dbda23348 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-17 08:33:04 +00:00
Yaakov Selkowitz
600b394d63 Rebuilt for openssl 4.0 2026-06-12 20:03:14 -04:00
Python Maint
efe9d87fc2 Rebuilt for Python 3.15 2026-06-03 21:13:59 +02:00
Fedora Release Engineering
cfef6dda8f Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-17 19:58:57 +00:00
Python Maint
043bd2039f Rebuilt for Python 3.14.0rc3 bytecode 2025-09-19 15:02:28 +02:00
Python Maint
08a13549fe Rebuilt for Python 3.14.0rc2 bytecode 2025-08-15 15:22:20 +02:00
Fedora Release Engineering
687e2c6772 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-25 20:09:24 +00:00
Yaakov Selkowitz
1ad4d77a95 Drop unused six dependency
six is no longer used in code as of 1.31.18, and was dropped from
the spec file in 1.31.27:

https://github.com/candlepin/virt-who/pull/349
https://github.com/candlepin/virt-who/pull/396
2025-06-15 18:28:21 -04:00
Python Maint
c42b9d5737 Rebuilt for Python 3.14 2025-06-02 23:25:02 +02:00
Miro Hrončok
74afc96f0b Drop unused runtime requirement on python3-setuptools
$ rg 'setuptools|pkg_resources|distutils'
    jenkins/pytest.sh
    12:pip install -U setuptools

    tests/suds/testutils/__init__.py
    114:    # Trick setuptools into not recognizing we are referencing __file__ here.
    115:    # If setuptools detects __file__ usage in a module, any package containing

    docker/centos6/Dockerfile
    6:    pip install -U pytest-timeout mock unittest2 setuptools && \

    virt-who.spec
    36:BuildRequires:  %{python_ver}-setuptools
    39:Requires:      %{python_ver}-setuptools
    323:- 1896652: platform-python-setuptools is not in RHEL9 (wpoteat@redhat.com)
    482:- 1650133: setuptools naming change (wpoteat@redhat.com)

    setup.py
    7:from setuptools import setup, find_packages
    8:from distutils.command.install import install
    9:from distutils.command.build import build as _build
    10:from distutils.command.build_py import build_py as _build_py

setup.py is only used on build time.
2025-04-01 17:17:07 +02:00
Fedora Release Engineering
0adcefbbfb Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-19 14:28:57 +00:00
Fedora Release Engineering
5ea29b1ca8 Unretirement request: pagure.io/releng/issue/12526
Revert "Orphaned for 6+ weeks"

This reverts commit 94581da7b4.

Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2025-01-14 10:35:13 +00:00
Maxwell G
94581da7b4 Orphaned for 6+ weeks 2025-01-07 12:20:54 -06:00
Fedora Release Engineering
0cd05d80c5 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-20 08:53:38 +00:00
Python Maint
6306f27790 Rebuilt for Python 3.13 2024-06-07 10:11:32 +02:00
Miroslav Suchý
f4c6ae1146 Migrate to SPDX license
This is a part of  https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_3
2024-02-13 07:42:20 +00:00
Fedora Release Engineering
d9202c84d3 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-27 07:58:52 +00:00
Pino Toscano
17aea8f335 Import virt-who 1.31.26 2023-08-04 08:47:04 +02:00
Fedora Release Engineering
6356aefca3 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-22 17:45:29 +00:00
Python Maint
dc22a70768 Rebuilt for Python 3.12 2023-06-13 22:02:52 +02:00
Fedora Release Engineering
01a9dffaba Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-21 06:24:04 +00:00
Fedora Release Engineering
408f1db97a Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 12:00:13 +00:00
Python Maint
0fad99f477 Rebuilt for Python 3.11 2022-06-13 16:54:42 +02:00
William Poteat
d57149121c Update virt-who to 1.31.21-1
Resolves: #1987247 - The connection value shows null for kubevirt mode in virt-who status
Resolves: #2000415 - Nutanix config needs to handle bad server value (wpoteat@redhat.com)
Resolves: #1996942 - Use cluster name instead of UUID for fabric consistency
Resolves: #1990758 - Virt-who always prints YAMLLoadWarning for kubevirt mode
Resolves: #1990563 - Move progress bar to stderr to keep stdout clean
2022-02-16 10:35:31 -05:00
William Poteat
66350d4d34 Update virt-who to 1.31.19-1
Resolves: #1990562 - Remove the redundant 'update_interval' option from ahv config
Resolves: #1990561 - rename configuration entry to show ahv specificity
2022-01-31 10:02:05 -05:00
Fedora Release Engineering
7c51e7edb6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-22 04:04:55 +00:00
William Poteat
07210e99e2 Update virt-who to 1.31.18-1
Resolves: #2000019 - Convert non-latin1 username/password to bytes (jhnidek@redhat.com)
Resolves: #2018052 - Fix virt-who -s, when Hyper-V with new API is used
Resolves: #2000922 - Add the suds code to virt-who in place of python3-suds package
Resolves: #1981249 - Stop using NTLM which requires MD4 (OpenSSL 3.0)
Resolves: #1989877 - Status command does not reach actual credentials checking
Resolves: #1990550 - Add the description for nutanix mode in man virt-who and man virt-
Resolves: #1990337 - The guest state in mapping should be uniform with other hypervisors
Resolves: #1989646 -  Get UnboundLocalError when configured hypervisor_id=hwuuid
Resolves: #1989645 - Add dmi.system.uuid to ahv facts (wpoteat@redhat.com)
Resolves: #1974624 - proxy error with https (wpoteat@redhat.com)
Resolves: #1986973 - Take out AHV removal patch mechanism (wpoteat@redhat.com)
Resolves: #1965320 - Clear previous report hash when hypervisor count is zero
Resolves: #1951347 - Update patch for xen removal (wpoteat@redhat.com)
Resolves: #1951347 - Remove Xen from hypervisor types (wpoteat@redhat.com)
Resolves: #1920322 - Uncomment section header on migrate (wpoteat@redhat.com)
2021-12-16 14:22:17 -05:00
Fedora Release Engineering
62d99c0201 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-23 20:34:09 +00:00
Python Maint
e663c6338c Rebuilt for Python 3.10 2021-06-04 21:19:30 +02:00
d6e1ec66a5 Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:12:03 +01:00
William Poteat
15e2e0da60 Update virt-who to 1.31.9-1 2021-02-18 16:12:09 -05:00
William Poteat
803219ec14 Update virt-who to 1.31.9-1
Resolves: #1924572 - Add insecure option to config template (wpoteat@redhat.com)
2021-02-18 16:09:31 -05:00
4 changed files with 175 additions and 1805 deletions

21
.gitignore vendored
View file

@ -1,20 +1 @@
/virt-who-0.8.tar.gz
/virt-who-0.17.tar.gz
/virt-who-0.21.2.tar.gz
/virt-who-0.22.1.tar.gz
/virt-who-0.22.2.tar.gz
/virt-who-0.24.0.tar.gz
/virt-who-0.24.1.tar.gz
/virt-who-0.24.2.tar.gz
/virt-who-0.29.0.tar.gz
/virt-who-0.31.0.tar.gz
/build-rpm-no-ahv.patch
/virt-who-0.31.1.tar.gz
/virt-who-0.31.2.tar.gz
/virt-who-1.31.3.tar.gz
/virt-who-1.31.4.tar.gz
/virt-who-1.31.5.tar.gz
/virt-who-1.31.6.tar.gz
/virt-who-1.31.7.tar.gz
/virt-who-1.31.8.tar.gz
/virt-who-1.31.9.tar.gz
/virt-who-*.tar.gz

File diff suppressed because it is too large Load diff

View file

@ -1,2 +1 @@
SHA512 (virt-who-1.31.9.tar.gz) = 967c908c5f363ba45b68150f989cb9d09a919560859aea5ffe46a12aed667553aa18ddc017b13c35c3fd5f1fb6997b354699400e1013c773a8fc0e1fef70ce7d
SHA512 (build-rpm-no-ahv.patch) = f7bdfe5522619d1c1e299c842dd2a686d12ebe9783398e45c1b94d4040e004ddf549e65c8b91516a29d326490ec94bb9d3c83b61a71df1c0ec5eadd5877d1eca
SHA512 (virt-who-1.31.26.tar.gz) = 3c412adc3063c4208c3975549166de5087dd07a78615bf9ddfc4a7e64ced7e3c397a5d0bc014a3573d2c3a37b0186f0eabe8d7a54f4882638c9672d9462afff7

View file

@ -20,23 +20,22 @@
Name: virt-who
Version: 1.31.9
Release: %{release_number}%{?dist}
Version: 1.31.26
Release: %{release_number}%{?dist}.14
Summary: Agent for reporting virtual guest IDs to subscription-manager
Group: System Environment/Base
License: GPLv2+
# GPL for virt-who proper and LGPL for incorporated suds
License: GPL-2.0-or-later AND LGPL-3.0-or-later
URL: https://github.com/candlepin/virt-who
Source0: %{name}-%{version}.tar.gz
Patch1: build-rpm-no-ahv.patch
BuildArch: noarch
BuildRequires: %{python_ver}-devel
BuildRequires: %{python_ver}-setuptools
BuildRequires: %{python_ver}-pyyaml
Requires: %{python_ver}-setuptools
# libvirt python required for libvirt support
%if (0%{?rhel} && 0%{?rhel} > 7 || 0%{?fedora})
Requires: %{python_ver}-libvirt
@ -50,8 +49,6 @@ Requires: python3-subscription-manager-rhsm > 1.25.6
%else
Requires: subscription-manager-rhsm > 1.25.6
%endif
# python-suds is required for vSphere support
Requires: %{python_ver}-suds
# m2crypto OR python3-cryptography is required for Hyper-V support
%if %{use_python3}
Requires: python3-cryptography
@ -59,7 +56,6 @@ Requires: python3-cryptography
Requires: m2crypto
%endif
Requires: %{python_ver}-requests
Requires: %{python_ver}-six
# python-argparse is required for Python 2.6 on EL6
%{?el6:Requires: python-argparse}
Requires: openssl
@ -81,6 +77,7 @@ Requires(preun): chkconfig
# This is for /sbin/service
Requires(preun): initscripts
%endif
Provides: bundled(python-suds) = 0.8.4
%description
Agent that collects information about virtual guests present in the system and
@ -88,9 +85,6 @@ report them to the subscription manager.
%prep
%setup -q
%if 0%{?rhel}
%patch1 -p1
%endif
%build
%{python_exec} setup.py build --rpm-version=%{version}-%{release_number}
@ -169,6 +163,174 @@ fi
%changelog
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.26-1.14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.31.26-1.13
- Rebuilt for openssl 4.0
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 1.31.26-1.12
- Rebuilt for Python 3.15
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.26-1.11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.31.26-1.10
- Rebuilt for Python 3.14.0rc3 bytecode
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.31.26-1.9
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.26-1.8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Sun Jun 15 2025 Yaakov Selkowitz <yselkowi@redhat.com> - 1.31.26-1.7
- Drop unused six dependency
* Mon Jun 02 2025 Python Maint <python-maint@redhat.com> - 1.31.26-1.6
- Rebuilt for Python 3.14
* Tue Apr 01 2025 Miro Hrončok <mhroncok@redhat.com> - 1.31.26-1.5
- Drop unused runtime requirement on python3-setuptools
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.26-1.4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.26-1.3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.31.26-1.2
- Rebuilt for Python 3.13
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.31.26-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Feb 01 2023 Jiri Hnidek <jhnidek@redhat.com> 1.31.26-1
- Fix stylish issue in migrateconfiguration.py (jhnidek@redhat.com)
- Added next rhel-9.x subversion to releasers.conf file. (jhnidek@redhat.com)
- 2158710: Migrated virt-who.conf, when necessary (jhnidek@redhat.com)
- Added documentation for the 'rhsm_insecure' option, for insecure connections
(fernandez.santos.d@gmail.com)
- Added configuration for rhel-9.x into releasers.conf (jhnidek@redhat.com)
* Thu Oct 06 2022 William Poteat <wpoteat@redhat.com> 1.31.25-1
- 2099925: Drop support for RHEVM on RHEL 9 (jhnidek@redhat.com)
- Update virt-who-config.5 (s10w.1ife.31@gmail.com)
- Big optimization and refactoring of Nutanix code (jhnidek@redhat.com)
* Thu Sep 01 2022 William Poteat <wpoteat@redhat.com> 1.31.24-1
- 2118253: Nutanix: Gather information about VMs correctly (jhnidek@redhat.com)
* Thu Apr 21 2022 William Poteat <wpoteat@redhat.com> 1.31.23-1
- 2054504: Use usedforsecurity=False for md5() calls to make suds work on FIPS
enabled systems (oalbrigt@redhat.com)
* Wed Mar 16 2022 William Poteat <wpoteat@redhat.com> 1.31.22-1
- 2060949: Indicate that virt-who provides python-suds in the spec file
(wpoteat@redhat.com)
- Run complex tests as forked for consistent results (wpoteat@redhat.com)
- Update releasers for current needs (wpoteat@redhat.com)
* Tue Feb 08 2022 William Poteat <wpoteat@redhat.com> 1.31.21-1
- 1987247: The connection value shows null for kubevirt mode in virt-who status
json (wpoteat@redhat.com)
- Addition of LGPLv3 license file from suds (wpoteat@redhat.com)
- 2000415: Nutanix config needs to handle bad server value (wpoteat@redhat.com)
- 1996942: Use cluster name instead of UUID for fabric consistency
(wpoteat@redhat.com)
- 1990758: Virt-who always prints YAMLLoadWarning for kubevirt mode
(wpoteat@redhat.com)
- 1990563: Move progress bar to stderr to keep stdout clean
(wpoteat@redhat.com)
* Tue Feb 08 2022 William Poteat <wpoteat@redhat.com>
- 1987247: The connection value shows null for kubevirt mode in virt-who status
json (wpoteat@redhat.com)
- Addition of LGPLv3 license file from suds (wpoteat@redhat.com)
- 2000415: Nutanix config needs to handle bad server value (wpoteat@redhat.com)
- 1996942: Use cluster name instead of UUID for fabric consistency
(wpoteat@redhat.com)
- 1990758: Virt-who always prints YAMLLoadWarning for kubevirt mode
(wpoteat@redhat.com)
- 1990563: Move progress bar to stderr to keep stdout clean
(wpoteat@redhat.com)
* Mon Jan 10 2022 William Poteat <wpoteat@redhat.com> 1.31.19-1
- 1990562: Remove the redundant 'update_interval' option from ahv config
(wpoteat@redhat.com)
- 1990561: rename configuration entry to show ahv specificity
(wpoteat@redhat.com)
* Thu Dec 16 2021 William Poteat <wpoteat@redhat.com> 1.31.18-1
- 2000019: Convert non-latin1 username/password to bytes (jhnidek@redhat.com)
- 2018052: Fix virt-who -s, when Hyper-V with new API is used
(jhnidek@redhat.com)
- ENT-4511: Remove six package from requirements (mhorky@redhat.com)
- ENT-4511: Drop Python 2 only tests (mhorky@redhat.com)
- ENT-4511: Drop six usage in suds tests (mhorky@redhat.com)
- ENT-4511: Drop six usage in tests (mhorky@redhat.com)
- ENT-4511: Drop six usage in virt-who code (mhorky@redhat.com)
- ENT-4511: Drop OrderedDict implementation (mhorky@redhat.com)
- Update for deprecation of MutableMapping (wpoteat@redhat.com)
- Only query the VM related taks in AHV hypervisors. (amir.eibagi@nutanix.com)
- Remove unused NTLM code as only basic auth is used (wpoteat@redhat.com)
* Tue Sep 14 2021 William Poteat <wpoteat@redhat.com> 1.31.17-1
- Bypass stylish check on suds code (wpoteat@redhat.com)
- 2000922: Add the suds code to virt-who in place of python3-suds package
(wpoteat@redhat.com)
- ENT-4004: Fix flake8 issues for test files (mhorky@redhat.com)
- ENT-4004: Use four spaces for indentation (mhorky@redhat.com)
- ENT-4004: Fix flake8 issues (mhorky@redhat.com)
- ENT-4004: Add stylish tests (mhorky@redhat.com)
- Cannot use ESX where python3-suds is not available (wpoteat@redhat.com)
- 1981249: Stop using NTLM which requires MD4 (OpenSSL 3.0)
(csnyder@redhat.com)
- 1989877: Status command does not reach actual credentials checking
(wpoteat@redhat.com)
- Make changes to follow Conscious language initiative (mhorky@redhat.com)
* Fri Aug 06 2021 William Poteat <wpoteat@redhat.com> 1.31.16-1
- 1990550: Add the description for nutanix mode in man virt-who and man virt-
who-config (wpoteat@redhat.com)
- 1990337: The guest state in mapping should be uniform with other hypervisors
1990338: The guest shows wrong active value "0" in mapping when it's running
(wpoteat@redhat.com)
- 1989646: Get UnboundLocalError when configured hypervisor_id=hwuuid
(wpoteat@redhat.com)
- 1989645: Add dmi.system.uuid to ahv facts (wpoteat@redhat.com)
- 1974624: proxy error with https (wpoteat@redhat.com)
* Tue Aug 03 2021 William Poteat <wpoteat@redhat.com> 1.31.15-1
- 1986973: Take out AHV removal patch mechanism (wpoteat@redhat.com)
- Update AHV patch (wpoteat@redhat.com)
* Fri Jul 16 2021 William Poteat <wpoteat@redhat.com> 1.31.14-1
- Merge run data into report (wpoteat@redhat.com)
- Update the man page for the status mode (wpoteat@redhat.com)
- Status execution (wpoteat@redhat.com)
- Record last dates of succcess for sources and destinations
(wpoteat@redhat.com)
- Update certs for complex tests (wpoteat@redhat.com)
* Thu Jun 03 2021 William Poteat <wpoteat@redhat.com> 1.31.13-1
- 1965320: Clear previous report hash when hypervisor count is zero
(wpoteat@redhat.com)
- Added support for Packit service (jhnidek@redhat.com)
- Convert CI from Travis to Jenkins (wpoteat@redhat.com)
* Fri May 21 2021 William Poteat <wpoteat@redhat.com> 1.31.12-1
- 1951347: Update patch for xen removal (wpoteat@redhat.com)
* Thu May 20 2021 William Poteat <wpoteat@redhat.com> 1.31.11-1
- 1951347: Remove Xen from hypervisor types (wpoteat@redhat.com)
- Releaser for Centos (wpoteat@redhat.com)
* Mon May 17 2021 William Poteat <wpoteat@redhat.com> 1.31.10-1
- 1920322: Uncomment section header on migrate (wpoteat@redhat.com)
- Update CI link to use branch name main (wpoteat@redhat.com)
- Fedora master branch name changed to main (wpoteat@redhat.com)
* Thu Feb 18 2021 William Poteat <wpoteat@redhat.com> 1.31.9-1
- Man page update to describe the migration script (wpoteat@redhat.com)
- 1924572: Add insecure option to config template (wpoteat@redhat.com)