group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #41566
[Bug 1949634] [NEW] [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
Public bug reported:
[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.
[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.
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
** Affects: ubuntu-advantage-tools (Ubuntu)
Importance: Undecided
Status: New
** Affects: ubuntu-advantage-tools (Ubuntu Xenial)
Importance: Undecided
Status: New
** Affects: ubuntu-advantage-tools (Ubuntu Bionic)
Importance: Undecided
Status: New
** Affects: ubuntu-advantage-tools (Ubuntu Focal)
Importance: Undecided
Status: New
** Affects: ubuntu-advantage-tools (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Affects: ubuntu-advantage-tools (Ubuntu Impish)
Importance: Undecided
Status: New
** Also affects: ubuntu-advantage-tools (Ubuntu Xenial)
Importance: Undecided
Status: New
** Also affects: ubuntu-advantage-tools (Ubuntu Hirsute)
Importance: Undecided
Status: New
** Also affects: ubuntu-advantage-tools (Ubuntu Bionic)
Importance: Undecided
Status: New
** Also affects: ubuntu-advantage-tools (Ubuntu Impish)
Importance: Undecided
Status: New
** Also affects: ubuntu-advantage-tools (Ubuntu Focal)
Importance: Undecided
Status: New
--
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:
New
Status in ubuntu-advantage-tools source package in Xenial:
New
Status in ubuntu-advantage-tools source package in Bionic:
New
Status in ubuntu-advantage-tools source package in Focal:
New
Status in ubuntu-advantage-tools source package in Hirsute:
New
Status in ubuntu-advantage-tools source package in Impish:
New
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.
[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.
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
Follow ups
-
[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
From: Launchpad Bug Tracker, 2021-11-17
-
[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
From: Launchpad Bug Tracker, 2021-11-17
-
[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
From: Launchpad Bug Tracker, 2021-11-17
-
[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
From: Launchpad Bug Tracker, 2021-11-17
-
[Bug 1949634] Re: [SRU] ubuntu-advantage-tools (27.3 -> 27.4) Xenial, Bionic, Focal, Hirsute, Impish
From: Launchpad Bug Tracker, 2021-11-10