Releases: linux-nvme/nvme-stas
v2.2.2
Summary
Bug fix: During a software upgrade, while migrating the previous last known configuration, an old TID object may not contain a self._cfg member. To avoid crashing the system while loading the old config, one must introspect the old TID object to see if it contains a self._cfg member before trying to access it.
What's Changed
- trid: Fix migration of old TID object (introspect self._cfg member) by @martin-belanger in #367
Full Changelog: v2.2.1...v2.2.2
v2.2.1
Summary
Just a few bug fixes. See NEWS.md.
What's Changed
- staslib: Fix setting controller DHCHAP key by @martin-belanger in #341
- test: Adding more tests for recent changes to conf.py by @martin-belanger in #342
- test: Fix a few debug commands affected by recent changes to conf.py by @martin-belanger in #343
- release: v2.2.1 by @martin-belanger in #345
Full Changelog: v2.2...v2.2.1
v2.2
Summary
This release adds support for in-band authentication.
What's Changed
- test: GitHub Actions failing during "apt-get update" by @martin-belanger in #324
- docs: Cosmetic corrections by @martin-belanger in #325
- build: Fix "make deb" by @martin-belanger in #326
- staslib: Just a bunch a minor clean-ups by @martin-belanger in #327
- test: Better loop support in nvmet.py utility by @martin-belanger in #328
- test: Try to fix GitHub actions by @martin-belanger in #329
- Wrap long lines by @bdrung in #333
- staslib: Adding support for Host DHCHAP Key by @martin-belanger in #335
- Fix man pages by @martin-belanger in #336
- staslib: Cosmetic - ran black to fix formatting by @martin-belanger in #337
- staslib: Add support for controller DHCHAP key by @martin-belanger in #338
- doc: Add documentation for controller override configuration by @martin-belanger in #339
- Release: v2.2 by @martin-belanger in #340
New Contributors
Full Changelog: v2.1.3...v2.2
v2.1.3
Summary
- Better handling of udev events and elimination of race condition between
nvme-stasandnvme-cli. - Code format is now enforced by
black. The commandmake blackhas been added to help developers make sure their contributions follow the right format.
What's Changed
- build(deps): bump docker/build-push-action from 3.3.0 to 4.0.0 by @dependabot in #312
- test: Mock systemd.journal.JournalHandler() by @martin-belanger in #313
- test: Run mypy static code analysis by @martin-belanger in #314
- staslib: Fix fallback udev rule by @martin-belanger in #315
- build: Fix "make rpm" by @martin-belanger in #317
- staslib: Disable udev-rule permanently by @martin-belanger in #318
- staslib: Fix memory corruption when running multiple threads by @martin-belanger in #319
- test: Add black to the GitHub actions by @martin-belanger in #320
- Release 2.1.3-rc2 by @martin-belanger in #321
- release: v2.1.3 by @martin-belanger in #323
Full Changelog: v2.1.2...v2.1.3
v2.1.2
Summary
A few bug fixes:
- Documentation: Fix Read-the-Docs generation with Sphinx. A bug was recently introduced upstream in Sphinx, which causes nvme-stas documentation generation to fail. Had to pin Sphinx version to 5.3.0 until the bug is fixed upstream (it's actually fixed, but the Read-the-Docs site hasn't picked it up yet)
- Avahi: Add support for protocols RoCE and iWARP of mDNS TXT field.
- Avahi: Add
_nvme-disc._udpto the list of supported mDNS service types.
What's Changed
- doc: Pin sphinx version to 5.3.0. by @martin-belanger in #302
- build(deps): bump docker/build-push-action from 3.2.0 to 3.3.0 by @dependabot in #303
- build(deps): bump docker/metadata-action from 4.1.1 to 4.3.0 by @dependabot in #304
- build(deps): bump hadolint/hadolint-action from 3.0.0 to 3.1.0 by @dependabot in #306
- test: Testing for _nvme-disc._tcp need to use assertIn() by @martin-belanger in #307
- staslib: fix RoCE support by @martin-gpy in #305
- staslib: Cosmetic changes (missing a space, move a comment) by @martin-belanger in #308
- staslib: Add _proto2trans() to convert protocol to transport by @martin-belanger in #309
New Contributors
- @martin-gpy made their first contribution in #305
Full Changelog: v2.1.1...v2.1.2
v1.1.9
Summary
Backported changes from the main branch:
- In avahi.py, add support for RoCE protocol
- In conf.py, add
_nvme-disc._udpto the list of supported mDNS service types (stype)
What's Changed
- V1.1.9 by @martin-belanger in #310
Full Changelog: v1.1.8...v1.1.9
v2.1.1
Summary
This release introduces a mechanism to ensure that Connect/Disconnect operations happen in the right order. This can be an issue when a large number of connections are made (> 100) and several of those connections fail. It takes the Linux NVMe driver 3 seconds to time out on a failed connection. And since the driver serializes the creation of connections, it can take several minutes for the kernel to cycle through a large number of failing connection requests. In other words, given 100 connection requests, and if every connection request fails, it will take the kernel 300 seconds (5 minutes) to cycle through all 100 requests. If during that 5 minutes we have changes to the configuration that require that some (or all) of these connections should be removed, we can end up with a Disconnect being requested while the kernel has yet to process the corresponding Connect. This results in Connect/Disconnect being processed in the reverse order.
What's Changed
- More unit/coverage tests and improve name resolution engine by @martin-belanger in #293
- Improve coverage. Add __get_int() function by @martin-belanger in #294
- stafd: Fix handling of lost zeroconf-discovered DC by @martin-belanger in #295
- Move handling of unresponsive DCs to _config_ctrls_finish() by @martin-belanger in #296
- test: Cosmetic changes to coverage log messages by @martin-belanger in #297
- Fix reverse order Connect/Disconnect operations by @martin-belanger in #299
- 2.1.1 fixes by @martin-belanger in #301
Full Changelog: v2.1...v2.1.1
v2.1
Summary
- A new feature was introduced to automatically remove discovery controllers discovered through zeroconf (mDNS) when they are no longer responding. See NEWS.md for details.
- This release also provides some bug fixes.
- Finally, a lot of changes were made to Read-the-Docs documentation format.
What's Changed
- build: Fix libnvme subproject dependency for distro builds by @martin-belanger in #279
- udev: Throttle EnvironmentError exception messages by @martin-belanger in #280
- staslib: Trim whitespaces at the source by @martin-belanger in #281
- build(deps): bump hadolint/hadolint-action from 2.1.0 to 3.0.0 by @dependabot in #283
- build: Cleanup/Simplify meson build infra by @martin-belanger in #284
- staslib: Add load_idl() with multi Python versions support by @martin-belanger in #285
- docs: Updated and Improved Read-The-Docs format by @martin-belanger in #286
- Clean readthedocs by @martin-belanger in #288
- tests: Remove link-local addresses from unit tests by @martin-belanger in #289
- Add new conf. parameters and conf. validation code by @martin-belanger in #291
- build(deps): bump fedora from 36 to 37 by @dependabot in #287
- stafd: Add zeroconf-connections-persistence conf. parameter by @martin-belanger in #292
Full Changelog: v2.0...v2.1
v1.1.8
Summary
This release addresses SuSE's issue 1205873.
What's Changed
- Avahi: Allow uppercase/lowercase "NQN/nqn" key in TXT field by @martin-belanger in #290
Full Changelog: v1.1.7...v1.1.8
v1.1.7
Summary
This release addresses SuSE's issue 1204975.
What's Changed
- staslib: Trim white spaces from DLPEs and manual configuration. by @martin-belanger in #282
Full Changelog: v1.1.6...v1.1.7