Backport Ubuntu Pro to Xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Committed
|
High
|
Nathan Teodosio |
Bug Description
* Impact
We want desktop integration with Ubuntu Pro
* Test case
- ensure that the machine isn't attached to ubuntu pro (otherwise the screen would not be displayed) and is online
$ pro status
and `$ pro detach` if needed
- $ software-
-> the list of tabs should include an 'Ubuntu Pro' one
The Ubuntu Pro tab should state 'This machine is not covered by an Ubuntu Pro subscription', display a 'Enable Ubuntu Pro' button and have other controls inactive
- click 'Enable Ubuntu Pro'
-> A dialog 'Enable Ubuntu Pro' opens
-> the first option 'Enter code on ubuntu.
-> a pincode is displayed under the option
- go to http//ubuntu.
-> after some seconds the software-properties UI should update and display a green mark and 'Valid token' label on the right of the pincode
- click 'Confirm'
-> you should get an authentification prompt
- enter your password
-> a spinner starts animating instead of the 'Valid token' label
-> once the attachment job is done the dialog is autoclosed
-> the UI should now state 'Ubuntu Pro support is enabled', under Security 'ESM Infra', 'ESM Apps' and 'Kernel Livepatch' should be displayed an enabled
(or without 'ESM Apps' if you don't have the current ubuntu-
- check that the '$ pro status' output matches the UI one
- try enabling/disable options
-> verify that the 'pro status' change accordingly
- Click 'Disable Ubuntu Pro'
-> you get asked for confirmation and password
-> confirm that the UI is back to the original state and that 'pro status' confirm the system isn't attached to Ubuntu Pro anymore
- Go through the testcase again but selecting the 'Or add token manually' option, the steps should be similar
* Regression Potential
There could be problems in the UI
The new service could be not working as expected
Strings are new and currently have no translations
The livepatch checkbox is also inactive because the current update-notifier version in xenial doesn't include livepatch support
-------
Ubuntu Pro enables extended support for 10 years for long term support Ubuntu series. Xenial is therefore currently also supported under Ubuntu Pro.
Xenial's software-
Thus this request to backport the Ubuntu Pro functionality to Xenial.
This depends on LP:2029089.
Related branches
- Sebastien Bacher: Approve
-
Diff: 1919 lines (+1719/-4)14 files modifieddata/gtkbuilder/dialog-ua-attach.ui (+232/-0)
data/gtkbuilder/dialog-ua-detach.ui (+64/-0)
data/gtkbuilder/dialog-ua-fips-enable.ui (+82/-0)
data/gtkbuilder/main.ui (+530/-2)
data/ubuntu-pro-logo.svg (+24/-0)
debian/control (+3/-1)
debian/software-properties-gtk.install (+1/-0)
softwareproperties/SoftwareProperties.py (+2/-1)
softwareproperties/gtk/DialogUaAttach.py (+201/-0)
softwareproperties/gtk/DialogUaDetach.py (+71/-0)
softwareproperties/gtk/DialogUaFipsEnable.py (+52/-0)
softwareproperties/gtk/SoftwarePropertiesGtk.py (+69/-0)
softwareproperties/gtk/UbuntuProPage.py (+293/-0)
softwareproperties/gtk/utils.py (+95/-0)
Changed in software-properties (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Nathan Teodosio (nteodosio) |
status: | Triaged → In Progress |
description: | updated |
Changed in software-properties (Ubuntu): | |
status: | New → Fix Released |
Changed in software-properties (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Note related bug 2029089 that needs releasing at the same time.