group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #45590
[Bug 1994923] Re: Enabling Pro on non-LTS releases is confusing
This bug was fixed in the package ubuntu-advantage-tools - 28.1
---------------
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
-- Grant Orndorff <grant.orndorff@xxxxxxxxxxxxx> Mon, 26 Jun 2023
15:05:11 -0400
** Changed in: ubuntu-advantage-tools (Ubuntu)
Status: Confirmed => 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 Committed
Status in ubuntu-advantage-tools source package in Bionic:
Fix Committed
Status in ubuntu-advantage-tools source package in Focal:
Fix Committed
Status in ubuntu-advantage-tools source package in Jammy:
Fix Committed
Status in ubuntu-advantage-tools source package in Kinetic:
Fix Committed
Status in ubuntu-advantage-tools source package in Lunar:
Fix Committed
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/release-27.15/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