Update (python-)zhmcclient to latest release
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
Skipper Bug Screeners | ||
zhmcclient (Ubuntu) |
Fix Released
|
Medium
|
Matthieu Clemenceau | ||
Focal |
Fix Released
|
Medium
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
In order to remotely power-cycle IBM z14 GA2 (or newer) or IBM LinuxONE III (or newer) machines/LPARs from within a MAAS controller, the python3-zhmcclient libraray (>= v0.29) is needed, to provide all the functions required for controlling the HMC.
[Test Plan]
* setup a MAAS controller inside a LPAR
* use that controller to deploy a new Ubuntu Server instance in an additional LPAR
* use that controller to deploy a new Ubuntu Server instance inside a KVM host (inside another LPAR)
* Power-cycle the LPAR instance
* Power-cycle the KVM instance
* on top and for regression testing the example (as shipped by the zhmcclient) can be ran as well (as far as possible on a non-DPM HMC setup):
https:/
Also get confirmation from the MAAS team that things are working as expected.
[Where problems could occur]
This library is s390x only and zhmcclient isn’t widely used yet, it has very limited exposure within the s390 environment. If we would be hit by a regression, we would not be able to power-cycle or deploy any LPAR (or KVM host inside LPAR) machine, using a Focal-based MAAS controller.
This is basically also the status quo, as the current version in Focal (v0.22) does not allow for that functionality either.
Reviewing the changes/commits starting from 0.28 to 0.31 (68 + 37 + 27 + 15 commits) let me think that these are largely unintrusive, just a few new features were added (like DPM Capacity Groups), the docs, examples and lots of meta updated, error and exception handling refined <important>, and last but not least several important bugs fixed (for installation, .find for objects <again important>, certificates, missing argument in method) - some of them were identified during the development of DPM/LPAR support in MAAS earlier this year (for example LP#1916475).
Therefore, and because the zhmcclient is not wide-spread yet (since MAAS v3.0 is the first version that can make use of it and was just made available on June the 22nd), it's for accessing and managing Z systems only via the HMC API, which not many organizations allow (in general - for security reasons) and because v0.31 was the version that was already used for development _nd final product testing (these days as a git clone), makes me rating the regression risk as low.
[Other Info]
* https:/
* As this is only used on MAAS controllers, running LTS releases, the backport is not needed for Hirsute 21.04
* The new package dependencies are fulfilled in Focal:
- python3-requests >= 2.20.1 (focal contains 2.22.0-2ubuntu1 in main)
- python3-decorator >= 4.0.11 (focal contains 4.4.2-0ubuntu1 in main)
=== Original description ===
While working on MAAS DPM/LPAR it turned out that a newer python-zhmcclient (package zhmcclient) is needed to get certain functions work, like especially storage group support.
The latest is package is v0.27 on hirsute and v0.22 on focal.
v0.28 is currently the latest release, but 0.29 is coming shortly.
https:/
Hence an updated package (ideally to 0.29) is needed for focal (knowing that this will require a good justification: https:/
Please notice that MAAS was the only reason why the zhmcclient package was created at all.
The updated package is especially needed for focal, since focal is the recommended base distro for MAAS DPM/LPAR, hence this would require a special SRU (for this package version bump).
description: | updated |
description: | updated |
description: | updated |
tags: | added: fr-1395 |
tags: | added: upgrade-software-version |
Changed in zhmcclient (Ubuntu): | |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | Triaged → Fix Committed |
description: | updated |
description: | updated |
Changed in zhmcclient (Ubuntu Focal): | |
status: | New → In Progress |
description: | updated |
Changed in zhmcclient (Ubuntu Focal): | |
importance: | Undecided → Medium |
description: | updated |
Changed in zhmcclient (Ubuntu Focal): | |
status: | Incomplete → In Progress |
Changed in zhmcclient (Ubuntu Hirsute): | |
status: | New → In Progress |
Setting to incomplete until 0.29 is officially out.