** Also affects: landscape-client (Ubuntu Cosmic)
   Importance: Undecided
       Status: New

** Changed in: landscape-client (Ubuntu Cosmic)
       Status: New => In Progress

** Changed in: landscape-client (Ubuntu Cosmic)
   Importance: Undecided => Medium

** Changed in: landscape-client (Ubuntu Cosmic)
     Assignee: (unassigned) => Simon Poirier (simpoir)

-- 
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/1699179

Title:
  PackageReporter kicks in during do-release-upgrade

Status in Landscape Client:
  Fix Released
Status in landscape-client package in Ubuntu:
  Fix Released
Status in landscape-client source package in Trusty:
  New
Status in landscape-client source package in Xenial:
  New
Status in landscape-client source package in Artful:
  Won't Fix
Status in landscape-client source package in Bionic:
  Fix Released
Status in landscape-client source package in Cosmic:
  In Progress

Bug description:
  [Impact]

   * This issue affects users of the release-upgrade feature of
  landscape.

   * Landscape package monitor would previously race during an upgrade
     and possibly grab apt locks, thus making the upgrade fail.

   * The fix adds checks during package operations to make sure a
     release upgrade is not in progresss.

  [Test Case]

   * in /etc/landscape/client.conf , set "apt_update_interval=1800" and 
     "log_level=debug" and restart the client.
   
   * Launch a release upgrade from landscape-server. Look for messages
     in the package-monitor logs stating "conditions not met"

  [Regression Potential]

   * Unlikely, as this has already been released to newer ubuntu releases
     and is fairly well tested.

   * Any issue with related changes would likely only affect the client
     getting new package info, but won't affect other functionality.

  [Original description]

  Affected release: Ubuntu 14.04.5
  Version of package: 14.12-0ubuntu5.14.04

  Steps to reproduce:
  1. Run do-release-upgrade to upgrade to 16.04.2.
  2. Trigger the package-reporter to kick in while do-release-upgrade is 
working but not having the package database locked.
  3. Package database is locked by package-reporter, do-release-upgrade fails 
to access it and exits.

  Expected result:
  Landscape detects that there's an release upgrade in progress and will wait 
for it to finish.

  Actual result:
  PackageReporter locks the apt database, do-release-upgrade cannot access it, 
exits with an error and may leave the system in an unusable state.

  * Link to Dariusz's PR on GitHub:
  https://github.com/CanonicalLtd/landscape-client/pull/14

To manage notifications about this bug go to:
https://bugs.launchpad.net/landscape-client/+bug/1699179/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : group.of.nepali.translators@lists.launchpad.net
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to