← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1989279] Re: [SRU] ubuntu-advantage-tools (27.10.1 -> 27.11) Xenial, Bionic, Focal, Jammy

 

This bug was fixed in the package ubuntu-advantage-tools -
27.11.2~16.04.1

---------------
ubuntu-advantage-tools (27.11.2~16.04.1) xenial; urgency=medium

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

ubuntu-advantage-tools (27.11.2~22.10.1) kinetic; urgency=medium

  * New upstream release 27.11.2: (LP: #1991173)
    - esm: add the --beta flag back to esm-apps
    - messaging: show Ubuntu Pro beta message in apt output
    - security-status: don't show esm-apps information when the service is not
      enabled
    - ros: add the --beta flag back to ros and ros-updates

ubuntu-advantage-tools (27.11.1~22.10.1) kinetic; urgency=medium

  * New upstream release 27.11.1: (LP: #1990907)
    - Fix release upgrade when ESM packages are installed
      + d/postinst: remove series information from the APT preferences template
      + esm: remove series information from the APT preferences file

ubuntu-advantage-tools (27.11~22.10.1) kinetic; urgency=medium

  * d/control:
    - Update VCS references
  * d/links:
    - add usr/bin/pro as an alias to ubuntu-advantage
  * d/postinst:
    - include root_mode parameter when creating UAConfig instances
    - change calls to add_notice to notice_file.add
    - create public machine-token file if it does not exist
  * New upstream release 27.11 (LP: #1989279)
    - api:
      + new `pro api` command to access the public client API
      + 'version' endpoint returning version information
      + 'should auto attach' endpoint informing if a system should run
        auto-attach on startup
      + 'full auto attach' endpoint performing auto-attach
      + 'magic attach' endpoints for the Magic Attach flow
    - auto-attach:
      + better errors for invalid pro images (GH: #2180, #1833)
      + don't detach on already auto-attached instances
      + no-op when ubuntu-advantage information is present on cloud-init
        userdata
      + change systemd unit to run after cloud-config
    - cli:
      + cli: better error message on unrecognized flags (GH: #672)
    - collect-logs:
      + can now be executed as a non-root user
      + is executed automatically and result is appended when using apport to
        report a bug
    - docs: now formatted to be built with sphinx, and published in readthedocs
    - enable:
      + new access-only flag for usecases where auto-install is undesired
      + fix apt auth line replacement (LP: #1985863)
    - esm-apps: generally available as non-beta as part of Ubuntu Pro
    - fix: check if livepatch has already fixed a CVE before attempting a fix
    - jobs: new timer job to check if the release reached end of support
    - pro:
      + Ubuntu Pro is released as a product
      + make `pro` the recommended executable for the client
      + client, apt and motd messages updated/rewritten to show Pro
        information
      + base URL changed from /advantage to /pro
      + ESM services renamed as part of Pro
    - ros: released as a non-beta entitlement
    - security-status
      + does not require the --format flag anymore
      + human readable output added based on ubuntu-security-status
      + machine readable output contains CVEs fixed by Livepatch
      + package counts include all esm-infra and esm-apps repositories
    - status:
      + don't show unavailable services by default (GH: #2156, #2159)
      + expiry date formatted based on timezone (GH: #695)
      + non-root users get the current status instead of a cached version
      + --wait flag now working for non-root users
    - version: warn about new available versions of the client in CLI command
      output and API calls

 -- Renan Rodrigo <renanrodrigo@xxxxxxxxxxxxx>  Thu, 29 Sep 2022
18:22:54 -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/1989279

Title:
  [SRU] ubuntu-advantage-tools (27.10.1 -> 27.11) Xenial, Bionic, Focal,
  Jammy

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

Bug description:
  [Archive-Admin sign-off]
  If you are an archive admin aware of those changes and agree with them, please sign off below:
  - sil2100

  [Impact]
  This release sports both bug-fixes and new features and we would like to
  make sure all of our supported customers have access to these
  improvements. The notable ones are:

     * The rebranding done to match the launch of Ubuntu Pro
       - 'esm-apps' is now generally available as a non-beta service
       - Messages, commands and services have been reworded/rewritten to use `pro` and the Ubuntu Pro defined terms
     * A new public API is being released, with a few starting endpoints. This feature will grow in subsequent releases as more endpoints are added
     * Improvements in auto-attach to better integrate with cloud-init
     * Magic attach endpoints let users attach without explicitly providing a token
     * The security-status command output has information like 'ubuntu-security-status', aiming to replace it in the future
     * Fix a LP bug where an APT auth file was growing exponentially (LP: #1985863)
     * Several improvements and bug fixes

  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.

  * Automated Test Results
  We have run the full ubuntu-advantage-tools integration test suite against the version in -proposed (27.11.2). 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.

  [Regression Potential]
  People may still be relying on `ua` as a command in their scripts instead of `pro`. To avoid regression, `ua` will still be generally available as a CLI alias.

  Changes in the text/messages are done for the CLI commands output, but
  the machine-readable data provided by the client has not changed their
  schema in any way, so scripts relying on the client will not break.

  Changes for both text and functionality are covered by the integration
  test suite - which should be executed and passing as part of this SRU
  process.

  Other changes introduce new features or options, and there is no
  expected risk of regression there.

  [Discussion]
  The most discussed change here is delivering /usr/bin/pro. Below is a list of Risks /Thoughts that have been taken into consideration already:

  1) Direct collisions
  a)Checking for a conflicting reference in any of https://codesearch.debian.net/ (there is none)
  b) Checked /usr/share/command-not-found/commands.db our active releases
  c) Checked apt-file for “pro” files across releases, no binaries or files just with the name “pro” found

  2) User script collisions
  a) We know they may happen - for the devel+next release it is not a problem at all, as users will adapt to what is in the distro
  b) For the stable releases it may break user-defined scripts; we considered this to be a minor risk in face of the business justification for adding 'pro', and users can adapt their PATH as a workaround.
  c) Those user defined scripts may also be installed directly into /usr/bin/pro. Even in this case, the PATH workaround can be done if they move their custom executable to /usr/local/bin/pro, which is the recommended anyway.
  d) If there really is an issue with this reported to us, we might consider an update to soften this up (in old releases) by moving the on disk alias (it is just a symlink) to a separate package and only recommend.

  3) Not being an open door to add more and more names
  a)The team has spoken about this and the general conclusion is that it should not happen - the `pro` change is motivated by a product rebranding/expansion, which is not a frequent change to expect.
  b)If the client delivered via the ubuntu-advantage-tools package is re-purposed or extended in the future (For example due to requests strong enough to include e.g. system management features not related to `pro`), then the `ua` name that stays can still be leveraged for example by renaming it to “ubuntu admin” or something similar matching UA.

  4) Philosophy/Meaning collision
  a) While looking around we have found a few “pro” things in the archive. But due to the nature of Ubuntu these never were about professional offerings (ours is the only one added now). Instead we found PROtein related tools, PROject file formats, testing tools for rePROducing stuff - but nothing ever was pro as in PROfessional.
  b) It is not a violation of behavior to provide commercial services in a default installed package. As Steve explained [1] it is for a clean user interface to consume those, and since all of these paid and unpaid offerings are rebranded to “Pro” not having a pro entry point would be a disservice.

  [1]: https://www.mail-archive.com/ubuntu-
  devel@xxxxxxxxxxxxxxxx/msg10433.html

  [Other Info]

  We turned off a feature that got flagged in review: automated adding
  of the ESM repository to sources.list after the ESM date to report on
  the number of available ESM updates. However a second instance of the
  same bug exists in postinst, introduced in a previous update. We won't
  touch it in this SRU, but will need to fix it in a future SRU. This is
  bug 1990378.

  [Changelog]

    * d/control:
      - Update VCS references
    * d/links:
      - add usr/bin/pro as an alias to ubuntu-advantage
    * d/postinst:
      - include root_mode parameter when creating UAConfig instances
      - change calls to add_notice to notice_file.add
      - create public machine-token file if it does not exist
    * New upstream release 27.11 (LP: #1989279)
      - api:
        + new `pro api` command to access the public client API
        + 'version' endpoint returning version information
        + 'should auto attach' endpoint informing if a system should run
          auto-attach on startup
        + 'full auto attach' endpoint performing auto-attach
        + 'magic attach' endpoints for the Magic Attach flow
      - auto-attach:
        + better errors for invalid pro images (GH: #2180, #1833)
        + don't detach on already auto-attached instances
        + no-op when ubuntu-advantage information is present on cloud-init userdata
        + change systemd unit to run after cloud-config
      - cli:
        + cli: better error message on unrecognized flags (GH: #672)
      - collect-logs:
        + can now be executed as a non-root user
        + is executed automatically and result is appended when using apport to
          report a bug
      - docs:
        + now formatted to be built with sphinx, and published in readthedocs
        + added explanation on how auto-attach works (GH: #2179)
      - enable:
        + new access-only flag for usecases where auto-install is undesired
        + fix apt auth line replacement (LP: #1985863)
      - esm-apps: generally available as non-beta as part of Ubuntu Pro
      - fix: check if livepatch has already fixed a CVE before attempting a fix
      - jobs: new timer job to check if the release reached end of support
      - magic-attach: new way to attach a machine without using a token directly
      - pro:
        + Ubuntu Pro is released as a product
        + make `pro` the recommended executable for the client
        + client, apt and motd messages updated/rewritten to show Pro
          information
        + base URL changed from /advantage to /pro
        + ESM services renamed as part of Pro
      - ros: released as a non-beta entitlement
      - security-status
        + does not require the --format flag anymore
        + human readable output added based on ubuntu-security-status
        + machine readable output contains CVEs fixed by Livepatch
        + package counts include all esm-infra and esm-apps repositories
      - status:
        + don't show unavailable services by default (GH: #2156, #2159)
        + expiry date formatted based on timezone (GH: #695)
        + non-root users get the current status instead of a cached version
        + --wait flag now working for non-root users
      - version: warn about new available versions of the client in CLI command
        output and API calls

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