group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #45652
[Bug 1994923] Re: Enabling Pro on non-LTS releases is confusing
This bug was fixed in the package ubuntu-advantage-tools - 28.1~22.10
---------------
ubuntu-advantage-tools (28.1~22.10) kinetic; urgency=medium
* Backport new upstream release: (LP: #2017949) to kinetic
ubuntu-advantage-tools (28.1) mantic; urgency=medium
* New upstream release 28.1 (LP: #2017949)
- fips: ensure shim-signed is updated to the version in the fips repo
if necessary
- status: fix bug where an existing status cache could influence the
simulated status output
ubuntu-advantage-tools (28) mantic; urgency=medium
* d/ubuntu-advantage-tools.postinst:
- more specific regex for ua_config warning
* d/source/lintian-overrides
- adjust missing-build-dependency-for-dh-addon systemd override to work
for the different but related error message on jammy onwards
* New upstream release 28 (LP: #2017949)
- api:
+ new endpoint: u.pro.status.is_attached.v1
+ new endpoint: u.pro.status.enabled_services.v1
- apport: collect default log files if present for bug reports
- apt messaging: add bionic-specific urls
- auto-attach:
+ check for new Azure UBUNTU_PRO license on-boot of non-pro instances
+ exit 4 if attach succeeds but service enablement fails
- cli:
+ avoid unnecessary network calls during autocomplete (GH: #2556)
+ warn users to not rely on human-readable output in scripts
- config: no longer load uaclient.conf from current working directory
- fix:
+ add support for --no-related flag
+ separate target USN from related USNs
- general:
+ logs to user cache directory when run as non-root
+ fix bug where non-root commands failed with file permission error
accessing /tmp/ubuntu-advantage (GH: #2567)
+ use system environment vars by default in sub processes (GH: #2527)
+ fall back to /usr/lib/os-release for release info
+ start logging to default log file until config is loaded
+ remove small timeout from contract checking request
+ avoid crashes when processing unicode text (LP: #2019729)
- livepatch:
+ use uname.machine for kernel arch when checking support
(GH: #2517)
+ display tailored warning messages for granular support statuses
- realtime-kernel: add support for intel-iotg variant
- reboot-required: new criteria for "yes-kernel-livepatches-applied"
livepatch status must be either "applied" or "nothing-to-apply" and
livepatch support status must say "supported"
- security-status:
+ always show available/installed counts for esm packages
+ include hint to run apt-get update for up-to-date info (GH: #2443)
+ improve visibility of installed and available updates (GH: #2442)
+ change package info message hint to recommend apt-cache show
+ avoids unnecessary network calls (LP: #2015286, GH: #2536)
- systemd: update service unit for reboot_cmds to not run if not attached
- status:
+ add hint for pro status --all
+ better message if no services are available (LP: #1994923)
- timer: only run timer when attached
-- Grant Orndorff <grant.orndorff@xxxxxxxxxxxxx> Mon, 26 Jun 2023
20:49:52 -0400
** Changed in: ubuntu-advantage-tools (Ubuntu Lunar)
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/1994923
Title:
Enabling Pro on non-LTS releases is confusing
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 Jammy:
Fix Released
Status in ubuntu-advantage-tools source package in Kinetic:
Fix Released
Status in ubuntu-advantage-tools source package in Lunar:
Fix Released
Bug description:
[ Impact ]
The output of `pro status` on non-LTS releases was confusing. It didn't clearly describe that no services are available.
The fix is to show a message when there are no available services for
a machine.
[ Test Plan ]
To reproduce:
- attach a non-lts machine
- run `pro status`
- see the confusing output
To see the fix (once it's available)
- attach a non-lts machine
- run `pro status`
- see the message: "No Ubuntu Pro services are available to this system."
This is covered by an automated test in the pro-client test suite,
defined here: https://github.com/canonical/ubuntu-pro-
client/blob/28.1/features/attach_validtoken.feature#L8
[ Where problems could occur ]
This change touches the `status` command, which is widely used. If something goes wrong, it could break `pro status` in some circumstances.
Or, if users were relying on the previous version of the output in
some way, then they will be disappointed. Note: the pro-client team
does not consider the human-readable output of `pro status` to be
stable and we discourage people from relying on it. In the future it
will change even more.
[ Other Info ]
Notice that the message doesn't say that there are no Pro services on non-LTS releases. That is because of two things:
1. There may be Pro services available on non-lts releases in the future
2. There are situations where no services are available on LTS release (e.g. on ppc64el machines)
[ Original Description ]
I'm currently in Kinetic (22.10) and used my private free token to enable pro with:
$ sudo pro attach MYTOKEN
Unable to determine current instance-id
This machine is now attached to 'Ubuntu Pro - free personal subscription'
SERVICE ENTITLED STATUS DESCRIPTION
NOTICES
Operation in progress: pro attach
Enable services with: pro enable <service>
Account: XXX@xxxxxxx
Subscription: Ubuntu Pro - free personal subscription
Same result when doing "pro status". This is missleading. There should
be a warning or something that mentions that Pro is only for LTS
releases.
ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: ubuntu-advantage-tools 27.11.2~22.10.1
ProcVersionSignature: Ubuntu 5.19.0-23.24-generic 5.19.7
Uname: Linux 5.19.0-23-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 27 06:54:15 2022
InstallationDate: Installed on 2022-03-21 (219 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
SourcePackage: ubuntu-advantage-tools
UpgradeStatus: Upgraded to kinetic on 2022-09-18 (38 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1994923/+subscriptions