Radek Novacek 48f5308
%define use_systemd (0%{?fedora} && 0%{?fedora} >= 18) || (0%{?rhel} && 0%{?rhel} >= 7)
0781a7f
%if !%{use_systemd}
0781a7f
%global __python2 %{__python}
0781a7f
%global python2_sitelib %{python_sitelib}
0781a7f
%endif
0781a7f
331f034
%define use_python3 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 7)
331f034
%if %{use_python3}
331f034
%global python_ver python3
331f034
%global python_exec %{__python3}
331f034
%global python_sitelib %{python3_sitelib}
331f034
%else
331f034
%global python_ver python
331f034
%global python_exec %{__python2}
331f034
%global python_sitelib %{python2_sitelib}
331f034
%endif
0781a7f
%global release_number 1
0781a7f
0781a7f
%global git_tag %{name}-%{version}-%{release_number}
0781a7f
Radek Novacek 48f5308
Radek Novacek a483cbf
Name:           virt-who
5840466
Version:        0.24.1
331f034
Release:        %{release_number}%{?dist}
331f034
Radek Novacek a483cbf
Summary:        Agent for reporting virtual guest IDs to subscription-manager
Radek Novacek a483cbf
0781a7f
Group:          System Environment/Base
Radek Novacek a483cbf
License:        GPLv2+
f1aba92
URL:            https://github.com/candlepin/virt-who
f1aba92
Source0:        %{name}-%{version}.tar.gz
Radek Novacek a483cbf
Radek Novacek a483cbf
BuildArch:      noarch
826cbb3
BuildRequires:  %{python_ver}-devel
826cbb3
BuildRequires:  %{python_ver}-setuptools
826cbb3
Requires:       %{python_ver}-setuptools
331f034
# libvirt python required for libvirt support
331f034
%if (0%{?rhel} && 0%{?rhel} > 7 || 0%{?fedora})
331f034
Requires:       %{python_ver}-libvirt
331f034
%else
331f034
Requires:       libvirt-python
331f034
%endif
826cbb3
# python-rhsm 1.20 has the M2Crypto wrappers needed to replace M2Crypto
826cbb3
# with the python standard libraries where plausible
331f034
%if %{use_python3}
826cbb3
Requires:       python3-subscription-manager-rhsm
826cbb3
%else
826cbb3
Requires:       subscription-manager-rhsm
826cbb3
%endif
Radek Novacek 375cedb
# python-suds is required for vSphere support
826cbb3
Requires:       %{python_ver}-suds
826cbb3
# m2crypto OR python3-cryptography is required for Hyper-V support
331f034
%if %{use_python3}
331f034
Requires:       python3-cryptography
331f034
%else
331f034
Requires:       m2crypto
331f034
%endif
826cbb3
Requires:       %{python_ver}-requests
826cbb3
Requires:       %{python_ver}-six
0781a7f
# python-argparse is required for Python 2.6 on EL6
0781a7f
%{?el6:Requires: python-argparse}
826cbb3
Requires:       openssl
Radek Novacek 48f5308
Radek Novacek 48f5308
%if %{use_systemd}
331f034
%if %{use_python3}
331f034
Requires: python3-systemd
331f034
%else
331f034
Requires: systemd-python
331f034
%endif
Radek Novacek 48f5308
BuildRequires: systemd
Radek Novacek 375cedb
Requires(post): systemd
Radek Novacek 375cedb
Requires(preun): systemd
Radek Novacek 375cedb
Requires(postun): systemd
Radek Novacek 48f5308
%else
Radek Novacek 48f5308
Requires(post): chkconfig
Radek Novacek 48f5308
Requires(preun): chkconfig
Radek Novacek 48f5308
# This is for /sbin/service
Radek Novacek 48f5308
Requires(preun): initscripts
Radek Novacek 48f5308
%endif
Radek Novacek a483cbf
Radek Novacek a483cbf
%description
Radek Novacek a483cbf
Agent that collects information about virtual guests present in the system and
Radek Novacek a483cbf
report them to the subscription manager.
Radek Novacek a483cbf
Radek Novacek a483cbf
%prep
Radek Novacek a483cbf
%setup -q
Radek Novacek a483cbf
Radek Novacek a483cbf
Radek Novacek 48f5308
%build
826cbb3
%{python_exec} setup.py build
Radek Novacek a483cbf
Radek Novacek a483cbf
%install
Radek Novacek 48f5308
rm -rf $RPM_BUILD_ROOT
826cbb3
%{python_exec} setup.py install --root %{buildroot}
826cbb3
%{python_exec} setup.py install_config --root %{buildroot}
826cbb3
%{python_exec} setup.py install_man_pages --root %{buildroot}
Radek Novacek 48f5308
%if %{use_systemd}
826cbb3
%{python_exec} setup.py install_systemd --root %{buildroot}
Radek Novacek 48f5308
%else
826cbb3
%{python_exec} setup.py install_upstart --root %{buildroot}
Radek Novacek 48f5308
%endif
Radek Novacek 48f5308
Radek Novacek 48f5308
mkdir -p %{buildroot}/%{_sharedstatedir}/%{name}/
Radek Novacek 48f5308
touch %{buildroot}/%{_sharedstatedir}/%{name}/key
Radek Novacek a483cbf
0781a7f
mkdir -p %{buildroot}/%{_datadir}/zsh/site-functions
0781a7f
install -m 644 virt-who-zsh %{buildroot}/%{_datadir}/zsh/site-functions/_virt-who
0781a7f
Radek Novacek a483cbf
# Don't run test suite in check section, because it need the system to be
Radek Novacek a483cbf
# registered to subscription-manager server
Radek Novacek a483cbf
Radek Novacek 375cedb
%post
Radek Novacek 48f5308
%if %{use_systemd}
Radek Novacek 375cedb
%systemd_post virt-who.service
Radek Novacek 48f5308
%else
Radek Novacek 48f5308
# This adds the proper /etc/rc*.d links for the script
Radek Novacek 48f5308
/sbin/chkconfig --add virt-who
Radek Novacek 48f5308
%endif
Radek Novacek 48f5308
Radek Novacek 375cedb
Radek Novacek 375cedb
%preun
Radek Novacek 48f5308
%if %{use_systemd}
Radek Novacek 375cedb
%systemd_preun virt-who.service
Radek Novacek 48f5308
%else
Radek Novacek 48f5308
if [ $1 -eq 0 ] ; then
Radek Novacek 48f5308
    /sbin/service virt-who stop >/dev/null 2>&1
Radek Novacek 48f5308
    /sbin/chkconfig --del virt-who
Radek Novacek 48f5308
fi
Radek Novacek 48f5308
%endif
Radek Novacek 375cedb
Radek Novacek 375cedb
%postun
Radek Novacek 48f5308
%if %{use_systemd}
Radek Novacek 48f5308
%systemd_postun_with_restart virt-who.service
Radek Novacek 48f5308
%else
Radek Novacek 48f5308
if [ "$1" -ge "1" ] ; then
Radek Novacek 48f5308
    /sbin/service virt-who condrestart >/dev/null 2>&1 || :
Radek Novacek 48f5308
fi
Radek Novacek 48f5308
%endif
Radek Novacek 48f5308
Radek Novacek a483cbf
Radek Novacek a483cbf
%files
Radek Novacek 48f5308
%doc README.md LICENSE README.hyperv
Radek Novacek a483cbf
%{_bindir}/virt-who
Radek Novacek 48f5308
%{_bindir}/virt-who-password
331f034
%{python_sitelib}/*
Radek Novacek 48f5308
%if %{use_systemd}
Radek Novacek 375cedb
%{_unitdir}/virt-who.service
Radek Novacek 48f5308
%else
Radek Novacek 48f5308
%{_sysconfdir}/rc.d/init.d/virt-who
Radek Novacek 48f5308
%endif
0781a7f
%attr(600, root, root) %config(noreplace) %{_sysconfdir}/sysconfig/virt-who
0781a7f
%attr(700, root, root) %dir %{_sysconfdir}/virt-who.d
Radek Novacek 375cedb
%{_mandir}/man8/virt-who.8.gz
Radek Novacek 48f5308
%{_mandir}/man8/virt-who-password.8.gz
Radek Novacek 48f5308
%{_mandir}/man5/virt-who-config.5.gz
Radek Novacek 48f5308
%attr(700, root, root) %{_sharedstatedir}/%{name}
Radek Novacek 48f5308
%ghost %{_sharedstatedir}/%{name}/key
0781a7f
%{_datadir}/zsh/site-functions/_virt-who
Radek Novacek 48f5308
%{_sysconfdir}/virt-who.d/template.conf
0781a7f
%attr(600, root, root) %config(noreplace) %{_sysconfdir}/virt-who.conf
fb0a634
2d4137a
0781a7f
%changelog
5840466
* Mon Oct 29 2018 William Poteat <wpoteat@redhat.com> 0.24.1-1
5840466
- Merge in changes from Fedora packaging (wpoteat@redhat.com)
5840466
- ENT-826 Added correlation id to virt-who reports (nmoumoul@redhat.com)
5840466
- Releaser addition for rhel-7.7 (wpoteat@redhat.com)
5840466
- Install subscription-manager, not python-rhsm which is deprecated: - Removed
5840466
  python-rhsm from the requirements, and added subscription-manager as
5840466
  dependency. - Added some dependencies that travis requires to install
5840466
  subscription-manager. (nmoumoul@redhat.com)
5840466
331f034
* Wed Sep 19 2018 William Poteat <wpoteat@redhat.com> 0.24.0-1
331f034
- Automatic commit of package [virt-who] release [0.22.2-1].
331f034
  (wpoteat@redhat.com)
331f034
- kubevirt: warn user that dependencies are missing
331f034
  (piotr.kliczewski@gmail.com)
331f034
- 1369634: Dont log proxy html errors for hyperv: - When hyperv gets an HTML
331f034
  page as error response from a proxy, don't log the whole html, but try to
331f034
  scrape the title off of it. - If scraping the title doesn't work, only log
331f034
  the http error code. - Changed all variables named 'xml' to 'xml_doc' in
331f034
  hyperv.py to avoid conflict with the new python keyword.
331f034
  (nmoumoul@redhat.com)
331f034
- 1599725: Handle job status report errors (nmoumoul@redhat.com)
331f034
- 1557296: Warn of commented out lines prefixed with space/tab (ENT-606) - When
331f034
  reading config files in python2, warn the user if a line continuation (starts
331f034
  with space/tab) is followed by '#' (nmoumoul@redhat.com)
331f034
- kubevirt: Ignore vmis in Scheduling (piotr.kliczewski@gmail.com)
331f034
- kubevirt: Update config (piotr.kliczewski@gmail.com)
331f034
- Print/log debug information about filtered hosts (jhnidek@redhat.com)
331f034
- 1577954: Added config option filter_type; ENT-580 (jhnidek@redhat.com)
331f034
- Changed info about how filter_host_parents/exclude_host_parents filters work
331f034
  (ktordeur@redhat.com)
331f034
- 1387800: set name of ESX cluster properly; ENT-793 (jhnidek@redhat.com)
331f034
- Add release entry for RHEL 8 (wpoteat@redhat.com)
331f034
- template update (wpinheir@iroman.home)
331f034
- template update (wpinheir@iroman.home)
331f034
- 1596041: Make python libvirt required (wpoteat@redhat.com)
331f034
- updating RHV/RHEV/XenServer information (wpinheir@iroman.home)
331f034
- 1581021: Decode error from unicode passwords (wpoteat@redhat.com)
331f034
- 1510920: Change the choreography for the job status check
331f034
  (wpoteat@redhat.com)
331f034
- ENT-493: Add option to command line to return version
331f034
  (adarshvritant@gmail.com)
331f034
- Update executor.py (all_bright@live.com)
331f034
- kubevirt: rename virtual machine instance (piotr.kliczewski@gmail.com)
331f034
- Update for build process (wpoteat@redhat.com)
331f034
- Fixed hyperv wmi query. Invalid response (500)
331f034
  (njmiller@lakemichigancollege.edu)
331f034
- 1432140: Log when a duplicate hypervisor id is detected [ENT-568]
331f034
  (wpoteat@redhat.com)
331f034
- 1368341: Warn that --sam/--satellite6 are unused & deprecated * Now logging a
331f034
  warning when --sam/--satellite6 are used. * man page and --help output
331f034
  updated to explaing that these options are unused and virt-who will report to
331f034
  either sam/satellite/stage candlepin regardless of their being there.
331f034
  (nmoumoul@redhat.com)
331f034
- 1455062: Partial fix of high CPU usage, when many conf files used
331f034
  (jhnidek@redhat.com)
331f034
- Correction to the spec file condition for python 3 (wpoteat@redhat.com)
331f034
- ENT-554 Host reports for libvirt and rhevm include the system hardware uuid
331f034
  (wpoteat@redhat.com)
331f034
- Add releaser for RHEL 7.6 (wpoteat@redhat.com)
331f034
- Remove f26 releaser (f26 is EOL) (csnyder@redhat.com)
ecd9995
331f034
* Wed Sep 19 2018 William Poteat <wpoteat@redhat.com>
331f034
- Automatic commit of package [virt-who] release [0.22.2-1].
331f034
  (wpoteat@redhat.com)
331f034
- kubevirt: warn user that dependencies are missing
331f034
  (piotr.kliczewski@gmail.com)
331f034
- 1369634: Dont log proxy html errors for hyperv: - When hyperv gets an HTML
331f034
  page as error response from a proxy, don't log the whole html, but try to
331f034
  scrape the title off of it. - If scraping the title doesn't work, only log
331f034
  the http error code. - Changed all variables named 'xml' to 'xml_doc' in
331f034
  hyperv.py to avoid conflict with the new python keyword.
331f034
  (nmoumoul@redhat.com)
331f034
- 1599725: Handle job status report errors (nmoumoul@redhat.com)
331f034
- 1557296: Warn of commented out lines prefixed with space/tab (ENT-606) - When
331f034
  reading config files in python2, warn the user if a line continuation (starts
331f034
  with space/tab) is followed by '#' (nmoumoul@redhat.com)
331f034
- kubevirt: Ignore vmis in Scheduling (piotr.kliczewski@gmail.com)
331f034
- kubevirt: Update config (piotr.kliczewski@gmail.com)
331f034
- Print/log debug information about filtered hosts (jhnidek@redhat.com)
331f034
- 1577954: Added config option filter_type; ENT-580 (jhnidek@redhat.com)
331f034
- Changed info about how filter_host_parents/exclude_host_parents filters work
331f034
  (ktordeur@redhat.com)
331f034
- 1387800: set name of ESX cluster properly; ENT-793 (jhnidek@redhat.com)
331f034
- Add release entry for RHEL 8 (wpoteat@redhat.com)
331f034
- template update (wpinheir@iroman.home)
331f034
- template update (wpinheir@iroman.home)
331f034
- 1596041: Make python libvirt required (wpoteat@redhat.com)
331f034
- updating RHV/RHEV/XenServer information (wpinheir@iroman.home)
331f034
- 1581021: Decode error from unicode passwords (wpoteat@redhat.com)
331f034
- 1510920: Change the choreography for the job status check
331f034
  (wpoteat@redhat.com)
331f034
- ENT-493: Add option to command line to return version
331f034
  (adarshvritant@gmail.com)
331f034
- Update executor.py (all_bright@live.com)
331f034
- kubevirt: rename virtual machine instance (piotr.kliczewski@gmail.com)
331f034
- Update for build process (wpoteat@redhat.com)
331f034
- Fixed hyperv wmi query. Invalid response (500)
331f034
  (njmiller@lakemichigancollege.edu)
331f034
- 1432140: Log when a duplicate hypervisor id is detected [ENT-568]
331f034
  (wpoteat@redhat.com)
331f034
- 1368341: Warn that --sam/--satellite6 are unused & deprecated * Now logging a
331f034
  warning when --sam/--satellite6 are used. * man page and --help output
331f034
  updated to explaing that these options are unused and virt-who will report to
331f034
  either sam/satellite/stage candlepin regardless of their being there.
331f034
  (nmoumoul@redhat.com)
331f034
- 1455062: Partial fix of high CPU usage, when many conf files used
331f034
  (jhnidek@redhat.com)
331f034
- Correction to the spec file condition for python 3 (wpoteat@redhat.com)
331f034
- ENT-554 Host reports for libvirt and rhevm include the system hardware uuid
331f034
  (wpoteat@redhat.com)
331f034
- Add releaser for RHEL 7.6 (wpoteat@redhat.com)
331f034
- Remove f26 releaser (f26 is EOL) (csnyder@redhat.com)
f1c4e6f
5840466
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.2-1.2
5840466
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5840466
5840466
* Tue Jun 19 2018 Miro HronĨok <mhroncok@redhat.com> - 0.22.2-1.1
5840466
- Rebuilt for Python 3.7
5840466
f1aba92
* Thu May 31 2018 William Poteat <wpoteat@redhat.com> 0.22.2-1
f1aba92
- Correct date ordering in changelog (wpoteat@redhat.com)
f1aba92
- 1575513: Re-add changelog entries that were merged out. (wpoteat@redhat.com)
f1aba92
- 1560598: Pass hostname to M2Crypto in STOMP client (khowell@redhat.com)
f1aba92
- Make vdsm respect RHSM_USE_M2CRYPTO var (khowell@redhat.com)
f1aba92
- Set up Travis CI to use Python 3 (jhnidek@redhat.com)
f1aba92
- Fixing python 2 -> 3 issue (wpoteat@redhat.com)
f1aba92
- kubevirt support (piotr.kliczewski@gmail.com)
f1aba92
826cbb3
* Mon May 07 2018 William Poteat <wpoteat@redhat.com> 0.22.1-1
826cbb3
- 1542652: When the -c option is used, don't parse the default files
826cbb3
  (nmoumoul@redhat.com)
826cbb3
- 1569299: try/exception needed for hypervisor_id check (wpoteat@redhat.com)
826cbb3
- Update tito releasers to include newer versions of fedora
826cbb3
  (csnyder@redhat.com)
826cbb3
- 1560461: Make env and owner options required for approprite cases
826cbb3
  (jhnidek@redhat.com)
826cbb3
- 1554228: Unicode issue on status update call (wpoteat@redhat.com)
826cbb3
- 1387800: [RFE] virt-who can report cluster in host-to-guest mapping
826cbb3
  (jhnidek@redhat.com)
826cbb3
- Updates for future builds based on changing environments (wpoteat@redhat.com)
826cbb3
- limit version of libvirt-python (wpoteat@redhat.com)
826cbb3
- 1447022: Log warning, when wrong filter is in config file
826cbb3
  (jhnidek@redhat.com)
826cbb3
- 1511644: Support running virt-who on python 3 (csnyder@redhat.com)
826cbb3
- 1520236: Do not log traceback, when server returns 429 http error
826cbb3
  (jhnidek@redhat.com)
826cbb3
- 1492074: Enable login to ESX using password with UTF-8 string
826cbb3
  (jhnidek@redhat.com)
826cbb3
- 1353119: Add JSON-RPC support for VDSM (khowell@redhat.com)
826cbb3
- 1509597: Enable to use virt-who wih VDSM again (jhnidek@redhat.com)
826cbb3
- 1522383: Remove global option background (jhnidek@redhat.com)
826cbb3
- 1523548: Options log_dir and log_file are not ignored (jhnidek@redhat.com)
826cbb3
f1aba92
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-5
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f1aba92
0781a7f
* Thu Dec 07 2017 Christopher Snyder <csnyder@redhat.com> 0.21.2-1
0781a7f
- 1510310: Ensure that owner and env are required where necessary
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1512778: ESX should require username, password, and server values
0781a7f
  (csnyder@redhat.com)
0781a7f
0781a7f
* Tue Nov 28 2017 Kevin Howell <khowell@redhat.com> 0.21.1-1
0781a7f
- 1511308: Only ESX supports: exclude_host_parents and filter_host_parents.
0781a7f
  (jhnidek@redhat.com)
0781a7f
- 1509596: Use qemu+ssh transport if not provided (libvirt)
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1511308: Xen and Hyper-V do not support some filter options
0781a7f
  (jhnidek@redhat.com)
0781a7f
- 1510760: Ensure virt-who exits properly (w/ no good conf)
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1509606: Remove duplicate output of validation messages (csnyder@redhat.com)
0781a7f
- 1509597: Fix issue with cli consistancy check for vdsm (csnyder@redhat.com)
0781a7f
- 1509595: Only expect owner on HostGuestAssociationReports
0781a7f
  (csnyder@redhat.com)
0781a7f
0781a7f
* Mon Oct 30 2017 Christopher Snyder <csnyder@redhat.com> 0.21.0-1
0781a7f
- Update hypervisorCheckInAsync test for new config sections
0781a7f
  (csnyder@redhat.com)
0781a7f
- Update Config Refactor with changes from master (csnyder@redhat.com)
0781a7f
- Removed usage of old Config (not unit tests) (jhnidek@redhat.com)
0781a7f
- Further clean up of unit tests (jhnidek@redhat.com)
0781a7f
- Create Xen Config Subclass (jhnidek@redhat.com)
0781a7f
- Create Rhevm Config Subclass (jhnidek@redhat.com)
0781a7f
- Create VDSM config subclass (wpoteat@redhat.com)
0781a7f
- Clean up ConfigSection Unit tests (jhnidek@redhat.com)
0781a7f
- Adds FakeVirtConfigSection (csnyder@redhat.com)
0781a7f
- Configuration subclass for hyperv (wpoteat@redhat.com)
0781a7f
- Implement EsxConfigSection (khowell@redhat.com)
0781a7f
- Libvirtd ConfigSection Subclass (jhnidek@redhat.com)
0781a7f
- Adds EffectiveConfig, ConfigSection (csnyder@redhat.com)
0781a7f
- Adds warning message for deprecated env vars (csnyder@redhat.com)
0781a7f
- 1503700: Updates to the job polling frequency (csnyder@redhat.com)
0781a7f
- 1502821: Remove undocumented, broken env var "VIRTWHO_DISABLE_ASYNC"
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1466015: Warn of deprecation of command line options in next release
0781a7f
  (wpoteat@redhat.com)
0781a7f
- remove non-existant variable fake_is_hypervisor (adarshvritant@gmail.com)
0781a7f
- 1485865: Do not replace /etc/virt-who.conf on rpm upgrade
0781a7f
  (csnyder@redhat.com)
0781a7f
- Utilize the owner from the first report seen, if we do not know the owner
0781a7f
  (csnyder@redhat.com)
0781a7f
- Updates based on review (use str.format) (csnyder@redhat.com)
0781a7f
- Fix example fake config in man docs (adarshvritant@gmail.com)
0781a7f
- Add m2crypto dependency (adarshvritant@gmail.com)
0781a7f
- 1211435: Don't send host-to-geust mapping, when env, owner are wrong
0781a7f
  (jhnidek@redhat.com)
0781a7f
- 1408556: Log which owner updated mappings are being sent to
0781a7f
  (csnyder@redhat.com)
0781a7f
f1aba92
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-4
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f1aba92
0781a7f
* Wed Jul 26 2017 Christopher Snyder <csnyder@redhat.com> 0.20.4-1
0781a7f
- Point Source0 to GitHub (csnyder@redhat.com)
0781a7f
0781a7f
* Thu Jul 13 2017 Christopher Snyder <csnyder@redhat.com> 0.20.2-1
0781a7f
- 1458184: better reading of environment variables (jhnidek@redhat.com)
0781a7f
- 1401867: Enable logging of rhsm module to rhsm.log (jhnidek@redhat.com)
0781a7f
- 1404117: Check parameter consistency and refactoring (jhnidek@redhat.com)
0781a7f
- Adds a patch number to virt-who versioning (csnyder@redhat.com)
0781a7f
- 1401420: xen supports only uuid/hostname as hypervisor_id
0781a7f
  (jhnidek@redhat.com)
0781a7f
- 1458674: Update use of result data to match the new async api
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1452436: virt-who prints host-to-quest mapping everytime (jhnidek@redhat.com)
0781a7f
- 1357761: Do not check passwords to be in latin1 encoding (jhnidek@redhat.com)
0781a7f
- 1457101: Continue running despite malformed configs (csnyder@redhat.com)
0781a7f
- 1409984: Retry initial report retrieval on connection timeout
0781a7f
  (csnyder@redhat.com)
0781a7f
0781a7f
* Fri Jun 09 2017 Christopher Snyder <csnyder@redhat.com> 0.20-1
0781a7f
- 1389729: Add missing xml section for test (fran@caosdigital.com)
0781a7f
- 1389729: virt-who incorrectly reports 'name' instead of 'hostname' for RHEV
0781a7f
  hosts (fran@caosdigital.com)
0781a7f
- 1450747: Continue running destination threads on internal failure
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1444718: Log name of config when duplicate reports are retrieved
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1447264: Keep running on InvalidPasswordFormat given other valid configs
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1448267: Fix polling behavior for oneshot, CTRL-C, 429 responses
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1369107: Update docs and log messages to show the *.conf requirement
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1436517: Fix api base detection for rhevm version 3 and 4
0781a7f
  (csnyder@redhat.com)
0781a7f
- 1442337: Send updates immediately the first run (csnyder@redhat.com)
0781a7f
- Do not join threads not started, fix up fake backend (csnyder@redhat.com)
0781a7f
- 1439317: Ensure reports are still sent despite duplicate configurations
0781a7f
  (csnyder@redhat.com)
0781a7f
- DestinationThreads now send all reports (csnyder@redhat.com)
0781a7f
- Adds IntervalThread base class and refactors Virt classes
0781a7f
  (csnyder@redhat.com)
0781a7f
- Remove reference to nonexistant method _set_option (csnyder@redhat.com)
0781a7f
- Update ConfigManager to produce destination and source mappings.
0781a7f
  (csnyder@redhat.com)
0781a7f
- Implemements a threadsafe datastore (csnyder@redhat.com)
0781a7f
- Move from using processes to threads (csnyder@redhat.com)
0781a7f
- 1436517: Set Version header for version detect (pcreech@redhat.com)
0781a7f
- 1403640: Fix syntax error in exception handling (pcreech@redhat.com)
0781a7f
- Update the spec file for builds on more downstream platforms
0781a7f
  (csnyder@redhat.com)
0781a7f
- Add releaser for rhel-7.4 (khowell@redhat.com)
0781a7f
- 1391512: Handle utf-8 within Xmlrpc transport (pcreech@redhat.com)
0781a7f
0781a7f
* Thu Mar 02 2017 Christopher Snyder <csnyder@redhat.com> 0.19-1
0781a7f
- 1415497: Support rhev4 auto detection and usage (pcreech@redhat.com)
0781a7f
- 1388577: Adding UTF-8 support (pcreech@redhat.com)
0781a7f
- 1410000: Include org_id in hv base channel (pcreech@redhat.com)
0781a7f
- 1400431: Fix AttributeError where val is missing (pcreech@redhat.com)
0781a7f
- 1405967: Filter host via glob or regex (pcreech@redhat.com)
0781a7f
- Adds --password option to virt-who-pasword (tstrachota@redhat.com)
0781a7f
- 1392390 Fix default interval handling (pcreech@redhat.com)
0781a7f
- BZ1405967  Add filter_hosts_regex, and exclude_hosts_regex to allow filtering
0781a7f
  large numbers of hosts easily (chris@chrisprocter.co.uk)
0781a7f
- 1369107: Only load files with .conf extension (pcreech@redhat.com)
0781a7f
- 1383436: Obey the interval setting (csnyder@redhat.com)
0781a7f
- 1299643: Update virt-who-config man page to include NO_PROXY
0781a7f
  (csnyder@redhat.com)
0781a7f
f1aba92
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.17-3
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f1aba92
0781a7f
* Tue Oct 11 2016 Radek Novacek <rnovacek@redhat.com> 0.18-1
0781a7f
- Version 0.18
0781a7f
f1aba92
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.17-2
f1aba92
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f1aba92
f1aba92
* Tue May 24 2016 Radek Novacek <rnovacek@redhat.com> - 0.17-1
f1aba92
- Rebase to 0.17
f1aba92
0781a7f
* Tue May 17 2016 Radek Novacek <rnovacek@redhat.com> 0.17-1
0781a7f
- Version 0.17
0781a7f
f1aba92
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8-13
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f1aba92
0781a7f
* Thu Dec 17 2015 Radek Novacek <rnovacek@redhat.com> 0.16-1
0781a7f
- Version 0.16
0781a7f
0781a7f
* Tue Aug 04 2015 Devan Goodwin <dgoodwin@rm-rf.ca> 0.15-1
0781a7f
- Update spec for renamed README.md. (dgoodwin@redhat.com)
0781a7f
- Moves fakevirt._decode() to util.decode() (csnyder@redhat.com)
0781a7f
- Adds the report.config.name to log message when refusing to send a report due
0781a7f
  to lack of change (csnyder@redhat.com)
0781a7f
- VirtWho: Clears list of reports on reload (csnyder@redhat.com)
0781a7f
- Revises change detection tests to account for changes in master
0781a7f
  (csnyder@redhat.com)
0781a7f
- Libvirtd: Sends a report on start up, and on events (csnyder@redhat.com)
0781a7f
- Removes trailing line at the end of the file (csnyder@redhat.com)
0781a7f
- Test_Esx: Test Oneshot to ensure it queues a report (csnyder@redhat.com)
0781a7f
- Esx: only queue data if the version has changed (csnyder@redhat.com)
0781a7f
- Test_VirtWho:Patches manager.Manager.fromOptions, removes unnecessary mocks
0781a7f
  (csnyder@redhat.com)
0781a7f
- Removes unhelpful debug log message (csnyder@redhat.com)
0781a7f
- Fix spacing, remove unused imports (csnyder@redhat.com)
0781a7f
- Test_VirtWho: Adds test to show same report will not be sent twice
0781a7f
  (csnyder@redhat.com)
0781a7f
- VirtWho: Adds basic change detection using report hashs (csnyder@redhat.com)
0781a7f
- Adds hash property to config (csnyder@redhat.com)
0781a7f
- Adds hash property to DomainListReport and HypervisorGuestAssociationReport
0781a7f
  (csnyder@redhat.com)
0781a7f
- Hypervisor: Adds getHash class method (csnyder@redhat.com)
0781a7f
- Limits interval settings (wpoteat@redhat.com)
0781a7f
- Retry sending data to subscription manager multiple times before dropping
0781a7f
  (rnovacek@redhat.com)
0781a7f
- SubscriptionManager: nicely order keys in debug report (rnovacek@redhat.com)
0781a7f
- Fix serialization of guest list in print mode (rnovacek@redhat.com)
0781a7f
- Do not exit oneshot mode if any job exists (rnovacek@redhat.com)
0781a7f
- SubscriptionManager: check if report result has failedUpdate item
0781a7f
  (rnovacek@redhat.com)
0781a7f
- SubscriptionManager: minor logging fixes (rnovacek@redhat.com)
0781a7f
- SubscriptionManager: add env var to disable asynchronous reporting
0781a7f
  (rnovacek@redhat.com)
0781a7f
- Check jobs status in increasing interval (rnovacek@redhat.com)
0781a7f
- Esx: report host even if it doesn't have any guests (rnovacek@redhat.com)
0781a7f
- Hypervisors reported by hyperv now include hostname. (csnyder@redhat.com)
0781a7f
- Removes completed jobs. (csnyder@redhat.com)
0781a7f
- Fix output format in print mode (rnovacek@redhat.com)
0781a7f
- Fix using empty list as default parameter value (rnovacek@redhat.com)
0781a7f
- satellite: support new hypervisor format (rnovacek@redhat.com)
0781a7f
- Fix tests failures (rnovacek@redhat.com)
0781a7f
- Removes timeouts for jobs. All jobs in the list are now executed just before
0781a7f
  a new report is sent. (csnyder@redhat.com)
0781a7f
- The virtwho loop now blocks on the report queue with a one second timeout
0781a7f
  (csnyder@redhat.com)
0781a7f
- Removes unnecessary imports and queue (csnyder@redhat.com)
0781a7f
- Rewrite readme to markdown syntax (rnovacek@redhat.com)
0781a7f
- CI: install unittest2 from pypi (rnovacek@redhat.com)
0781a7f
- CI: add -y option to add-apt-repository (rnovacek@redhat.com)
0781a7f
- CI: another attempt on cloud archive for libvirt (rnovacek@redhat.com)
0781a7f
- CI: try to install newer version of libvirt from cloud archive
0781a7f
  (rnovacek@redhat.com)
0781a7f
- CI: add libvirt-dev dependency (rnovacek@redhat.com)
0781a7f
- CI: install libvirt-python via pip (rnovacek@redhat.com)
0781a7f
- CI: another attempt without site-packages (rnovacek@redhat.com)
0781a7f
- CI: install python-rhsm dependencies (rnovacek@redhat.com)
0781a7f
- Adds support for facts in Hypervisor profile. (csnyder@redhat.com)
0781a7f
- Adds count of unchanged mappings to the info logged for the result of an
0781a7f
  async job (csnyder@redhat.com)
0781a7f
- Adds tests for jobs in virtwho, removes unnecessary tests for managerprocess.
0781a7f
  (csnyder@redhat.com)
0781a7f
- Changes to ensure backwards compatibility with python-rhsm
0781a7f
  (csnyder@redhat.com)
0781a7f
- Fixes RhevM.getHostGuestMapping() as suggested by rnovacek
0781a7f
  (csnyder@redhat.com)
0781a7f
- Adds layer to hypervisorId. Removes completed TODO (csnyder@redhat.com)
0781a7f
- Moves all functionality of managerprocess into virtwho. (csnyder@redhat.com)
0781a7f
- CI: use python with system side packages enabled (rnovacek@redhat.com)
0781a7f
- CI: install m2crypto using apt instead of pip (rnovacek@redhat.com)
0781a7f
- CI: install python-libvirt using apt instead of pip (rnovacek@redhat.com)
0781a7f
- Add requirements.txt and .travis.yml for the CI (rnovacek@redhat.com)
0781a7f
- Adds tests to verify the hostGuestAssociation is generated correctly.
0781a7f
  (csnyder@redhat.com)
0781a7f
- Updates libvirtd and tests to add host name to hypervisor profile
0781a7f
  (csnyder@redhat.com)
0781a7f
- Updates managerprocess with better logging and changes for the new tests.~~
0781a7f
  (csnyder@redhat.com)
0781a7f
- Updates to use the new hypervisor class (csnyder@redhat.com)
0781a7f
- print mode: format debug message about found hypervisors
0781a7f
  (rnovacek@redhat.com)
0781a7f
- Removing uncesasary comments (csnyder@redhat.com)
0781a7f
- Removes unused dictionary of jobs and associated methods.
0781a7f
  (csnyder@redhat.com)
0781a7f
- Fixes tests data to include "status" key. (csnyder@redhat.com)
0781a7f
- Updates tests to make use of new Hypervisor class. (csnyder@redhat.com)
0781a7f
- Host name is now included in the hypervisor profile using the new Hypervisor
0781a7f
  class (csnyder@redhat.com)
0781a7f
- Adds new Hypervisor class. (csnyder@redhat.com)
0781a7f
- Adds new test for the updates to subscriptionmanager.py (csnyder@redhat.com)
0781a7f
- Updates fakevirt to make use of virt.Guest classes (csnyder@redhat.com)
0781a7f
- Changes to ensure proper execution post-merge (csnyder@redhat.com)
0781a7f
- Removing more unnecessary prints (csnyder@redhat.com)
0781a7f
- Fixes oneshot mode for work with new managerprocess (csnyder@redhat.com)
0781a7f
- Cleaning up unneeded prints and adding more useful debug log messages
0781a7f
  (csnyder@redhat.com)
0781a7f
- Adds async job status polling for use with the new report API
0781a7f
  (csnyder@redhat.com)
0781a7f
- This (along with python-rhsm/csnyder/new_report_api ee38f15, allows
0781a7f
  communication with new report api (csnyder@redhat.com)
0781a7f
0781a7f
* Tue Jun 23 2015 Radek Novacek <rnovacek@redhat.com> 0.14-1
0781a7f
- Version 0.14
0781a7f
f1aba92
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-12
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f1aba92
0781a7f
* Tue Mar 17 2015 Radek Novacek <rnovacek@redhat.com> 0.13-1
0781a7f
- new package built with tito
0781a7f
0781a7f
* Fri Feb 27 2015 Radek Novacek <rnovacek@redhat.com> 0.12-1
0781a7f
- Version 0.12
0781a7f
f1aba92
* Tue Feb 03 2015 Radek Novacek <rnovacek@redhat.com> 0.8-11
f1aba92
- Fix permission of /etc/sysconfig/virt-who file
f1aba92
- Resolves: #1186034
f1aba92
0781a7f
* Mon Sep 08 2014 Radek Novacek <rnovacek@redhat.com> 0.11-1
0781a7f
- Version 0.11
0781a7f
f1aba92
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-10
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f1aba92
0781a7f
* Tue May 20 2014 Radek Novacek <rnovacek@redhat.com> 0.10-1
0781a7f
- Add directory with configuration files
0781a7f
- Version 0.10
0781a7f
0781a7f
* Thu Mar 13 2014 Radek Novacek <rnovacek@redhat.com> 0.9-1
0781a7f
- Remove libvirt dependency
0781a7f
- Add dependency on m2crypto
0781a7f
- Version 0.9
0781a7f
f1aba92
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-9
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f1aba92
f1aba92
* Fri Jun 14 2013 Radek Novacek <rnovacek@redhat.com> 0.8-8
f1aba92
- Increase ESXi compatibility
f1aba92
- Resolves: rhbz#923760
f1aba92
f1aba92
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8-7
f1aba92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f1aba92
f1aba92
* Tue Nov 27 2012 Radek Novacek <rnovacek@redhat.com> 0.8-6
f1aba92
- Add systemd support
f1aba92
- specfile cleanup
f1aba92
f1aba92
* Thu Oct 25 2012 Radek Novacek <rnovacek@redhat.com> 0.8-5
f1aba92
- Fix adding https:// to ESX url
f1aba92
f1aba92
* Wed Oct 24 2012 Radek Novacek <rnovacek@redhat.com> 0.8-4
f1aba92
- Help and manpage improvements
f1aba92
f1aba92
* Wed Oct 17 2012 Radek Novacek <rnovacek@redhat.com> 0.8-3
f1aba92
- Fix bugs in Hyper-V support (patch rebased)
f1aba92
- Create PID file ASAP to prevent service stop fails
f1aba92
f1aba92
* Thu Oct 11 2012 Radek Novacek <rnovacek@redhat.com> 0.8-2
f1aba92
- Add support for accessing Hyper-V
f1aba92
f1aba92
* Wed Sep 26 2012 Radek Novacek <rnovacek@redhat.com> 0.8-1
f1aba92
- Upstream version 0.8
f1aba92
- RFE: command line improvements
f1aba92
- Add support for accessing RHEV-M
f1aba92
- Fix printing tracebacks on terminal
f1aba92
0781a7f
* Fri Sep 14 2012 Radek Novacek <rnovacek@redhat.com> 0.8-1
0781a7f
- Version 0.8
0781a7f
0781a7f
* Mon Jul 09 2012 Radek Novacek <rnovacek@redhat.com> 0.7-1
0781a7f
- Version 0.7
0781a7f
f1aba92
* Thu Apr 26 2012 Radek Novacek <rnovacek@redhat.com> 0.6-6
f1aba92
- Handle unknown libvirt event properly
f1aba92
f1aba92
* Wed Apr 18 2012 Radek Novacek <rnovacek@redhat.com> 0.6-5
f1aba92
- Enable debug output to be written to stderr
f1aba92
- Log guest list to log even in non-debug mode
f1aba92
f1aba92
* Tue Apr 17 2012 Radek Novacek <rnovacek@redhat.com> 0.6-4
f1aba92
- Fix regression in double fork patch
f1aba92
f1aba92
* Wed Mar 28 2012 Radek Novacek <rnovacek@redhat.com> 0.6-3
f1aba92
- Do double fork when daemon is starting
f1aba92
f1aba92
* Fri Mar 09 2012 Radek Novacek <rnovacek@redhat.com> 0.6-2
f1aba92
- Add python-suds require
f1aba92
- Requires python-rhsm >= 0.98.6
f1aba92
f1aba92
* Thu Mar 01 2012 Radek Novacek <rnovacek@redhat.com> 0.6-1
f1aba92
- Rebase to virt-who-0.6
f1aba92
0781a7f
* Mon Feb 13 2012 Radek Novacek <rnovacek@redhat.com> 0.6-1
0781a7f
- Version 0.6
0781a7f
0781a7f
* Fri Dec 09 2011 Radek Novacek <rnovacek@redhat.com> 0.5-1
0781a7f
- VSphere support
0781a7f
- Req: python-suds
0781a7f
0781a7f
* Wed Nov 30 2011 Radek Novacek <rnovacek@redhat.com> 0.4-1
0781a7f
- Version 0.4
0781a7f
f1aba92
* Wed Oct 12 2011 Radek Novacek <rnovacek@redhat.com> 0.3-3
f1aba92
- Use updateConsumer API instead of updateConsumerFact (fixes limit 255 chars of uuid list)
f1aba92
- Requires python-rhsm >= 0.96.13
f1aba92
0781a7f
* Thu Oct 06 2011 Radek Novacek <rnovacek@redhat.com> - 0.3-2
0781a7f
- Requires python-rhsm >= 0.96.13 (contains fix for char limit in uuid list)
Radek Novacek 375cedb
f1aba92
* Wed Sep 07 2011 Radek Novacek <rnovacek@redhat.com> - 0.3-2
f1aba92
- Add upstream patch that prevents failure when server not implements /status/ command
f1aba92
Radek Novacek 375cedb
* Thu Sep 01 2011 Radek Novacek <rnovacek@redhat.com> - 0.3-1
Radek Novacek 375cedb
- Add initscript and configuration file
bbd8159
f1aba92
* Mon Aug 22 2011 Radek Novacek <rnovacek@redhat.com> - 0.2-2
f1aba92
- Bump release because of tagging in wrong branch
f1aba92
Radek Novacek a483cbf
* Mon Aug 22 2011 Radek Novacek <rnovacek@redhat.com> - 0.2-1
Radek Novacek a483cbf
- Update to upstream version 0.2
Radek Novacek a483cbf
- Add Requires: libvirt
Radek Novacek a483cbf
Radek Novacek a483cbf
* Fri Aug 19 2011 Radek Novacek <rnovacek@redhat.com> - 0.1-2
Radek Novacek a483cbf
- Add BuildRoot tag (the package will be in RHEL5)
Radek Novacek a483cbf
Radek Novacek a483cbf
* Wed Aug 10 2011 Radek Novacek <rnovacek@redhat.com> - 0.1-1
Radek Novacek a483cbf
- initial import