[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-13 Thread petski
This change has some undesired side effects:

Our PXE installs, which use the autoinstall feature [1], were based on Ubuntu 
22.04.0 (the initial release from April 2022).
 
This base image has ubuntu-advantage-tools 27.7~22.04.1 on board.
 
During installation, `unattended-upgrades -v` is executed by curtin, which 
wants to upgrade to ubuntu-advantage-tools 31.2~22.04
 
This process end with exitcode 1, probably because ubuntu-advantage-tools is 
`kept back because a related package is kept back or due to local 
apt_preferences(5)`.
 
Because `unattended-upgrades` exits with 1, the install bails out.
 
Ubuntu 22.04.4 - at this moment the latest point release - has a more modern 
version of ubuntu-advantage-tools, and we don't see that behavior there, .. 
but... The side effect is that a fresh install now results in an install that 
(still) needs to do a upgrade:

 
The following NEW packages will be installed:
  ubuntu-pro-client
The following packages will be upgraded:
  ubuntu-advantage-tools ubuntu-pro-client-l10n
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.


[1] https://ubuntu.com/server/docs/install/autoinstall

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-advantage-tools - 31.2~16.04

---
ubuntu-advantage-tools (31.2~16.04) xenial; urgency=medium

  * Backport new upstream release (LP: #2048921)

ubuntu-advantage-tools (31.2) noble; urgency=medium

  * properly rename logrotate conffile to avoid duplicate confiles, keep user 
changes
and avoid unnecessary prompts (LP: #2055046)
  * use mv_conffile on all ubuntu-advantage-tools conffiles to avoid "obsolete" 
dpkg
conffile statuses
  * fix regression in api u.pro.attach.auto.should_auto_attach.v1 so that it 
works with
the new package names

ubuntu-advantage-tools (31.1) noble; urgency=medium

  * fix unit test that failed on newer version of python

ubuntu-advantage-tools (31) noble; urgency=medium

  * d/*:
- rename ubuntu-advantage-tools to ubuntu-pro-client
- rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
  * d/apparmor:
- introduce new ubuntu_pro_apt_news apparmor policy
  * d/control:
- update descriptions and homepages
- update ubuntu-pro-client-l10n to Depend on same binary version
  of ubuntu-pro-client
  * d/rules:
- install ubuntu_pro_apt_news apparmor policy
  * d/ubuntu-pro-client.prerm:
- removed dependency on python3 by reimplementing in sh (LP: #2021988)
  * apport:
- collect logs related to ubuntu_pro_apt_news apparmor policy
  * release-upgrades.d/ubuntu-advantage-upgrades.cfg:
- convert APT list files to deb822 files when upgrading to noble
  * systemd/apt-news.service:
- add apparmor profile and capability restrictions
  * systemd/ubuntu-advantage.service:
- avoid deadlock when started during cloud-config.service (LP: #2050022)
  * New upstream release 31 (LP: #2048921)
- api:
  + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
  + u.pro.status.enabled_services.v1:
* include services in "warning" state
* include "usg"
  + u.pro.security.fix.*.plan.v1: export common objects from
endpoint modules (GH: #2714)
- cli:
  + add autocomplete for api subcommand
  + autocomplete multiple services for enable/disable subcommands
  + if lock is held, cli will retry over the course of a few seconds
- collect-logs:
  + include logs related to ubuntu_pro_apt_news apparmor policy
  + include logs of apt-news.service
  + include logs of esm-cache.service
- enable:
  + use deb822 apt source file format when on noble or later
- fix:
  + avoid insinuating that CVEs were found on the machine (GH: #1522)
  + ignore LSNs when considering related USNs
  + pick CVE description based on what packages are installed
- landscape:
  + don't disable landscape on ubuntu releases where it cannot be
enabled (GH: #2743)
  + no longer assume landscape-client gets removed on disable (GH: #2840)
  + leave client.conf in place instead of renaming
  + require service to be running to consider "enabled"
  + new explanatory message when disabling
- motd: properly pluralize messages about updates (GH: #1579)
- status: show warning when canonical-livepatch command fails
  (LP: #2019997)
- timer jobs: jobs-status.json is now world readable (GH: #2601)

ubuntu-advantage-tools (30.1) noble; urgency=medium

  * fix UnboundLocalError in update-check error handling (LP: #2043836)

 -- Grant Orndorff   Thu, 29 Feb 2024
09:03:11 -0500

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-advantage-tools - 31.2~22.04

---
ubuntu-advantage-tools (31.2~22.04) jammy; urgency=medium

  * Backport new upstream release (LP: #2048921)

ubuntu-advantage-tools (31.2) noble; urgency=medium

  * properly rename logrotate conffile to avoid duplicate confiles, keep user 
changes
and avoid unnecessary prompts (LP: #2055046)
  * use mv_conffile on all ubuntu-advantage-tools conffiles to avoid "obsolete" 
dpkg
conffile statuses
  * fix regression in api u.pro.attach.auto.should_auto_attach.v1 so that it 
works with
the new package names

ubuntu-advantage-tools (31.1) noble; urgency=medium

  * fix unit test that failed on newer version of python

ubuntu-advantage-tools (31) noble; urgency=medium

  * d/*:
- rename ubuntu-advantage-tools to ubuntu-pro-client
- rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
  * d/apparmor:
- introduce new ubuntu_pro_apt_news apparmor policy
  * d/control:
- update descriptions and homepages
- update ubuntu-pro-client-l10n to Depend on same binary version
  of ubuntu-pro-client
  * d/rules:
- install ubuntu_pro_apt_news apparmor policy
  * d/ubuntu-pro-client.prerm:
- removed dependency on python3 by reimplementing in sh (LP: #2021988)
  * apport:
- collect logs related to ubuntu_pro_apt_news apparmor policy
  * release-upgrades.d/ubuntu-advantage-upgrades.cfg:
- convert APT list files to deb822 files when upgrading to noble
  * systemd/apt-news.service:
- add apparmor profile and capability restrictions
  * systemd/ubuntu-advantage.service:
- avoid deadlock when started during cloud-config.service (LP: #2050022)
  * New upstream release 31 (LP: #2048921)
- api:
  + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
  + u.pro.status.enabled_services.v1:
* include services in "warning" state
* include "usg"
  + u.pro.security.fix.*.plan.v1: export common objects from
endpoint modules (GH: #2714)
- cli:
  + add autocomplete for api subcommand
  + autocomplete multiple services for enable/disable subcommands
  + if lock is held, cli will retry over the course of a few seconds
- collect-logs:
  + include logs related to ubuntu_pro_apt_news apparmor policy
  + include logs of apt-news.service
  + include logs of esm-cache.service
- enable:
  + use deb822 apt source file format when on noble or later
- fix:
  + avoid insinuating that CVEs were found on the machine (GH: #1522)
  + ignore LSNs when considering related USNs
  + pick CVE description based on what packages are installed
- landscape:
  + don't disable landscape on ubuntu releases where it cannot be
enabled (GH: #2743)
  + no longer assume landscape-client gets removed on disable (GH: #2840)
  + leave client.conf in place instead of renaming
  + require service to be running to consider "enabled"
  + new explanatory message when disabling
- motd: properly pluralize messages about updates (GH: #1579)
- status: show warning when canonical-livepatch command fails
  (LP: #2019997)
- timer jobs: jobs-status.json is now world readable (GH: #2601)

ubuntu-advantage-tools (30.1) noble; urgency=medium

  * fix UnboundLocalError in update-check error handling (LP: #2043836)

 -- Grant Orndorff   Thu, 29 Feb 2024
09:03:11 -0500

** Changed in: ubuntu-advantage-tools (Ubuntu Jammy)
   Status: Fix Committed => Fix Released

** Changed in: ubuntu-advantage-tools (Ubuntu Focal)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-advantage-tools - 31.2~18.04

---
ubuntu-advantage-tools (31.2~18.04) bionic; urgency=medium

  * Backport new upstream release (LP: #2048921)

ubuntu-advantage-tools (31.2) noble; urgency=medium

  * properly rename logrotate conffile to avoid duplicate confiles, keep user 
changes
and avoid unnecessary prompts (LP: #2055046)
  * use mv_conffile on all ubuntu-advantage-tools conffiles to avoid "obsolete" 
dpkg
conffile statuses
  * fix regression in api u.pro.attach.auto.should_auto_attach.v1 so that it 
works with
the new package names

ubuntu-advantage-tools (31.1) noble; urgency=medium

  * fix unit test that failed on newer version of python

ubuntu-advantage-tools (31) noble; urgency=medium

  * d/*:
- rename ubuntu-advantage-tools to ubuntu-pro-client
- rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
  * d/apparmor:
- introduce new ubuntu_pro_apt_news apparmor policy
  * d/control:
- update descriptions and homepages
- update ubuntu-pro-client-l10n to Depend on same binary version
  of ubuntu-pro-client
  * d/rules:
- install ubuntu_pro_apt_news apparmor policy
  * d/ubuntu-pro-client.prerm:
- removed dependency on python3 by reimplementing in sh (LP: #2021988)
  * apport:
- collect logs related to ubuntu_pro_apt_news apparmor policy
  * release-upgrades.d/ubuntu-advantage-upgrades.cfg:
- convert APT list files to deb822 files when upgrading to noble
  * systemd/apt-news.service:
- add apparmor profile and capability restrictions
  * systemd/ubuntu-advantage.service:
- avoid deadlock when started during cloud-config.service (LP: #2050022)
  * New upstream release 31 (LP: #2048921)
- api:
  + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
  + u.pro.status.enabled_services.v1:
* include services in "warning" state
* include "usg"
  + u.pro.security.fix.*.plan.v1: export common objects from
endpoint modules (GH: #2714)
- cli:
  + add autocomplete for api subcommand
  + autocomplete multiple services for enable/disable subcommands
  + if lock is held, cli will retry over the course of a few seconds
- collect-logs:
  + include logs related to ubuntu_pro_apt_news apparmor policy
  + include logs of apt-news.service
  + include logs of esm-cache.service
- enable:
  + use deb822 apt source file format when on noble or later
- fix:
  + avoid insinuating that CVEs were found on the machine (GH: #1522)
  + ignore LSNs when considering related USNs
  + pick CVE description based on what packages are installed
- landscape:
  + don't disable landscape on ubuntu releases where it cannot be
enabled (GH: #2743)
  + no longer assume landscape-client gets removed on disable (GH: #2840)
  + leave client.conf in place instead of renaming
  + require service to be running to consider "enabled"
  + new explanatory message when disabling
- motd: properly pluralize messages about updates (GH: #1579)
- status: show warning when canonical-livepatch command fails
  (LP: #2019997)
- timer jobs: jobs-status.json is now world readable (GH: #2601)

ubuntu-advantage-tools (30.1) noble; urgency=medium

  * fix UnboundLocalError in update-check error handling (LP: #2043836)

 -- Grant Orndorff   Thu, 29 Feb 2024
09:03:11 -0500

** Changed in: ubuntu-advantage-tools (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-advantage-tools - 31.2~20.04

---
ubuntu-advantage-tools (31.2~20.04) focal; urgency=medium

  * Backport new upstream release (LP: #2048921)

ubuntu-advantage-tools (31.2) noble; urgency=medium

  * properly rename logrotate conffile to avoid duplicate confiles, keep user 
changes
and avoid unnecessary prompts (LP: #2055046)
  * use mv_conffile on all ubuntu-advantage-tools conffiles to avoid "obsolete" 
dpkg
conffile statuses
  * fix regression in api u.pro.attach.auto.should_auto_attach.v1 so that it 
works with
the new package names

ubuntu-advantage-tools (31.1) noble; urgency=medium

  * fix unit test that failed on newer version of python

ubuntu-advantage-tools (31) noble; urgency=medium

  * d/*:
- rename ubuntu-advantage-tools to ubuntu-pro-client
- rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
  * d/apparmor:
- introduce new ubuntu_pro_apt_news apparmor policy
  * d/control:
- update descriptions and homepages
- update ubuntu-pro-client-l10n to Depend on same binary version
  of ubuntu-pro-client
  * d/rules:
- install ubuntu_pro_apt_news apparmor policy
  * d/ubuntu-pro-client.prerm:
- removed dependency on python3 by reimplementing in sh (LP: #2021988)
  * apport:
- collect logs related to ubuntu_pro_apt_news apparmor policy
  * release-upgrades.d/ubuntu-advantage-upgrades.cfg:
- convert APT list files to deb822 files when upgrading to noble
  * systemd/apt-news.service:
- add apparmor profile and capability restrictions
  * systemd/ubuntu-advantage.service:
- avoid deadlock when started during cloud-config.service (LP: #2050022)
  * New upstream release 31 (LP: #2048921)
- api:
  + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
  + u.pro.status.enabled_services.v1:
* include services in "warning" state
* include "usg"
  + u.pro.security.fix.*.plan.v1: export common objects from
endpoint modules (GH: #2714)
- cli:
  + add autocomplete for api subcommand
  + autocomplete multiple services for enable/disable subcommands
  + if lock is held, cli will retry over the course of a few seconds
- collect-logs:
  + include logs related to ubuntu_pro_apt_news apparmor policy
  + include logs of apt-news.service
  + include logs of esm-cache.service
- enable:
  + use deb822 apt source file format when on noble or later
- fix:
  + avoid insinuating that CVEs were found on the machine (GH: #1522)
  + ignore LSNs when considering related USNs
  + pick CVE description based on what packages are installed
- landscape:
  + don't disable landscape on ubuntu releases where it cannot be
enabled (GH: #2743)
  + no longer assume landscape-client gets removed on disable (GH: #2840)
  + leave client.conf in place instead of renaming
  + require service to be running to consider "enabled"
  + new explanatory message when disabling
- motd: properly pluralize messages about updates (GH: #1579)
- status: show warning when canonical-livepatch command fails
  (LP: #2019997)
- timer jobs: jobs-status.json is now world readable (GH: #2601)

ubuntu-advantage-tools (30.1) noble; urgency=medium

  * fix UnboundLocalError in update-check error handling (LP: #2043836)

 -- Grant Orndorff   Thu, 29 Feb 2024
09:03:11 -0500

** Changed in: ubuntu-advantage-tools (Ubuntu Bionic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-12 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-advantage-tools - 31.2~23.10

---
ubuntu-advantage-tools (31.2~23.10) mantic; urgency=medium

  * Backport new upstream release (LP: #2048921)

ubuntu-advantage-tools (31.2) noble; urgency=medium

  * properly rename logrotate conffile to avoid duplicate confiles, keep user 
changes
and avoid unnecessary prompts (LP: #2055046)
  * use mv_conffile on all ubuntu-advantage-tools conffiles to avoid "obsolete" 
dpkg
conffile statuses
  * fix regression in api u.pro.attach.auto.should_auto_attach.v1 so that it 
works with
the new package names

ubuntu-advantage-tools (31.1) noble; urgency=medium

  * fix unit test that failed on newer version of python

ubuntu-advantage-tools (31) noble; urgency=medium

  * d/*:
- rename ubuntu-advantage-tools to ubuntu-pro-client
- rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
  * d/apparmor:
- introduce new ubuntu_pro_apt_news apparmor policy
  * d/control:
- update descriptions and homepages
- update ubuntu-pro-client-l10n to Depend on same binary version
  of ubuntu-pro-client
  * d/rules:
- install ubuntu_pro_apt_news apparmor policy
  * d/ubuntu-pro-client.prerm:
- removed dependency on python3 by reimplementing in sh (LP: #2021988)
  * apport:
- collect logs related to ubuntu_pro_apt_news apparmor policy
  * release-upgrades.d/ubuntu-advantage-upgrades.cfg:
- convert APT list files to deb822 files when upgrading to noble
  * systemd/apt-news.service:
- add apparmor profile and capability restrictions
  * systemd/ubuntu-advantage.service:
- avoid deadlock when started during cloud-config.service (LP: #2050022)
  * New upstream release 31 (LP: #2048921)
- api:
  + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
  + u.pro.status.enabled_services.v1:
* include services in "warning" state
* include "usg"
  + u.pro.security.fix.*.plan.v1: export common objects from
endpoint modules (GH: #2714)
- cli:
  + add autocomplete for api subcommand
  + autocomplete multiple services for enable/disable subcommands
  + if lock is held, cli will retry over the course of a few seconds
- collect-logs:
  + include logs related to ubuntu_pro_apt_news apparmor policy
  + include logs of apt-news.service
  + include logs of esm-cache.service
- enable:
  + use deb822 apt source file format when on noble or later
- fix:
  + avoid insinuating that CVEs were found on the machine (GH: #1522)
  + ignore LSNs when considering related USNs
  + pick CVE description based on what packages are installed
- landscape:
  + don't disable landscape on ubuntu releases where it cannot be
enabled (GH: #2743)
  + no longer assume landscape-client gets removed on disable (GH: #2840)
  + leave client.conf in place instead of renaming
  + require service to be running to consider "enabled"
  + new explanatory message when disabling
- motd: properly pluralize messages about updates (GH: #1579)
- status: show warning when canonical-livepatch command fails
  (LP: #2019997)
- timer jobs: jobs-status.json is now world readable (GH: #2601)

ubuntu-advantage-tools (30.1) noble; urgency=medium

  * fix UnboundLocalError in update-check error handling (LP: #2043836)

 -- Grant Orndorff   Thu, 29 Feb 2024
09:03:11 -0500

** Changed in: ubuntu-advantage-tools (Ubuntu Mantic)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-11 Thread Grant Orndorff
Thank you renanrodrigo!

Marking verification done.

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-focal verification-needed-jammy verification-needed-mantic 
verification-needed-xenial
** Tags added: verification-done verification-done-bionic 
verification-done-focal verification-done-jammy verification-done-mantic 
verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-11 Thread Renan Rodrigo
As orndorffgrant mentioned, here is an excerpt from the test I performed
on the transition to deb822. The errors in the do-release-upgrade
prevent us from installing the new ubuntu-pro-client when upgrading, but
all the list files transition without a problem. This validates the
expected behavior for the script.

** Attachment added: "deb822-jammy-to-noble.txt"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+attachment/5754759/+files/deb822-jammy-to-noble.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-08 Thread Grant Orndorff
We have run the full ubuntu-advantage-tools integration (behave) test
suite against the version in -proposed. The results are attached. All
tests passed. You can verify the correct version was used by checking
the output of the first test in each file, which prints the version
number.

I also ran all the Test Plan tests for the package rename transition -
everything worked as expected and logs are attached. I did the Desktop
GUI upgrade test manually and don't have a log, but it worked as
expected as well.

For the .list -> deb822 transition during jammy -> noble upgrade test,
there were unrelated failures in the upgrade to noble, but the thing we
care about - the transition to deb822 sources - is working as expected.
Specifically, esm .list files on pro jammy were successfully transformed
to deb822 noble esm sources files on pro noble after a do-release-
upgrade. renanrodrigo performed this test and I think he has a log of
the test. I'll wait for a final confirmation from him before marking
verification done.

The autopkgtest failure on mantic ppc64el was a flaky infrastructure
problem and passed when I retried it.


** Attachment added: "pro-31.2-verification.tar.gz"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+attachment/5754204/+files/pro-31.2-verification.tar.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-06 Thread Grant Orndorff
** Description changed:

  [ Impact ]
  
  This release brings both bug-fixes and new features for the Pro Client,
  and we would like to make sure all of our supported customers have
  access to these improvements on all releases.
  
  The most important changes are:
   - rename ubuntu-advantage-tools to ubuntu-pro-client
   - rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
   - introduce new ubuntu_pro_apt_news apparmor policy
   - api:
     + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
     + u.pro.status.enabled_services.v1:
   * include services in "warning" state
   * include "usg"
   - enable:
     + use deb822 apt source file format when on noble or later
   - landscape:
     + don't disable landscape on ubuntu releases where it is not
   enable-able (GH: #2743)
     + no longer assume landscape-client gets removed on disable (GH: #2840)
     + leave client.conf in place instead of renaming
  
  See the changelog entry below for a full list of changes and bugs.
  
  [ Test Plan ]
  
  The following development and SRU process was followed:
  https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates
  
  The Pro Client developers will be in charge of attaching the artifacts
  of the appropriate test runs to the bug, and will not mark
  ‘verification-done’ until this has happened.
  
  Besides the full integration test runs, manual tests were executed to verify 
bugs:
   - LP: #2019997
   - LP: #2021988
  
- The following bugs are covered by the full integration test runs:
-  - LP: #2055046
-  - (No LP bug but caught during validation of 31.1 and fixed in 31.2) 
should_auto_attach was wrong when ubuntu-advantage-pro was removed - fixed by 
taking into account new package name: ubuntu-pro-auto-attach
- 
  Additional testing will also be done for the binary package rename
  transition and the deb822 transition.
  
  ## Test Plan for binary package rename:
  ### Assumptions
  - ubuntu-minimal or ubuntu-cloud-minimal is installed everywhere
  - these have “Depends: ubuntu-advantage-tools”
  
  ### One-time testing for this SRU
  Many of these will be scripted and the log of the script will be manually 
reviewed.
  
  - For each ubuntu release (xenial, bionic, focal, jammy, mantic, noble - note 
noble will behave differently after seed is updated to u-p-c):
   - `apt install ubuntu-pro-client=31 ubuntu-advantage-tools- ubuntu-minimal`
   - Should refuse
- - For each of the following upgrade methods: pro attach in a container, then 
upgrade, then "apt autoremove", then check that ESM is still enabled, u-a-t is 
31 and u-p-c is 31, then also check that u-a-t conffiles are not marked 
"obsolete"
+ - For each of the following upgrade methods: pro attach in a container, then 
upgrade, then "apt autoremove", then check that ESM is still enabled, u-a-t is 
31 and u-p-c is 31
  - apt install ubuntu-advantage-tools
  - apt install ubuntu-pro-client
  - apt install ubuntu-pro-client=31
  - apt upgrade
  - apt dist-upgrade
  - Default desktop GUI upgrade
  - For each ubuntu release (xenial, bionic, focal, jammy, mantic, noble)
   - upgrade to v31, then apt reinstall ubuntu-advantage-tools
- - For the full behave test suite, modify the setup to run “apt install 
ubuntu-advantage-tools” instead of “apt install ubuntu-pro-client”.
  - For each cloud pro image: (aws, azure, gcp) x (xenial, bionic, focal, 
jammy):
   - Boot and allow auto-attach to finish with current package 
(ubuntu-advantage-pro)
  - apt upgrade
  - Verify that ubuntu-pro-auto-attach is now installed
   - pro detach
  - Reboot
  - Verify that auto-attach works with new package
  
  ### After the SRU and the noble seed is updated one time test
  - For jammy->noble and mantic->noble:
   - Will need to enable -proposed
   - For each of the following release upgrade methods: pro attach in a 
container, then release-upgrade, then check that ESM is still enabled, u-a-t is 
31 and u-p-c is 31
   - do-release-upgrade (start from <= 30 and let the tool do the apt 
upgrade)
   - Default desktop GUI release-upgrade
  
  ### Ongoing regression tests that we added to our behave test suite
  - Install u-a-t and verify that it brings with it an up-to-date u-p-c
  - Install ubuntu-advantage-pro and verify that it brings with it an 
up-to-date ubuntu-pro-auto-attach
   Test cases we will add after the noble seed is updated to 
ubuntu-pro-client
  - After `apt install ubuntu-pro-client`, remove u-a-t and ensure things still 
work
  
  ### Cases/Variables we’re purposefully ignoring
  - Different architectures
   - Nothing about the rename transition is related to the architecture
  - Apt-get upgrade
   - This will refuse to install new packages such as u-p-c
  - Really old versions of u-a-t (< 27) upgrading directly to u-p-c
  
  ### Scenarios that may lead to issues but are unsupported
  Test these once so we know what happens and can include some notes in the SRU 
bug, but other

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-04 Thread Robie Basak
Hello Grant, or anyone else affected,

Accepted ubuntu-advantage-tools into mantic-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/ubuntu-advantage-tools/31.2~23.10
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-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. 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.

** Tags removed: verification-failed verification-failed-mantic
** Tags added: verification-needed verification-needed-mantic

** Tags removed: verification-failed-jammy
** Tags added: verification-needed-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-03-04 Thread Grant Orndorff
** Description changed:

  [ Impact ]
  
  This release brings both bug-fixes and new features for the Pro Client,
  and we would like to make sure all of our supported customers have
  access to these improvements on all releases.
  
  The most important changes are:
   - rename ubuntu-advantage-tools to ubuntu-pro-client
   - rename ubuntu-advantage-pro to ubuntu-pro-image-auto-attach
   - introduce new ubuntu_pro_apt_news apparmor policy
   - api:
     + u.pro.attach.auto.full_auto_attach.v1: new cloud_override param
     + u.pro.status.enabled_services.v1:
   * include services in "warning" state
   * include "usg"
   - enable:
     + use deb822 apt source file format when on noble or later
   - landscape:
     + don't disable landscape on ubuntu releases where it is not
   enable-able (GH: #2743)
     + no longer assume landscape-client gets removed on disable (GH: #2840)
     + leave client.conf in place instead of renaming
  
  See the changelog entry below for a full list of changes and bugs.
  
  [ Test Plan ]
  
  The following development and SRU process was followed:
  https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates
  
  The Pro Client developers will be in charge of attaching the artifacts
  of the appropriate test runs to the bug, and will not mark
  ‘verification-done’ until this has happened.
  
  Besides the full integration test runs, manual tests were executed to verify 
bugs:
   - LP: #2019997
   - LP: #2021988
  
+ The following bugs are covered by the full integration test runs:
+  - LP: #2055046
+  - (No LP bug but caught during validation of 31.1 and fixed in 31.2) 
should_auto_attach was wrong when ubuntu-advantage-pro was removed - fixed by 
taking into account new package name: ubuntu-pro-auto-attach
+ 
  Additional testing will also be done for the binary package rename
  transition and the deb822 transition.
  
  ## Test Plan for binary package rename:
  ### Assumptions
  - ubuntu-minimal or ubuntu-cloud-minimal is installed everywhere
  - these have “Depends: ubuntu-advantage-tools”
  
  ### One-time testing for this SRU
  Many of these will be scripted and the log of the script will be manually 
reviewed.
  
  - For each ubuntu release (xenial, bionic, focal, jammy, mantic, noble - note 
noble will behave differently after seed is updated to u-p-c):
   - `apt install ubuntu-pro-client=31 ubuntu-advantage-tools- ubuntu-minimal`
   - Should refuse
- - For each of the following upgrade methods: pro attach in a container, then 
upgrade, then "apt autoremove", then check that ESM is still enabled, u-a-t is 
31 and u-p-c is 31
+ - For each of the following upgrade methods: pro attach in a container, then 
upgrade, then "apt autoremove", then check that ESM is still enabled, u-a-t is 
31 and u-p-c is 31, then also check that u-a-t conffiles are not marked 
"obsolete"
  - apt install ubuntu-advantage-tools
  - apt install ubuntu-pro-client
  - apt install ubuntu-pro-client=31
  - apt upgrade
  - apt dist-upgrade
  - Default desktop GUI upgrade
  - For each ubuntu release (xenial, bionic, focal, jammy, mantic, noble)
   - upgrade to v31, then apt reinstall ubuntu-advantage-tools
  - For the full behave test suite, modify the setup to run “apt install 
ubuntu-advantage-tools” instead of “apt install ubuntu-pro-client”.
  - For each cloud pro image: (aws, azure, gcp) x (xenial, bionic, focal, 
jammy):
   - Boot and allow auto-attach to finish with current package 
(ubuntu-advantage-pro)
  - apt upgrade
  - Verify that ubuntu-pro-auto-attach is now installed
   - pro detach
  - Reboot
  - Verify that auto-attach works with new package
  
  ### After the SRU and the noble seed is updated one time test
  - For jammy->noble and mantic->noble:
   - Will need to enable -proposed
   - For each of the following release upgrade methods: pro attach in a 
container, then release-upgrade, then check that ESM is still enabled, u-a-t is 
31 and u-p-c is 31
   - do-release-upgrade (start from <= 30 and let the tool do the apt 
upgrade)
   - Default desktop GUI release-upgrade
  
  ### Ongoing regression tests that we added to our behave test suite
  - Install u-a-t and verify that it brings with it an up-to-date u-p-c
  - Install ubuntu-advantage-pro and verify that it brings with it an 
up-to-date ubuntu-pro-auto-attach
   Test cases we will add after the noble seed is updated to 
ubuntu-pro-client
  - After `apt install ubuntu-pro-client`, remove u-a-t and ensure things still 
work
  
  ### Cases/Variables we’re purposefully ignoring
  - Different architectures
   - Nothing about the rename transition is related to the architecture
  - Apt-get upgrade
   - This will refuse to install new packages such as u-p-c
  - Really old versions of u-a-t (< 27) upgrading directly to u-p-c
  
  ### Scenarios that may lead to issues but are unsupported
  Test these once so we know what happens and can include some notes in the SRU 
bug, but other

[Bug 2048921] Re: [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy, Mantic

2024-02-27 Thread Robie Basak
Regression bug 2055046 filed - thank you! I understand a new upload is
on the way.

** Tags removed: verification-needed verification-needed-bionic 
verification-needed-focal verification-needed-jammy verification-needed-mantic 
verification-needed-xenial
** Tags added: verification-failed verification-failed-bionic 
verification-failed-focal verification-failed-jammy verification-failed-mantic 
verification-failed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2048921

Title:
   [SRU] ubuntu-advantage-tools (30 -> 31) Xenial, Bionic, Focal, Jammy,
  Mantic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2048921/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs