[SRU] ubuntu-advantage-tools (27.0.2 -> 27.1) Xenial, Bionic, Focal, Groovy, Hirsute
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned | ||
Hirsute |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
This release provides fixes to numerous issues encountered and reported by users against the recent uatools 27.0.2 release. In general, there were situations or phrasing of messages were causing users confusion. For instance, improve error messaging if trying to enable livepatch with an old snapd installed (LP: #1927329) and noise in logs from (non-critical) segfault messages (LP: #1929123). In addition, this includes some refinements to how we communicate product availability based on what the user already has installed.
Below are the notable high-level changes in this SRU:
* avoid segfault when comparing null Apt file origin to esm (LP: #1929123)
* make cis service non-beta
* livepatch: alert when snapd does not have wait cmd (LP: #1927329)
* Do not show beta services in autocomplete (GH: #1594)
* Block enabling fips if fips-updates once enabled (GH: #1600)
* pro: obtain AWS IMDSv2 API token before trying to grab pkcs7 doc (GH: #1608)
* Several tweaks to output and messages
Finally, these are the links for the notable github issues we are solving in this release:
https:/
https:/
https:/
See the [Changelog] section below for a full list of fixes and other changes.
[Test Case]
The following development and SRU process was followed:
https:/
The ubuntu-
artifacts and console output of the appropriate run to the bug.
ubuntu-
until this has happened.
* Automated Test Results
Attached in a comment below.
* Manual Test Results
<TODO: attach manual upgrade path test from previous LTS to current -proposed release>
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned integration tests are attached to this bug.
This release mostly touches various messages output by ua-tools. If anyone is relying on particular output of ua-tools (which they shouldn't), then these changes will affect them.
We overrode some lintian errors in this release. It is possible that if we overrode them too liberally, it could prevent us from getting legitimate lintian errors in the future.
[Discussion]
This is a follow up release to 27 that addresses the issues discovered and reported after that release. It does not introduce any major features. The closest thing to a "new feature" is removing beta status from the "cis" service, but that is not so much adding a new feature as it is making an existing feature more visible.
[Changelog]
ubuntu-
* d/control:
- specify debianutils min version
* d/changelog:
- fix lintian typos amend and redact incorrect 27.0 entry (GH: #1624)
* lintian:
- override ubuntu-
- override xenial specific errors
- rename package-specific overrides for pro vs tools
* New upstream release 27.1:
- apt-hook:
+ avoid segfault when comparing null Apt file origin to esm
(LP: #1929123)
+ avoid wrapping static message formats at 80 chars
+ update go build flags based on lintian warnings (GH: #1626)
+ only add newlines for MOTD if message file length is non-zero
- attach: do not print contract name if empty
- autocomplete: Do not show beta services in autocomplete (GH: #1594)
- cis:
+ make service non-beta
+ post enable message pointing to docs
+ update cis help url
- docs: update releases.md per SRU review feedback on branch structuring
- enable: correct messaging for beta service (GH: #1588)
- errors: print a more helpful message when ssl fails (GH: #1618)
- fips:
+ Block enabling fips if fips-updates once enabled (GH: #1600)
+ Update output of fips commands (GH: #1631)
- livepatch: alert when snapd does not have wait cmd (LP: #1927329)
- logging: remove tracebacks for UserFacingErrors (GH: #1586)
- messaging:
+ Infra and Apps messaging is mutually exclusive (GH: #1573)
+ point to u.com/16-04 instead of u.com/advantage on ESM (GH: #1584)
+ separate _remove_
- pro: obtain AWS IMDSv2 API token before trying to grab pkcs7 doc
(GH: #1608)
- status: do not show info if not on contract (GH: #1592)
- tests:
+ drop trusty specific tests
+ fix mock for handle_
+ fix motd message for bionic (GH: #1615)
+ integration tests for hirsute and groovy
+ manual test for trusty upgrade to xenial
+ reboot after dist-upgrade for upgrade test
+ test enabling CIS on focal (GH: #1582)
+ update messages in integration tests (GH: #1635)
+ use proposed pocket on xenial upgrade test
- jenkins:
+ add pytest runs for xenial and bionic
+ run focal lxd integration tests
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
Changed in ubuntu-advantage-tools (Ubuntu Impish): | |
status: | New → Fix Committed |
Integration test output attached.