group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #28439
[Bug 1699179] Re: PackageReporter kicks in during do-release-upgrade
This bug was fixed in the package landscape-client -
16.03-0ubuntu2.16.04.5
---------------
landscape-client (16.03-0ubuntu2.16.04.5) xenial; urgency=medium
* debian/patches/nutanix-kvm.patch: Update vm_info.py to include Nutanix
hypervisor (LP: #1788219)
* Fixes for release-upgrade (LP: #1699179).
- debian/patches/1699179-release-upgrade-check.diff: Check if ubuntu-
release-upgrader is running before apt-update. (LP: #1699179)
- debian/patches/release-upgrade-success.patch: Enable landscape-client to
survive trusty upgrade. (LP: #1670291)
- debian/patches/post-upgrade-reboot.patch: Force reboot operation in
case systemd fails. (LP: #1670291)
* debian/patches/1616116-resync-loop.patch:
Clear hash id database on package resync. (LP: #1616116)
-- Simon Poirier <simon.poirier@xxxxxxxxxxxxx> Tue, 27 Nov 2018
09:24:22 -0500
** Changed in: landscape-client (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/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:
Fix Released
Status in landscape-client source package in Xenial:
Fix Released
Status in landscape-client source package in Artful:
Won't Fix
Status in landscape-client source package in Bionic:
Fix Released
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