group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #41643
[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
This bug was fixed in the package ubuntu-advantage-tools -
27.4.1~20.04.1
---------------
ubuntu-advantage-tools (27.4.1~20.04.1) focal; urgency=medium
* Backport new upstream release: (LP: #1949634) to focal
ubuntu-advantage-tools (27.4.1~22.04.1) jammy; urgency=medium
* jobs: do not run the status job for unattached users
ubuntu-advantage-tools (27.4~22.04.1) jammy; urgency=medium
* d/rules:
- Remove conftest file from the package
* d/tools.postinst:
- hardcode python binary to run python scripts (LP: #1930121)
- undo unnecessary log file creation
* d/tools.prerm:
- hardcode python binary to run python scripts (LP: #1930121)
* New upstream release 27.4 (LP: #1949634)
- cc-eal: remove beta flag
- cli:
+ attach will save machine-id during operation
+ detach won't ask unnecessary questions
+ new security-status subcommand lists potentially available
security and ESM updates (beta)
- fix:
+ exit 0 when fix is successfully applied and completed
+ exit 1 when fix cannot be applied
+ exit 2 when fix requires a reboot to complete
+ check reboot-required.pkgs for better reboot suggestions
- livepatch: allow livepatch and fips-updates at the same time
- metering:
+ update how activity info is parsed
+ update contract response structure
+ enable job by default
- proxy: no_proxy defaults for link-local IMDS routes
- util:
+ cache get_platform_info calls
+ fix machine-id fallback path on get_machine_id
-- Lucas Moura <lucas.moura@xxxxxxxxxxxxx> Thu, 11 Nov 2021 17:57:22
-0300
** Changed in: ubuntu-advantage-tools (Ubuntu Bionic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1949634
Title:
[SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal,
Hirsute, Impish
Status in ubuntu-advantage-tools package in Ubuntu:
Fix Released
Status in ubuntu-advantage-tools source package in Xenial:
Fix Released
Status in ubuntu-advantage-tools source package in Bionic:
Fix Released
Status in ubuntu-advantage-tools source package in Focal:
Fix Released
Status in ubuntu-advantage-tools source package in Hirsute:
Fix Released
Status in ubuntu-advantage-tools source package in Impish:
Fix Released
Bug description:
[Impact]
This releases will turn on the metering job by default. The metering job will report which services are being used to the contract server every 4 hours. Since we already have the timer mechanism in place, we believe the substantial risk for this release is that the job may not work
as intended and fail during the execution. However, this will not block any of the other existing jobs from running, so it should be a low risk addition.
Furthermore, these are the additional functionalities we are adding:
* Make cc-eal a non-beta service
* Update ua fix return code:
- exit 0 when fix is successfully applied and completed
- exit 1 when fix cannot be applied
- exit 2 when fix requires a reboot to complete
* Allow livepatch to be enabled together with fips-updates
* New security-status subcommand that lists potentially available security and ESM updates
* Set PYTHONPATH during postinst to avoid problems that happen when users have a custom python installation (LP: #1930121)
Additionally, we are also addressing some bugs we found along the way:
* Do not use proxy configuration when reaching clouds IMDS endpoint during auto-attach operation
* Attach will save machine-id during operation
* Detach won't ask unnecessary questions
(For example, when ROS is enabled we don't want to notify user about dependent services, since all services will be disabled anyway)
See the changelog entry below for a full list of changes and bugs.
The new metering job is configurable. You can set the interval to
longer or shorter than the default 4 hours by passing the number of
seconds to the ua config set command. For example, to set the interval
to 6 hours run:
ua config set metering_timer=21600
To disable the job completely, run:
ua config set metering_timer=0
[Test Case]
The following development and SRU process was followed:
https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates
The ubuntu-advantage-tools team will be in charge of attaching the artifacts and
console output of the appropriate run to the bug. ubuntu-advantage-tools team
members will not mark ‘verification-done’ until this has happened.
<TODO After released to -proposed: attach integration test artifacts>
[Regression Potential]
In order to mitigate the regression potential, the results of the
aforementioned integration tests are attached to this bug.
Since we are adding a new job, we need to make sure that if it fails we will not interfere
with any of the other jobs that were already delivered on release 27.3. Currently, our script
that handles the job execution should cover this. If the metering job fails it should just add a new log entry into /var/log/ubuntu-advantage-timer.log.
For the ua fix update, we don't think we can cause a regression, since
the command was always returning 0, no matter what happened during the
execution. We believe the new return codes are better now.
Additionally, we are now also setting up the PYTHONPATH during postinst.
This should not change the behavior of any of the python commands we are issuing, we just want to guarantee that users with a custom python install
will not be affected when performing an install/upgrade operation here. However, we are now adding a dependency on the env command during an install/upgrade operation and this is a postinst change and it could cause
unexpected regressions, even though we currently believe the new change does not pose a high risk of regression.
The other fixes are either bug fixes or service changes (cc-eal) that
should not pose a regression risk on current behavior of the ua
client, since our tests are passing with those new changes.
[Discussion]
The addition of the new job was tested by the contracts team and it seems to be working fine. However, we will need to keep an eye open to see if the metering job is working as expected and delivering the desired information to the contract backend.
[Changelog]
* d/tools.postinst:
- hardcode python binary and PYTHONPATH (LP: #1930121)
- undo unnecessary log file creation
* New upstream release 27.4
- cc-eal: remove beta flag
- cli:
+ attach will save machine-id during operation
+ detach won't ask unnecessary questions
+ new security-status subcommand lists potentially available
security and ESM updates (beta)
- fix:
+ exit 0 when fix is successfully applied and completed
+ exit 1 when fix cannot be applied
+ exit 2 when fix requires a reboot to complete
+ check reboot-required.pkgs for better reboot suggestions
- livepatch: allow livepatch and fips-updates at the same time
- metering:
+ update how activity info is parsed
+ update contract response structure
+ enable job by default
- proxy: no_proxy defaults for link-local IMDS routes
- util:
+ cache get_platform_info calls
+ fix machine-id fallback path on get_machine_id
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1949634/+subscriptions
References