-
Notifications
You must be signed in to change notification settings - Fork 38
/
virt-who.spec
986 lines (862 loc) · 45.8 KB
/
virt-who.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
Name: virt-who
Version: 1.32.1
Release: 1%{?dist}
Summary: Agent for reporting virtual guest IDs to subscription-manager
# 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
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pyyaml
# libvirt python required for libvirt support
Requires: python3-libvirt
Requires: python3-subscription-manager-rhsm > 1.25.6
Requires: python3-cryptography
Requires: python3-requests
Requires: python3-pyyaml
Requires: python3-systemd
BuildRequires: systemd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Provides: bundled(python-suds) = 0.8.4
%description
Agent that collects information about virtual guests present in the system and
report them to the subscription manager.
%prep
%setup -q
%build
%{__python3} setup.py build --rpm-version=%{version}-%{release}
%install
%{__python3} setup.py install --root %{buildroot}
%{__python3} setup.py install_config --root %{buildroot}
%{__python3} setup.py install_man_pages --root %{buildroot}
%{__python3} setup.py install_systemd --root %{buildroot}
mkdir -p %{buildroot}/%{_sharedstatedir}/%{name}/
touch %{buildroot}/%{_sharedstatedir}/%{name}/key
mkdir -p %{buildroot}/%{_datadir}/zsh/site-functions
install -m 644 virt-who-zsh %{buildroot}/%{_datadir}/zsh/site-functions/_virt-who
# Don't run test suite in check section, because it need the system to be
# registered to subscription-manager server
%post
%systemd_post virt-who.service
# This moves parameters from old config to remaining general config file
%if (0%{?fedora} || 0%{?rhel} > 8)
%{__python3} %{python3_sitelib}/virtwho/migrate/migrateconfiguration.py
%endif
%preun
%systemd_preun virt-who.service
%postun
%systemd_postun_with_restart virt-who.service
%files
%doc README.md LICENSE README.hyperv
%{_bindir}/virt-who
%{_bindir}/virt-who-password
%{python3_sitelib}/*
%{_unitdir}/virt-who.service
%attr(700, root, root) %dir %{_sysconfdir}/virt-who.d
%{_mandir}/man8/virt-who.8.gz
%{_mandir}/man8/virt-who-password.8.gz
%{_mandir}/man5/virt-who-config.5.gz
%attr(700, root, root) %{_sharedstatedir}/%{name}
%ghost %{_sharedstatedir}/%{name}/key
%{_datadir}/zsh/site-functions/_virt-who
%{_sysconfdir}/virt-who.d/template.conf
%attr(600, root, root) %config(noreplace) %{_sysconfdir}/virt-who.conf
%changelog
* Tue Jul 16 2024 Jiri Hnidek <[email protected]> 1.32.1-1
- Creating another release, because 1.32.0-3 was
created on dist-git
* Tue Jul 16 2024 Jiri Hnidek <[email protected]> 1.32.0-3
- feat: Run Github CI action py.test every month ([email protected])
- fix: Added missing %{dist} to virt-who.spec ([email protected])
- fix: Replace all warn() with warning() ([email protected])
* Thu May 16 2024 Jiri Hnidek <[email protected]> 1.32.0-2
- feat: Changed release configuration for RHEL 10 ([email protected])
* Wed May 15 2024 Jiri Hnidek <[email protected]> 1.32.0-1
-
* Tue May 14 2024 Jiri Hnidek <[email protected]> 1.31.27-1
- ci: bump actions/checkout from 3 to 4
(49699333+dependabot[bot]@users.noreply.github.com)
- Change /var/run -> /run ([email protected])
- ci: add dependabot config for GitHub Actions ([email protected])
- Drop unused copy of python-daemon sources ([email protected])
- Migrate to SPDX license ([email protected])
- fix: disable complex tests for ESX ([email protected])
- fix: use ssl.SSLContext.wrap_socket for wrapping socket ([email protected])
- fix: stylish issue discovered by flake8 ([email protected])
- fix: Use ConfigParser and not SafeConfigParser ([email protected])
- spec: drop unused openssl dependency ([email protected])
- spec: hardcode/inline Python 3 variables ([email protected])
- spec: drop unused Group tag ([email protected])
- spec: do not Require setuptools ([email protected])
- spec: drop $RPM_BUILD_ROOT manual cleanup ([email protected])
- Updated README.md file to reflect current state ([email protected])
- Drop outdated/unused requirements ([email protected])
- Removed support for Jenkins ([email protected])
- Added support for GitHub actions ([email protected])
- Removed some unused parts of Makefile ([email protected])
- Removed support for docker ([email protected])
- spec: assume the python3-libvirt package name everywhere
- spec: drop redundant "release_number" variable ([email protected])
- spec: drop outdated variables and comments ([email protected])
- spec: drop six dependency ([email protected])
- Drop non-systemd support ([email protected])
- Feature: improve log message, when wrong value is provided
- Fix: default value for prism_central cannot be None ([email protected])
- spec: drop support for Python < 3 ([email protected])
- spec: drop support for Fedora < 36 ([email protected])
- spec: drop support for RHEL < 8 ([email protected])
* Wed Feb 01 2023 Jiri Hnidek <[email protected]> 1.31.26-1
- Fix stylish issue in migrateconfiguration.py ([email protected])
- Added next rhel-9.x subversion to releasers.conf file. ([email protected])
- 2158710: Migrated virt-who.conf, when necessary ([email protected])
- Added documentation for the 'rhsm_insecure' option, for insecure connections
- Added configuration for rhel-9.x into releasers.conf ([email protected])
* Thu Oct 06 2022 William Poteat <[email protected]> 1.31.25-1
- 2099925: Drop support for RHEVM on RHEL 9 ([email protected])
- Update virt-who-config.5 ([email protected])
- Big optimization and refactoring of Nutanix code ([email protected])
* Thu Sep 01 2022 William Poteat <[email protected]> 1.31.24-1
- 2118253: Nutanix: Gather information about VMs correctly ([email protected])
* Thu Apr 21 2022 William Poteat <[email protected]> 1.31.23-1
- 2054504: Use usedforsecurity=False for md5() calls to make suds work on FIPS
enabled systems ([email protected])
* Wed Mar 16 2022 William Poteat <[email protected]> 1.31.22-1
- 2060949: Indicate that virt-who provides python-suds in the spec file
- Run complex tests as forked for consistent results ([email protected])
- Update releasers for current needs ([email protected])
* Tue Feb 08 2022 William Poteat <[email protected]> 1.31.21-1
- 1987247: The connection value shows null for kubevirt mode in virt-who status
json ([email protected])
- Addition of LGPLv3 license file from suds ([email protected])
- 2000415: Nutanix config needs to handle bad server value ([email protected])
- 1996942: Use cluster name instead of UUID for fabric consistency
- 1990758: Virt-who always prints YAMLLoadWarning for kubevirt mode
- 1990563: Move progress bar to stderr to keep stdout clean
* Tue Feb 08 2022 William Poteat <[email protected]>
- 1987247: The connection value shows null for kubevirt mode in virt-who status
json ([email protected])
- Addition of LGPLv3 license file from suds ([email protected])
- 2000415: Nutanix config needs to handle bad server value ([email protected])
- 1996942: Use cluster name instead of UUID for fabric consistency
- 1990758: Virt-who always prints YAMLLoadWarning for kubevirt mode
- 1990563: Move progress bar to stderr to keep stdout clean
* Mon Jan 10 2022 William Poteat <[email protected]> 1.31.19-1
- 1990562: Remove the redundant 'update_interval' option from ahv config
- 1990561: rename configuration entry to show ahv specificity
* Thu Dec 16 2021 William Poteat <[email protected]> 1.31.18-1
- 2000019: Convert non-latin1 username/password to bytes ([email protected])
- 2018052: Fix virt-who -s, when Hyper-V with new API is used
- ENT-4511: Remove six package from requirements ([email protected])
- ENT-4511: Drop Python 2 only tests ([email protected])
- ENT-4511: Drop six usage in suds tests ([email protected])
- ENT-4511: Drop six usage in tests ([email protected])
- ENT-4511: Drop six usage in virt-who code ([email protected])
- ENT-4511: Drop OrderedDict implementation ([email protected])
- Update for deprecation of MutableMapping ([email protected])
- Only query the VM related taks in AHV hypervisors. ([email protected])
- Remove unused NTLM code as only basic auth is used ([email protected])
* Tue Sep 14 2021 William Poteat <[email protected]> 1.31.17-1
- Bypass stylish check on suds code ([email protected])
- 2000922: Add the suds code to virt-who in place of python3-suds package
- ENT-4004: Fix flake8 issues for test files ([email protected])
- ENT-4004: Use four spaces for indentation ([email protected])
- ENT-4004: Fix flake8 issues ([email protected])
- ENT-4004: Add stylish tests ([email protected])
- Cannot use ESX where python3-suds is not available ([email protected])
- 1981249: Stop using NTLM which requires MD4 (OpenSSL 3.0)
- 1989877: Status command does not reach actual credentials checking
- Make changes to follow Conscious language initiative ([email protected])
* Fri Aug 06 2021 William Poteat <[email protected]> 1.31.16-1
- 1990550: Add the description for nutanix mode in man virt-who and man virt-
who-config ([email protected])
- 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
- 1989646: Get UnboundLocalError when configured hypervisor_id=hwuuid
- 1989645: Add dmi.system.uuid to ahv facts ([email protected])
- 1974624: proxy error with https ([email protected])
* Tue Aug 03 2021 William Poteat <[email protected]> 1.31.15-1
- 1986973: Take out AHV removal patch mechanism ([email protected])
- Update AHV patch ([email protected])
* Fri Jul 16 2021 William Poteat <[email protected]> 1.31.14-1
- Merge run data into report ([email protected])
- Update the man page for the status mode ([email protected])
- Status execution ([email protected])
- Record last dates of succcess for sources and destinations
- Update certs for complex tests ([email protected])
* Thu Jun 03 2021 William Poteat <[email protected]> 1.31.13-1
- 1965320: Clear previous report hash when hypervisor count is zero
- Added support for Packit service ([email protected])
- Convert CI from Travis to Jenkins ([email protected])
* Fri May 21 2021 William Poteat <[email protected]> 1.31.12-1
- 1951347: Update patch for xen removal ([email protected])
* Thu May 20 2021 William Poteat <[email protected]> 1.31.11-1
- 1951347: Remove Xen from hypervisor types ([email protected])
- Releaser for Centos ([email protected])
* Mon May 17 2021 William Poteat <[email protected]> 1.31.10-1
- 1920322: Uncomment section header on migrate ([email protected])
- Update CI link to use branch name main ([email protected])
- Fedora master branch name changed to main ([email protected])
* Thu Feb 18 2021 William Poteat <[email protected]> 1.31.9-1
- Man page update to describe the migration script ([email protected])
- 1924572: Add insecure option to config template ([email protected])
- Add Fedora 34 to releaser list ([email protected])
* Thu Jan 28 2021 William Poteat <[email protected]> 1.31.8-1
- Update AHV patch for Kubevirt change ([email protected])
* Mon Jan 25 2021 William Poteat <[email protected]> 1.31.7-1
- 1917645: handle not running vms ([email protected])
- Fedora 31 is no longer a build target ([email protected])
* Fri Jan 15 2021 William Poteat <[email protected]> 1.31.6-1
- 1910020: replace deprecated call ([email protected])
* Mon Jan 04 2021 William Poteat <[email protected]> 1.31.5-1
- 1909145: [RFE] Use single json format for input/output data
- 1855550: [Remote Libvirt] The Name in Stage Candlepin cannot update based on
hypervisor_id configuration ([email protected])
- 1879329: List possible values for type in man page ([email protected])
* Tue Dec 08 2020 William Poteat <[email protected]> 1.31.4-1
- 1899652: Install script error when file does not exist ([email protected])
* Fri Dec 04 2020 William Poteat <[email protected]> 1.31.3-1
- 1899652: Update to ahv patch file ([email protected])
* Wed Dec 02 2020 William Poteat <[email protected]> 0.31.2-1
- 1896652: platform-python-setuptools is not in RHEL9 ([email protected])
* Tue Nov 17 2020 William Poteat <[email protected]> 0.31.1-1
- 1658440: Remove the use of environment variables for configuration
- Do not use deprecated isAlive() but use is_alive() ([email protected])
- 1890421: New section of virt-who.conf file for environment variables
* Thu Oct 22 2020 William Poteat <[email protected]> 0.31.0-1
- 1876927: virt-who fails to parse output from hypervisor ([email protected])
- Additional copy of patch file needed for build Update of Fedora versions in
releaser file ([email protected])
- Correction in patch builder for directory location ([email protected])
- Update releasers ([email protected])
- 1878136: Deprecation comment in config file ([email protected])
- 1854829: rhsm_port and rhsm_password are missing in template.conf
* Thu Oct 01 2020 William Poteat <[email protected]> 0.30.0-1
- Add patch to remove AHV bits for RHEL builds ([email protected])
- 1878136: Deprecation warning for environment variables ([email protected])
- 184506: virt-who should send its version in the User-Agent header
- 1806572: RHEVM API url needs version specified ([email protected])
- 1847792: [ESX] Virt-who is failed when run with
"filter/exclude_host_parents=" option ([email protected])
- 1809098: Convert UUID to big-endian for certain esx hardware versions
- 1835132: support milicpus ([email protected])
* Thu May 21 2020 William Poteat <[email protected]> 0.29.2-1
- NTLM: Fix compatibility issue with Python3.8 ([email protected])
- 1806572: RHEVM should only use version 4 ([email protected])
- Update to tests to match changes in Subscription Manager ([email protected])
- 1461272: Filter virt-who hosts based on host_parents using wildcard
* Fri May 08 2020 William Poteat <[email protected]> 0.29.1-1
- 1806572: virt-who using V3 APIs for communication with RHEVM which is
deprecated ([email protected])
- Update Fedora releases ([email protected])
* Fri Apr 03 2020 William Poteat <[email protected]> 0.29.0-1
- Update releasers for RHEL-8.3 ([email protected])
- 1775535: config option to override api version ([email protected])
- 1780467: Validate rhevm password when unicode is not allowed
- 1727203: Validate server name for ASCII only in ESX ([email protected])
- 1757985: better behavior of --config option; ENT-1713 ([email protected])
- 1751441: Add command line path parameter ([email protected])
- 1762780: fix bug, when reporter_id is empty; ENT-1706 ([email protected])
- 1759869: Version file needs updating on rpm ([email protected])
- 1776084 - Failed to run virt-who with Hyper-V ([email protected])
- Proper placeholder ([email protected])
- 1751441: remove strict need for kubeconfig ([email protected])
- Update for 8.2 ([email protected])
- 1748677: Improved timeout for esx ([email protected])
- 1727130: Correct man page for default interval ([email protected])
- 1743589: Content type header null coverage ([email protected])
- 1751624: Allow unicode username only if python-requests allows it
- 1745768: Make message unicode safe ([email protected])
- 1516209: Proper handling for empty server entry ([email protected])
- 1733286: add connection/request timeout ([email protected])
- Remove vdsm capability ([email protected])
- 1720048: Template for general configuration not properly formatted
- Add AHV v3 lenght and offset for the API calls. ([email protected])
- 1530254: Update checking on environment variables ([email protected])
- 1714456: Update description of 'print_' config option ([email protected])
- 1499679: Check for duplicates in conf file; ENT-249 ([email protected])
- 1720154: Provide SYSTEM_UUID_FACT ([email protected])
- 1516120: Handling for incorrect config section headers ([email protected])
- 1722560: Make heartbeat more robust ([email protected])
- Update spec for build system ([email protected])
- 1416298: Use unique guest attribute for state tracking ([email protected])
* Wed Jun 12 2019 William Poteat <[email protected]> 0.25.4-1
- 1718304: Fix issue when instance["BIOSGUID"] returns None
- 1652549: Add heartbeat call to virt-who cycle ([email protected])
- 1472727: Log error, when encrypted password is missing; ENT-1344
- 1714133: can't set data property ([email protected])
- Add Nutanix AHV support for RHSS + UTs. ([email protected])
* Fri May 24 2019 William Poteat <[email protected]> 0.25.3-1
- 1530290: Remove enviroment as an input variable for the hypervisor check in
- 1523482: 1519704: Interval value set to empty string will revert to default
value ([email protected])
- 1522384: Log at debug level when config uses default entries
- 1708524: update man page with kubevirt backend information
- 1708534: add kubeconfig to template ([email protected])
- 1516209: Configuration should be deemed invalid when server is not specified
- 1640967: Add xen type listing in /etc/virt-who.d/template.conf
* Tue May 14 2019 William Poteat <[email protected]> 0.25.2-1
- Update to spec for pyyaml package ([email protected])
* Tue May 14 2019 William Poteat <[email protected]>
- Update to spec for pyyaml package ([email protected])
* Mon May 13 2019 William Poteat <[email protected]> 0.25.0-1
- Update releasers ([email protected])
- 1641953: Virt-who fails if one hypervisor has wrong encrypted password
- 1506167: Ignore new SIGHUP signals during signal handling
- 1522661: Constrict is_hypervisor field to fake virt ([email protected])
- 1695538: Provide support for hypervisor_id option
- 1695519: use correct uuid in kubevirt report ([email protected])
* Mon May 13 2019 William Poteat <[email protected]>
- Update releasers ([email protected])
- 1641953: Virt-who fails if one hypervisor has wrong encrypted password
- 1506167: Ignore new SIGHUP signals during signal handling
- 1522661: Constrict is_hypervisor field to fake virt ([email protected])
- 1695538: Provide support for hypervisor_id option
- 1695519: use correct uuid in kubevirt report ([email protected])
* Wed Apr 03 2019 William Poteat <[email protected]> 0.24.4-1
- 1667522: Omit ESX host from report when no hostname is present
- 1693858: Send hardware uuid on every check in for system reconcilliation
- kubevirt: provide user authentication ([email protected])
- 1486270: pass no_proxy from config files ([email protected])
- kubevirt: drop kubernetes and kubevirt dependencies
- 1638250: Improved fix for http proxy issue ([email protected])
- Update releaser ([email protected])
* Wed Apr 03 2019 William Poteat <[email protected]>
- 1667522: Omit ESX host from report when no hostname is present
- 1693858: Send hardware uuid on every check in for system reconcilliation
- kubevirt: provide user authentication ([email protected])
- 1486270: pass no_proxy from config files ([email protected])
- kubevirt: drop kubernetes and kubevirt dependencies
- 1638250: Improved fix for http proxy issue ([email protected])
- Update releaser ([email protected])
* Fri Dec 21 2018 William Poteat <[email protected]> 0.24.2-1
- 1657104: Remove references to removed command line options
- Fixing kubevirt config path argument ([email protected])
- fix travis run ([email protected])
- 1650133: setuptools naming change ([email protected])
- 1638250: Proxy issue when https not specified ([email protected])
- Update branch definition for RHEL 8.0 branch ([email protected])
- ENT-896: Disable deprecated configuration options in python 3
- 1637407: vCenter mapping info failure due to TypeError ([email protected])
* Mon Oct 29 2018 William Poteat <[email protected]> 0.24.1-1
- Merge in changes from Fedora packaging ([email protected])
- ENT-826 Added correlation id to virt-who reports ([email protected])
- Releaser addition for rhel-7.7 ([email protected])
- Install subscription-manager, not python-rhsm which is deprecated: - Removed
python-rhsm from the requirements, and added subscription-manager as
dependency. - Added some dependencies that travis requires to install
subscription-manager. ([email protected])
* Wed Sep 19 2018 William Poteat <[email protected]> 0.24.0-1
- Automatic commit of package [virt-who] release [0.22.2-1].
- kubevirt: warn user that dependencies are missing
- 1369634: Dont log proxy html errors for hyperv: - When hyperv gets an HTML
page as error response from a proxy, don't log the whole html, but try to
scrape the title off of it. - If scraping the title doesn't work, only log
the http error code. - Changed all variables named 'xml' to 'xml_doc' in
hyperv.py to avoid conflict with the new python keyword.
- 1599725: Handle job status report errors ([email protected])
- 1557296: Warn of commented out lines prefixed with space/tab (ENT-606) - When
reading config files in python2, warn the user if a line continuation (starts
with space/tab) is followed by '#' ([email protected])
- kubevirt: Ignore vmis in Scheduling ([email protected])
- kubevirt: Update config ([email protected])
- Print/log debug information about filtered hosts ([email protected])
- 1577954: Added config option filter_type; ENT-580 ([email protected])
- Changed info about how filter_host_parents/exclude_host_parents filters work
- 1387800: set name of ESX cluster properly; ENT-793 ([email protected])
- Add release entry for RHEL 8 ([email protected])
- template update ([email protected])
- template update ([email protected])
- 1596041: Make python libvirt required ([email protected])
- updating RHV/RHEV/XenServer information ([email protected])
- 1581021: Decode error from unicode passwords ([email protected])
- 1510920: Change the choreography for the job status check
- ENT-493: Add option to command line to return version
- Update executor.py ([email protected])
- kubevirt: rename virtual machine instance ([email protected])
- Update for build process ([email protected])
- Fixed hyperv wmi query. Invalid response (500)
- 1432140: Log when a duplicate hypervisor id is detected [ENT-568]
- 1368341: Warn that --sam/--satellite6 are unused & deprecated * Now logging a
warning when --sam/--satellite6 are used. * man page and --help output
updated to explaing that these options are unused and virt-who will report to
either sam/satellite/stage candlepin regardless of their being there.
- 1455062: Partial fix of high CPU usage, when many conf files used
- Correction to the spec file condition for python 3 ([email protected])
- ENT-554 Host reports for libvirt and rhevm include the system hardware uuid
- Add releaser for RHEL 7.6 ([email protected])
- Remove f26 releaser (f26 is EOL) ([email protected])
* Wed Sep 19 2018 William Poteat <[email protected]>
- Automatic commit of package [virt-who] release [0.22.2-1].
- kubevirt: warn user that dependencies are missing
- 1369634: Dont log proxy html errors for hyperv: - When hyperv gets an HTML
page as error response from a proxy, don't log the whole html, but try to
scrape the title off of it. - If scraping the title doesn't work, only log
the http error code. - Changed all variables named 'xml' to 'xml_doc' in
hyperv.py to avoid conflict with the new python keyword.
- 1599725: Handle job status report errors ([email protected])
- 1557296: Warn of commented out lines prefixed with space/tab (ENT-606) - When
reading config files in python2, warn the user if a line continuation (starts
with space/tab) is followed by '#' ([email protected])
- kubevirt: Ignore vmis in Scheduling ([email protected])
- kubevirt: Update config ([email protected])
- Print/log debug information about filtered hosts ([email protected])
- 1577954: Added config option filter_type; ENT-580 ([email protected])
- Changed info about how filter_host_parents/exclude_host_parents filters work
- 1387800: set name of ESX cluster properly; ENT-793 ([email protected])
- Add release entry for RHEL 8 ([email protected])
- template update ([email protected])
- template update ([email protected])
- 1596041: Make python libvirt required ([email protected])
- updating RHV/RHEV/XenServer information ([email protected])
- 1581021: Decode error from unicode passwords ([email protected])
- 1510920: Change the choreography for the job status check
- ENT-493: Add option to command line to return version
- Update executor.py ([email protected])
- kubevirt: rename virtual machine instance ([email protected])
- Update for build process ([email protected])
- Fixed hyperv wmi query. Invalid response (500)
- 1432140: Log when a duplicate hypervisor id is detected [ENT-568]
- 1368341: Warn that --sam/--satellite6 are unused & deprecated * Now logging a
warning when --sam/--satellite6 are used. * man page and --help output
updated to explaing that these options are unused and virt-who will report to
either sam/satellite/stage candlepin regardless of their being there.
- 1455062: Partial fix of high CPU usage, when many conf files used
- Correction to the spec file condition for python 3 ([email protected])
- ENT-554 Host reports for libvirt and rhevm include the system hardware uuid
- Add releaser for RHEL 7.6 ([email protected])
- Remove f26 releaser (f26 is EOL) ([email protected])
* Sat Jul 14 2018 Fedora Release Engineering <[email protected]> - 0.22.2-1.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Tue Jun 19 2018 Miro Hrončok <[email protected]> - 0.22.2-1.1
- Rebuilt for Python 3.7
* Thu May 31 2018 William Poteat <[email protected]> 0.22.2-1
- Correct date ordering in changelog ([email protected])
- 1575513: Re-add changelog entries that were merged out. ([email protected])
- 1560598: Pass hostname to M2Crypto in STOMP client ([email protected])
- Make vdsm respect RHSM_USE_M2CRYPTO var ([email protected])
- Set up Travis CI to use Python 3 ([email protected])
- Fixing python 2 -> 3 issue ([email protected])
- kubevirt support ([email protected])
* Mon May 07 2018 William Poteat <[email protected]> 0.22.1-1
- 1542652: When the -c option is used, don't parse the default files
- 1569299: try/exception needed for hypervisor_id check ([email protected])
- Update tito releasers to include newer versions of fedora
- 1560461: Make env and owner options required for approprite cases
- 1554228: Unicode issue on status update call ([email protected])
- 1387800: [RFE] virt-who can report cluster in host-to-guest mapping
- Updates for future builds based on changing environments ([email protected])
- limit version of libvirt-python ([email protected])
- 1447022: Log warning, when wrong filter is in config file
- 1511644: Support running virt-who on python 3 ([email protected])
- 1520236: Do not log traceback, when server returns 429 http error
- 1492074: Enable login to ESX using password with UTF-8 string
- 1353119: Add JSON-RPC support for VDSM ([email protected])
- 1509597: Enable to use virt-who wih VDSM again ([email protected])
- 1522383: Remove global option background ([email protected])
- 1523548: Options log_dir and log_file are not ignored ([email protected])
* Fri Feb 09 2018 Fedora Release Engineering <[email protected]> - 0.17-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Thu Dec 07 2017 Christopher Snyder <[email protected]> 0.21.2-1
- 1510310: Ensure that owner and env are required where necessary
- 1512778: ESX should require username, password, and server values
* Tue Nov 28 2017 Kevin Howell <[email protected]> 0.21.1-1
- 1511308: Only ESX supports: exclude_host_parents and filter_host_parents.
- 1509596: Use qemu+ssh transport if not provided (libvirt)
- 1511308: Xen and Hyper-V do not support some filter options
- 1510760: Ensure virt-who exits properly (w/ no good conf)
- 1509606: Remove duplicate output of validation messages ([email protected])
- 1509597: Fix issue with cli consistancy check for vdsm ([email protected])
- 1509595: Only expect owner on HostGuestAssociationReports
* Mon Oct 30 2017 Christopher Snyder <[email protected]> 0.21.0-1
- Update hypervisorCheckInAsync test for new config sections
- Update Config Refactor with changes from master ([email protected])
- Removed usage of old Config (not unit tests) ([email protected])
- Further clean up of unit tests ([email protected])
- Create Xen Config Subclass ([email protected])
- Create Rhevm Config Subclass ([email protected])
- Create VDSM config subclass ([email protected])
- Clean up ConfigSection Unit tests ([email protected])
- Adds FakeVirtConfigSection ([email protected])
- Configuration subclass for hyperv ([email protected])
- Implement EsxConfigSection ([email protected])
- Libvirtd ConfigSection Subclass ([email protected])
- Adds EffectiveConfig, ConfigSection ([email protected])
- Adds warning message for deprecated env vars ([email protected])
- 1503700: Updates to the job polling frequency ([email protected])
- 1502821: Remove undocumented, broken env var "VIRTWHO_DISABLE_ASYNC"
- 1466015: Warn of deprecation of command line options in next release
- remove non-existant variable fake_is_hypervisor ([email protected])
- 1485865: Do not replace /etc/virt-who.conf on rpm upgrade
- Utilize the owner from the first report seen, if we do not know the owner
- Updates based on review (use str.format) ([email protected])
- Fix example fake config in man docs ([email protected])
- Add m2crypto dependency ([email protected])
- 1211435: Don't send host-to-geust mapping, when env, owner are wrong
- 1408556: Log which owner updated mappings are being sent to
* Thu Jul 27 2017 Fedora Release Engineering <[email protected]> - 0.17-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Wed Jul 26 2017 Christopher Snyder <[email protected]> 0.20.4-1
- Point Source0 to GitHub ([email protected])
* Thu Jul 13 2017 Christopher Snyder <[email protected]> 0.20.2-1
- 1458184: better reading of environment variables ([email protected])
- 1401867: Enable logging of rhsm module to rhsm.log ([email protected])
- 1404117: Check parameter consistency and refactoring ([email protected])
- Adds a patch number to virt-who versioning ([email protected])
- 1401420: xen supports only uuid/hostname as hypervisor_id
- 1458674: Update use of result data to match the new async api
- 1452436: virt-who prints host-to-quest mapping everytime ([email protected])
- 1357761: Do not check passwords to be in latin1 encoding ([email protected])
- 1457101: Continue running despite malformed configs ([email protected])
- 1409984: Retry initial report retrieval on connection timeout
* Fri Jun 09 2017 Christopher Snyder <[email protected]> 0.20-1
- 1389729: Add missing xml section for test ([email protected])
- 1389729: virt-who incorrectly reports 'name' instead of 'hostname' for RHEV
hosts ([email protected])
- 1450747: Continue running destination threads on internal failure
- 1444718: Log name of config when duplicate reports are retrieved
- 1447264: Keep running on InvalidPasswordFormat given other valid configs
- 1448267: Fix polling behavior for oneshot, CTRL-C, 429 responses
- 1369107: Update docs and log messages to show the *.conf requirement
- 1436517: Fix api base detection for rhevm version 3 and 4
- 1442337: Send updates immediately the first run ([email protected])
- Do not join threads not started, fix up fake backend ([email protected])
- 1439317: Ensure reports are still sent despite duplicate configurations
- DestinationThreads now send all reports ([email protected])
- Adds IntervalThread base class and refactors Virt classes
- Remove reference to nonexistant method _set_option ([email protected])
- Update ConfigManager to produce destination and source mappings.
- Implemements a threadsafe datastore ([email protected])
- Move from using processes to threads ([email protected])
- 1436517: Set Version header for version detect ([email protected])
- 1403640: Fix syntax error in exception handling ([email protected])
- Update the spec file for builds on more downstream platforms
- Add releaser for rhel-7.4 ([email protected])
- 1391512: Handle utf-8 within Xmlrpc transport ([email protected])
* Thu Mar 02 2017 Christopher Snyder <[email protected]> 0.19-1
- 1415497: Support rhev4 auto detection and usage ([email protected])
- 1388577: Adding UTF-8 support ([email protected])
- 1410000: Include org_id in hv base channel ([email protected])
- 1400431: Fix AttributeError where val is missing ([email protected])
- 1405967: Filter host via glob or regex ([email protected])
- Adds --password option to virt-who-pasword ([email protected])
- 1392390 Fix default interval handling ([email protected])
- BZ1405967 Add filter_hosts_regex, and exclude_hosts_regex to allow filtering
large numbers of hosts easily ([email protected])
- 1369107: Only load files with .conf extension ([email protected])
- 1383436: Obey the interval setting ([email protected])
- 1299643: Update virt-who-config man page to include NO_PROXY
* Sat Feb 11 2017 Fedora Release Engineering <[email protected]> - 0.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Oct 11 2016 Radek Novacek <[email protected]> 0.18-1
- Version 0.18
* Tue Jul 19 2016 Fedora Release Engineering <[email protected]> - 0.17-2
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
* Tue May 24 2016 Radek Novacek <[email protected]> - 0.17-1
- Rebase to 0.17
* Tue May 17 2016 Radek Novacek <[email protected]> 0.17-1
- Version 0.17
* Fri Feb 05 2016 Fedora Release Engineering <[email protected]> - 0.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Dec 17 2015 Radek Novacek <[email protected]> 0.16-1
- Version 0.16
* Tue Aug 04 2015 Devan Goodwin <[email protected]> 0.15-1
- Update spec for renamed README.md. ([email protected])
- Moves fakevirt._decode() to util.decode() ([email protected])
- Adds the report.config.name to log message when refusing to send a report due
to lack of change ([email protected])
- VirtWho: Clears list of reports on reload ([email protected])
- Revises change detection tests to account for changes in master
- Libvirtd: Sends a report on start up, and on events ([email protected])
- Removes trailing line at the end of the file ([email protected])
- Test_Esx: Test Oneshot to ensure it queues a report ([email protected])
- Esx: only queue data if the version has changed ([email protected])
- Test_VirtWho:Patches manager.Manager.fromOptions, removes unnecessary mocks
- Removes unhelpful debug log message ([email protected])
- Fix spacing, remove unused imports ([email protected])
- Test_VirtWho: Adds test to show same report will not be sent twice
- VirtWho: Adds basic change detection using report hashs ([email protected])
- Adds hash property to config ([email protected])
- Adds hash property to DomainListReport and HypervisorGuestAssociationReport
- Hypervisor: Adds getHash class method ([email protected])
- Limits interval settings ([email protected])
- Retry sending data to subscription manager multiple times before dropping
- SubscriptionManager: nicely order keys in debug report ([email protected])
- Fix serialization of guest list in print mode ([email protected])
- Do not exit oneshot mode if any job exists ([email protected])
- SubscriptionManager: check if report result has failedUpdate item
- SubscriptionManager: minor logging fixes ([email protected])
- SubscriptionManager: add env var to disable asynchronous reporting
- Check jobs status in increasing interval ([email protected])
- Esx: report host even if it doesn't have any guests ([email protected])
- Hypervisors reported by hyperv now include hostname. ([email protected])
- Removes completed jobs. ([email protected])
- Fix output format in print mode ([email protected])
- Fix using empty list as default parameter value ([email protected])
- satellite: support new hypervisor format ([email protected])
- Fix tests failures ([email protected])
- Removes timeouts for jobs. All jobs in the list are now executed just before
a new report is sent. ([email protected])
- The virtwho loop now blocks on the report queue with a one second timeout
- Removes unnecessary imports and queue ([email protected])
- Rewrite readme to markdown syntax ([email protected])
- CI: install unittest2 from pypi ([email protected])
- CI: add -y option to add-apt-repository ([email protected])
- CI: another attempt on cloud archive for libvirt ([email protected])
- CI: try to install newer version of libvirt from cloud archive
- CI: add libvirt-dev dependency ([email protected])
- CI: install libvirt-python via pip ([email protected])
- CI: another attempt without site-packages ([email protected])
- CI: install python-rhsm dependencies ([email protected])
- Adds support for facts in Hypervisor profile. ([email protected])
- Adds count of unchanged mappings to the info logged for the result of an
async job ([email protected])
- Adds tests for jobs in virtwho, removes unnecessary tests for managerprocess.
- Changes to ensure backwards compatibility with python-rhsm
- Fixes RhevM.getHostGuestMapping() as suggested by rnovacek
- Adds layer to hypervisorId. Removes completed TODO ([email protected])
- Moves all functionality of managerprocess into virtwho. ([email protected])
- CI: use python with system side packages enabled ([email protected])
- CI: install m2crypto using apt instead of pip ([email protected])
- CI: install python-libvirt using apt instead of pip ([email protected])
- Add requirements.txt and .travis.yml for the CI ([email protected])
- Adds tests to verify the hostGuestAssociation is generated correctly.
- Updates libvirtd and tests to add host name to hypervisor profile
- Updates managerprocess with better logging and changes for the new tests.~~
- Updates to use the new hypervisor class ([email protected])
- print mode: format debug message about found hypervisors
- Removing uncesasary comments ([email protected])
- Removes unused dictionary of jobs and associated methods.
- Fixes tests data to include "status" key. ([email protected])
- Updates tests to make use of new Hypervisor class. ([email protected])
- Host name is now included in the hypervisor profile using the new Hypervisor
class ([email protected])
- Adds new Hypervisor class. ([email protected])
- Adds new test for the updates to subscriptionmanager.py ([email protected])
- Updates fakevirt to make use of virt.Guest classes ([email protected])
- Changes to ensure proper execution post-merge ([email protected])
- Removing more unnecessary prints ([email protected])
- Fixes oneshot mode for work with new managerprocess ([email protected])
- Cleaning up unneeded prints and adding more useful debug log messages
- Adds async job status polling for use with the new report API
- This (along with python-rhsm/csnyder/new_report_api ee38f15, allows
communication with new report api ([email protected])
* Tue Jun 23 2015 Radek Novacek <[email protected]> 0.14-1
- Version 0.14
* Fri Jun 19 2015 Fedora Release Engineering <[email protected]> - 0.8-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Tue Mar 17 2015 Radek Novacek <[email protected]> 0.13-1
- new package built with tito
* Fri Feb 27 2015 Radek Novacek <[email protected]> 0.12-1
- Version 0.12
* Tue Feb 03 2015 Radek Novacek <[email protected]> 0.8-11
- Fix permission of /etc/sysconfig/virt-who file
- Resolves: #1186034
* Mon Sep 08 2014 Radek Novacek <[email protected]> 0.11-1
- Version 0.11
* Sun Jun 08 2014 Fedora Release Engineering <[email protected]> - 0.8-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Tue May 20 2014 Radek Novacek <[email protected]> 0.10-1
- Add directory with configuration files
- Version 0.10
* Thu Mar 13 2014 Radek Novacek <[email protected]> 0.9-1
- Remove libvirt dependency
- Add dependency on m2crypto
- Version 0.9
* Sun Aug 04 2013 Fedora Release Engineering <[email protected]> - 0.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Jun 14 2013 Radek Novacek <[email protected]> 0.8-8
- Increase ESXi compatibility
- Resolves: rhbz#923760
* Fri Feb 15 2013 Fedora Release Engineering <[email protected]> - 0.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Nov 27 2012 Radek Novacek <[email protected]> 0.8-6
- Add systemd support
- specfile cleanup
* Thu Oct 25 2012 Radek Novacek <[email protected]> 0.8-5
- Fix adding https:// to ESX url
* Wed Oct 24 2012 Radek Novacek <[email protected]> 0.8-4
- Help and manpage improvements
* Wed Oct 17 2012 Radek Novacek <[email protected]> 0.8-3
- Fix bugs in Hyper-V support (patch rebased)
- Create PID file ASAP to prevent service stop fails
* Thu Oct 11 2012 Radek Novacek <[email protected]> 0.8-2
- Add support for accessing Hyper-V
* Wed Sep 26 2012 Radek Novacek <[email protected]> 0.8-1
- Upstream version 0.8
- RFE: command line improvements
- Add support for accessing RHEV-M
- Fix printing tracebacks on terminal
* Fri Sep 14 2012 Radek Novacek <[email protected]> 0.8-1
- Version 0.8
* Mon Jul 09 2012 Radek Novacek <[email protected]> 0.7-1
- Version 0.7
* Thu Apr 26 2012 Radek Novacek <[email protected]> 0.6-6
- Handle unknown libvirt event properly
* Wed Apr 18 2012 Radek Novacek <[email protected]> 0.6-5
- Enable debug output to be written to stderr
- Log guest list to log even in non-debug mode
* Tue Apr 17 2012 Radek Novacek <[email protected]> 0.6-4
- Fix regression in double fork patch
* Wed Mar 28 2012 Radek Novacek <[email protected]> 0.6-3
- Do double fork when daemon is starting
* Fri Mar 09 2012 Radek Novacek <[email protected]> 0.6-2
- Add python-suds require
- Requires python-rhsm >= 0.98.6
* Thu Mar 01 2012 Radek Novacek <[email protected]> 0.6-1
- Rebase to virt-who-0.6
* Mon Feb 13 2012 Radek Novacek <[email protected]> 0.6-1
- Version 0.6
* Fri Dec 09 2011 Radek Novacek <[email protected]> 0.5-1
- VSphere support
- Req: python-suds
* Wed Nov 30 2011 Radek Novacek <[email protected]> 0.4-1
- Version 0.4
* Wed Oct 12 2011 Radek Novacek <[email protected]> 0.3-3
- Use updateConsumer API instead of updateConsumerFact (fixes limit 255 chars of uuid list)
- Requires python-rhsm >= 0.96.13
* Thu Oct 06 2011 Radek Novacek <[email protected]> - 0.3-2
- Requires python-rhsm >= 0.96.13 (contains fix for char limit in uuid list)
* Wed Sep 07 2011 Radek Novacek <[email protected]> - 0.3-2
- Add upstream patch that prevents failure when server not implements /status/ command
* Thu Sep 01 2011 Radek Novacek <[email protected]> - 0.3-1
- Add initscript and configuration file
* Mon Aug 22 2011 Radek Novacek <[email protected]> - 0.2-2
- Bump release because of tagging in wrong branch
* Mon Aug 22 2011 Radek Novacek <[email protected]> - 0.2-1
- Update to upstream version 0.2
- Add Requires: libvirt
* Fri Aug 19 2011 Radek Novacek <[email protected]> - 0.1-2
- Add BuildRoot tag (the package will be in RHEL5)
* Wed Aug 10 2011 Radek Novacek <[email protected]> - 0.1-1
- initial import