Skip to content

Releases: xenserver/status-report

v2.0.5

18 Jun 12:13
07fff31
Compare
Choose a tag to compare

User-visible fixes

  • CA-394409: plugins: Fix multiple file patterns for the same directory by @bernhardkaindl in #115
    • Fixes collection of logs from tapdisk and auto-cert-kit
  • CP-49659: Fix modinfo to not abort output on non-ASCII characters by @bernhardkaindl #112 /
    • Fixes collecting all modinfo outputs even when modules where the authors have non-ASCII characters are loaded (rare occurrence)
  • CP-49680: Support unquoted values in /etc/xensource-inventory by @bernhardkaindl in #114
    • Fixes bugtool to not abort in extreme cases when /etc/xensource-inventory does not have a management interface (that should not happen, only happened in XenRT, likely due to a DHCP failure)

Details of all merged PRs

  • Allow repos to use Sonar to manage clean code, fix warnings by @bernhardkaindl in #98
  • CA-390759: Revert removal of PBIS (PowerBroker Identity Service) for future backports. by @bernhardkaindl in #99
  • CP-48198: Fix Codecov uploads from the merged commits on master by @bernhardkaindl in #107
  • CP-48198: docs-only: test_filter_xapi_clusterd_db.py: Clean-up of comment in header by @bernhardkaindl in #102
  • CP-48198: pre-commit.md: Minor updates and cleanups by @bernhardkaindl in #101
  • CP-48198: docs-only: test_filter_xapi_clusterd_db.py: Clean-up long comments by @bernhardkaindl in #103
  • CP-48198: .codecov.yml: Fix Py3 coverage flag used to python3.10 by @bernhardkaindl in #106
  • CP-48198: test_filter_xapi_clusterd_db.py: Self-test asserting the expected output by @bernhardkaindl in #104
  • CP-48198: Fix running pytest on tests/integration in GitHub CI (with coverage) by @bernhardkaindl in #105
  • CA-392459: Avoid opening /dev/mem when calling biosdevname by @rosslagerwall in #108
  • README.md: Add an FAQ on Code compexity relative to Python2 support by @bernhardkaindl in #110
  • CP-49659: Test modinfo returning non-ASCII characters and fix the triggered error by @bernhardkaindl in #112
  • pytest: Add support for pytest-8.2 on Python3.11 (color, verbose) by @bernhardkaindl in #113
  • CP-49680: Support unquoted values in /etc/xensource-inventory by @bernhardkaindl in #114
  • CA-394409: plugins: Fix multiple file patterns for the same directory by @bernhardkaindl in #115

New Contributors

Full Changelog: v2.0.4...v2.0.5

v2.0.4

26 Mar 10:32
Compare
Choose a tag to compare

What's Changed

Release v2.0.4 contains only fixes for error handling and error logging

  • Two minor error handling fixes for issues that could be seen with Python 2.7 and Python 3.x, but are highly unlikely to occur.
  • Two minor error handling fixes that for issues that can only be seen with Python 3.x (and one of them only with Python 3.6)
  • Many improvements to documentation, tests and a minor clean-up of long obsolete code.

Please find the details below.

Fixes for xen-bugtool / xenserver-status-report

  • CA-390127: Fix saving all log messages by @bernhardkaindl in #92
  • CA-390129: Handle & log exceptions in dump_xapi_rrds() (Is hidden and disabled by default) by @bernhardkaindl in #94

Fixes for use with Python 3

  • CP-48447: Correct exception handling for callbacks of the func_output() calls by @bernhardkaindl in #92
  • CP-48444: Workaround crash of Python 3.6 with "Illegal seek" with --outfd by @bernhardkaindl in #91

Cleanup of obsolete code (Storage Link / CVSM was removed in XS 6.5)

  • CP-47521: Cleanup CAP_CVSM and StorageLink code (was removed in XS 6.5) by @bernhardkaindl in #95
  • CP-47521: Remove last forgotten leftover of the StorageLink code by @bernhardkaindl in #96

Tests and CI

Documentation

  • CP-46136: Add doc/release.md: Add documentation on tagging versions by @bernhardkaindl in #86
  • CP-46136: Add doc/testing.md: Describe the used test approach by @bernhardkaindl in #83
  • CP-46136: Fix mis-spellings noted by the Code spell checker plugin by @bernhardkaindl in #84

Full Changelog: v2.0.3...v2.0.4

v2.0.3

23 Feb 14:49
9ba210f
Compare
Choose a tag to compare

What's Changed

Two very small regression fixes only:

Full Changelog: v2.0.2...v2.0.3

v2.0.2

22 Feb 16:19
ebbf629
Compare
Choose a tag to compare

What's Changed

Code changes to xen-bugtool

Test suite updates

  • Cosmetic clean-up of the pytest fixtures in tests/unit/conftest.py by @bernhardkaindl in #70
  • Fix test for disk_list() to be OS-agnostic and test the major device number filter by @ashwin9390 in #80
  • Improve readability of integration tests by @bernhardkaindl in #74
  • Restore coverage upload to codecov (falls back to legacy uploader), add coveralls upload by @bernhardkaindl in #71

Documentation updates

  • Docs-only: Add tests/unit/conftest-README.md documenting tests/unit/conftest.py by @bernhardkaindl in #68
  • Clean-up README-pytest-chroot.md to 88 column width by @bernhardkaindl in #73

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.0

25 Jan 16:29
eb9a639
Compare
Choose a tag to compare

First release of xenserver-status-report with initial support for Python3

To be safe, it is still intended to be used with Python2 as the main interpreter, not all converted code was complete unit tests for Python3 yet.

Note: This does not change the shebang from #!/usr/bin/env python to a pure Python3 shebang:

  • It is not required as all the changes still support Python2 for XS8.2 CU2
  • On newer systems where python is a symlink to python3, it will work with Python3.

Summary of Major changes:

  • Support for Python 3.6 to 3.11 for new XenServer releases which use Python 3.6 and Python 3.10 or Python 3.10 (or 3.11)
  • Support for Python 2.7 is maintained and unit-tested to have tested code ready for backporting to older XCP platforms.
    • These backports can re-use existing testing.
    • Work on backports can use the existing code base and can be aligned to the master.
    • Less divergence between backports of xen-bugtool and new code:
      • Backports are planned to use this feature included in v2.0.0: #51
  • Unit-tested with code coverage of ~82% (1285 of 1566 lines) of using Python2.7 and Python3.10.13

Notable new features:

  • Feature: Capturing of XenServer SNMP config files with secrets filtering: #56

What's Changed

Full Changelog: v1.3.14...v2.0.0