← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 2011477] Re: [SRU] ubuntu-advantage-tools (27.13.6 -> 27.14) Xenial, Bionic, Focal, Jammy, Kinetic

 

This bug was fixed in the package ubuntu-advantage-tools - 27.14.4~16.04

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

  * Backport new upstream release: (LP: #2011477) to xenial

ubuntu-advantage-tools (27.14.4) lunar; urgency=medium

  * timer: disable update_contract_info job (LP: #2015302)
  * livepatch: prevent livepatch from auto-enabling and subsequently failing
    on non-amd64 systems (LP: #2015241)

ubuntu-advantage-tools (27.14.3) lunar; urgency=medium

  * livepatch: prevent livepatch from auto-enabling and subsequently failing
    on interim releases (LP: #2013409)

ubuntu-advantage-tools (27.14.2~23.04.1) lunar; urgency=medium

  * status:
    - always use dpkg instead of lscpu for fetching architecture
      information (LP: #2012735)

ubuntu-advantage-tools (27.14.1~23.04.1) lunar; urgency=medium

  * New upstream release 27.14.1
    - apt: fix a configuration leak in the apt.get_pkg_candidate_version
      function (LP: #2012642)

ubuntu-advantage-tools (27.14~23.04.1) lunar; urgency=medium

  * d/ubuntu-advantage-tools.{postinst,postrm,preinst}:
    - migrate certain settings out of uaclient.conf to a new file managed by
      the pro config subcommand (LP: #2004280)
  * d/ubuntu-advantage-tools.postinst:
    - refactor PREVIOUS_PKG_VER as a global variable
    - simplify how we add notices
  * New upstream release 27.14 (LP: #2011477)
    - api: new u.unattended_upgrades.status.v1 endpoint for querying status of
      unattended upgrades
    - apt:
      + remove legacy apt-hook
      + deliver json apt-hook for interim releases
      + fix cloud identification logic in json apt-hook
      + make all calls to esm-cache isolated from system configuration
        (LP: #2008280)
      + only set up the esm cache on supported systems (LP: #2004018)
    - fix:
      + format the output to be more readable (LP: #1926182)
      + add option to attach during a fix without a token
      + verify if fixed version can be installed before trying (LP: #2006705)
    - livepatch: show warning if current kernel is not supported
    - locks: alert user about corrupted lock files (LP: #1996931)
    - logging: logs are now formatted as jsonlines
    - motd: remove esm-apps announcement
    - notices: new representation on disk as separate files (LP: #1987738)
    - realtime: remove ubuntu-realtime package on disablement
    - status:
      + removed contract info update check network call
      + no longer includes warnings about notices when non-root (LP: #2006138)
      + unattached status sends virt type to contract server for better
        resource availability calculation
    - timer jobs: add daily job to check for contract updates
    - yaml: always import distro-provided pyyaml (LP: #2007234, LP: #2007241)

 -- Renan Rodrigo <renanrodrigo@xxxxxxxxxxxxx>  Thu, 06 Apr 2023
10:50:05 -0300

** Changed in: ubuntu-advantage-tools (Ubuntu Xenial)
       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/2011477

Title:
  [SRU] ubuntu-advantage-tools (27.13.6 -> 27.14) Xenial, Bionic, Focal,
  Jammy, Kinetic

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

Bug description:
  [Impact]
  This is for the release of the latest upstream version of the Ubuntu Pro Client, which contains several bugfixes and new features that are desirable on all releases.

  The most notable changes are:
   - certain user settings are moving out of uaclient.conf to a
     non-conffile intended to be managed by the pro config subcommand
   - a new api function for querying the status of unattended-upgrades
   - a clean-up of how we add messages to motd
   - a clean-up of our apt integration for showing esm updates
   - show warnings when a livepatch is enabled on an unsupported kernel
   - our log format has changed to jsonlines
   - instead of a network request to the contract server during every
     "pro status", we now check with the contract server for updates
     every 24 hours (only if attached)

  See the changelog entry below for a full list of changes and bugs.

  [Test Case]
  The following development and SRU process was followed:
  https://wiki.ubuntu.com/UbuntuAdvantageToolsUpdates

  The ubuntu-advantage-tools team will be in charge of attaching the
  artifacts and console output of the appropriate run to the bug.
  ubuntu-advantage-tools team members will not mark ‘verification-done’
  until this has happened.

  There will be additional tests for the conffile migration change to
  ensure it isn't disruptive during upgrades in common scenarios. These
  are defined in a script in the source upload "sru/release-27.14"
  directory.

  [Regression Potential]
  This release includes some refactors of existing functionality, such as our notice system for displaying various messages in `pro status` output, as well as our separate system for displaying messages in MOTD. If there are bugs in these refactors, then certain messages may not get displayed to the users. These messages are mostly about contract expiration dates for MOTD, and can include some reboot notices or other service-state related situations for pro status notices.

  There are many changes to the packaging scripts. If there are mistakes
  here, then they could error during an apt upgrade, in scenarios not
  considered in testing.

  The migration of some settings out of uaclient.conf could fail in
  certain situations and result in an un-migrated conffile that would
  need user-action to fix. Also, if there are mistakes in the migration
  code, then user-defined settings may not be respected after the
  upgrade.

  This release changes the format of our log file. If other software was
  relying on the previous structure, then it will break.

  We remove the lru_cache from the functions that create the apt Cache objects in the code. This change may affect the performance of any command which runs apt.Cache more than once. However:
  - We see no significative change in performance in commands which use it today (fix, security-status) because those only call each function once
  - There is no way to work around this, as the Cache must always be read right before used, and older instances become stale if configuration or content changes.

  More generally, there are several new features and lots of code
  changed. We could have inadvertently introduced new failure cases in
  any of this.

  [Discussion]
  This includes a large amount of fixes and features. Please take your time reviewing and ask the pro team questions. We'd like to get this released before it gets too close to Lunar launch time.

  We also have a 27.14.1 planned which will include one commit and if
  all goes well, we would like it to supersede 27.14 in -proposed before
  it gets released to -updates. We don't think this should hold-up
  review of the rest of 27.14.

  [Changelog]

    * d/ubuntu-advantage-tools.{postinst,postrm,preinst}:
      - migrate certain settings out of uaclient.conf to a new file managed by
        the pro config subcommand (LP: #2004280)
    * d/ubuntu-advantage-tools.postinst:
      - refactor PREVIOUS_PKG_VER as a global variable
      - simplify how we add notices
    * New upstream release 27.14 (LP: #2011477)
      - api: new u.unattended_upgrades.status.v1 endpoint for querying status of
        unattended upgrades
      - apt:
        + remove legacy apt-hook
        + deliver json apt-hook for interim releases
        + fix cloud identification logic in json apt-hook
        + make all calls to esm-cache isolated from system configuration
          (LP: #2008280)
        + only set up the esm cache on supported systems (LP: #2004018)
      - fix:
        + format the output to be more readable (LP: #1926182)
        + add option to attach during a fix without a token
        + verify if fixed version can be installed before trying (LP: #2006705)
      - livepatch: show warning if current kernel is not supported
      - locks: alert user about corrupted lock files (LP: #1996931)
      - logging: logs are now formatted as jsonlines
      - motd: remove esm-apps announcement
      - notices: new representation on disk as separate files (LP: #1987738)
      - realtime: remove ubuntu-realtime package on disablement
      - status:
        + removed contract info update check network call
        + no longer includes warnings about notices when non-root (LP: #2006138)
        + unattached status sends virt type to contract server for better
          resource availability calculation
      - timer jobs: add daily job to check for contract updates
      - yaml: always import distro-provided pyyaml (LP: #2007234, LP: #2007241)

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