** Description changed: + [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
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1699179 Title: PackageReporter kicks in during do-release-upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/landscape-client/+bug/1699179/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs