^^^^^^^^^^^^^^
This version contains all fixes up to version 0.21.2.
Released: 2021-07-02
**Incompatible changes:**
* The zhmc command now verifies HMC server certificates by default, using the
CA certificates in the 'certifi' Python package. This verification will reject
the self-signed certificates the HMC is set up with initially. To deal with
this, install a CA-verifiable certificate in the HMC and specify the correct
CA certificates with the new '-c / --ca-certs' option. As a temporary quick
fix, you can disable the verification with the new '-n / --no-verify'
option.
**Bug fixes:**
* Fixed install error on Python>=3.6 caused by click-repl being incompatible
with click 8.0.
* Fixed the issue that some commands (e.g. cpc list) stopped the spinner too
early. (issue 142)
* Docs: Added statement that the command group for HBAs can be used only on
z13 and earlier. (issue 199)
* Docs: Clarified which command groups can only be used in DPM mode or in
classic mode. (issue 200)
**Enhancements:**
* The zhmc command now supports verification of the HMC server certificate.
There are two new command line options '-n / --no-verify' and '-c / --ca-certs'
that control the verification behavior.
* Increased the minimum version of zhmcclient to 0.32.0. Adjusted code to
accommodate the immutable properties of resource objects.
* Added a '-T' / '--operation-timeout' general option to the following commands,
that specifies the operation timeout when waiting for completion of
asynchronous HMC operations. (issue 126)
- lpar activate
- lpar deactivate
- lpar load
- lpar stop
- lpar psw_restart
- lpar scsi-load
- lpar scsi-dump
- partition start
- partition stop
- partition dump
- storagegroup discover-fcp
* Partition commands: On HMC 2.14.0 and later, the partition commands now use
the "List Permitted Partitions" operation instead of going through the CPC,
which improves the response time, and no longer requires that the user has
object access permission to the targeted CPC.
In addition, the CPC on the 'partition list' command is now optional. If not
specified, permitted partitions on all managed CPCs are listed.
(issue 192)
* Lpar commands: On HMC 2.14.0 and later, the lpar commands now use the
"List Permitted Logical Partitions" operation instead of going through the
CPC, which improves the response time.
In addition, on HMC API version 3.6 or later (an update to HMC 2.15.0),
the lpar commands no longer require that the user has object access permission
to the targeted CPC.
In addition, the CPC on the 'lpar list' command is now optional. If not
specified, permitted LPARs on all managed CPCs are listed.
(issue 192)
* The 'nic create' and 'nic update' commands can now specify the backing port
with the --adapter and --port options for all types of network adapters.
Previously, they could be used only for OSA and Hipersocket adapters.
The --virtual-switch option has been deprecated but for compatibility reasons
is still supported for OSA and Hipersocket adapters. (issues 201, 198)
**Cleanup:**
* Added the missing closing of the image file in the 'partition mount-iso'
command.
* Disabled a Pylint 'consider-using-with' issue on a Popen in test code that
was properly terminated again.