Replace the Livepatch step by Ubuntu Pro

Bug #2003231 reported by Sebastien Bacher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-initial-setup (Ubuntu)
Invalid
High
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

* Impact

We want desktop integration with Ubuntu Pro, that will also replace the custom registration code we had for Livepatch which is integrated with the new service

* Test case

- log in an Ubuntu session

- ensure that the machine isn't attached to ubuntu pro (otherwise the screen would not be displayed)
$ pro status
and `$ pro deteach` if needed

- - until the service is in production to try the magic workflow, edit /etc/ubuntu-advantage/uaclient.conf to set
contract_url: https://contracts.staging.canonical.com
then 'ua refresh config')
and use the non staging for token registration

- start the wizard
$ rm ~/.config/gnome-initial-setup-done
$ /usr/libexec/gnome-initial-setup --existing-user

the second step should be 'Enable Ubuntu Pro'

- Let Skip selected and click 'Next'
-> verify that it moves to the next page

- Click 'Previous'
-> it goes back to 'Enable Ubuntu Pro'

- Select 'Enable Ubuntu Pro' and click 'Next'
-> the first option 'Enter code on ubuntu.com/pro/attach' is selected and a PIN is display

- go to http://ubuntu.com/pro/attach and enter the PIN
-> the UI should update to display 'Valid token' nex to the PIN

- click 'Next'
a password prompt is displayed which is required to attach the machine
then a spinner is activated while the machine is behind attached to the service
once the registration is done it's moving to the 'Ubuntu Pro Services' page
-> enabled services should list ESM infra/ESM apps/livepatch

- go to a cmdline and do
$ pro status
the machine should be listed as attached

- check the top panel, the livepatch indicator should be displayed

- click 'Next'
-> it moves to the next page 'Help Improve Ubuntu'

go through the remaining wizard steps

Restart then the testcase using the manuel token option

* 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

Note that the changes aren't available in Lunar since the feature is going to be provided by the new subiquity based desktop installer going forward (gnome-inital-setup got ported from GTK3 to GTK4 in Kinetic so we can't simply use the current changeset until that point)

Changed in gnome-initial-setup (Ubuntu):
importance: Undecided → High
status: New → In Progress
description: updated
Changed in gnome-initial-setup (Ubuntu):
status: In Progress → Invalid
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Sebastien, or anyone else affected,

Accepted gnome-initial-setup into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-initial-setup/42.0.1-1ubuntu2.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in gnome-initial-setup (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've tested 42.0.1-1ubuntu2.1, activating ubuntu pro through the magic workflow and manual token one, it works as expected, marked as verified

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-initial-setup - 42.0.1-1ubuntu2.1

---------------
gnome-initial-setup (42.0.1-1ubuntu2.1) jammy; urgency=medium

  [ Nathan Teodosio ]
  * debian/patches/0001-Add-Ubuntu-mode-with-special-pages.patch,
    debian/patches/0001-Display-the-ubuntu-welcome-wizard-in-Unity.patch:
    - integrate with the new Ubuntu Pro service instead of Livepatch
      (lp: #2003231)

 -- Sebastien Bacher <email address hidden> Fri, 20 Jan 2023 11:07:10 +0100

Changed in gnome-initial-setup (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-initial-setup has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.