Landscape: Upgrade 14.04.5 to 16.04.2 fails unable to reboot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
landscape-client (Ubuntu) |
Fix Released
|
High
|
Dave Jones | ||
Trusty |
Fix Released
|
High
|
Simon Poirier | ||
Xenial |
Fix Released
|
High
|
Simon Poirier | ||
Bionic |
Fix Released
|
High
|
Simon Poirier | ||
Cosmic |
Fix Released
|
High
|
Simon Poirier | ||
systemd (Ubuntu) |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Trusty |
New
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Dimitri John Ledkov | ||
Bionic |
Fix Released
|
High
|
Unassigned | ||
Cosmic |
Fix Released
|
High
|
Dimitri John Ledkov |
Bug Description
https:/
[Impact]
* When logind is not available, shutdown command fails to schedule a shutdown, and despite its intentions to immediately shutdown, does not do so.
[Test Case]
sudo systemctl mask systemd-
sudo systemctl stop systemd-
shutdown +1
The expectation is that system goes to shutdown.
It is buggy if the system remains up - i.e. command returns to shell with exit code 1.
[Regression Potential]
* It is a corner case to run against systemd-shim logind / or logind not otherwise available. The function still performs a clean-shutdown, and should not cause loss of work.
[Other Info]
* Original bug report, running against systemd-
Used Landscape (Paid Canonical Subscription) to upgrade one of my machines.
Landscape only shows "In Progress" for more than 8 hours now and asked for a reboot of the machine in a second alert.
In the reboot attempt I get the message:
=======
Failed to set wall message, ignoring: Method "SetWallMessage" with signature "sb" on interface "org.freedeskto
Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: Method "ScheduleShutdown" with signature "st" on interface "org.freedeskto
=======
Steps to reproduce:
* Fully updated 14.04.5 machine
* Open Landscape
* Choose the machine
* Choose Packages
* This computer can be upgraded to a newer release
* Apply
* Wait 2 hours
* Alert comes in a seperate Landscape message Machine is ready for reboot
* Choose Info... Power
* Deliver to selected computers as soon as possible
* Error message
I found this thread on reddit about this issue maybe the solution can be built into the upgrade script
https:/
Related branches
- Andreas Hasenack (community): Approve
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 548 lines (+502/-0)7 files modifieddebian/changelog (+16/-0)
debian/patches/1616116-resync-loop.patch (+142/-0)
debian/patches/nutanix-kvm.patch (+17/-0)
debian/patches/post-upgrade-reboot.patch (+132/-0)
debian/patches/release-upgrade-success.patch (+23/-0)
debian/patches/series (+5/-0)
debian/patches/unicode-tags-script.patch (+167/-0)
- Andreas Hasenack (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 601 lines (+555/-0)7 files modifieddebian/changelog (+16/-0)
debian/patches/1616116-resync-loop.patch (+142/-0)
debian/patches/1699179-release-upgrade-check.diff (+219/-0)
debian/patches/nutanix-kvm.patch (+18/-0)
debian/patches/post-upgrade-reboot.patch (+132/-0)
debian/patches/release-upgrade-success.patch (+23/-0)
debian/patches/series (+5/-0)
- Andreas Hasenack (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 601 lines (+555/-0)7 files modifieddebian/changelog (+16/-0)
debian/patches/1616116-resync-loop.patch (+142/-0)
debian/patches/1699179-release-upgrade-check.diff (+219/-0)
debian/patches/nutanix-kvm.patch (+18/-0)
debian/patches/post-upgrade-reboot.patch (+132/-0)
debian/patches/release-upgrade-success.patch (+23/-0)
debian/patches/series (+5/-0)
- Andreas Hasenack (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 549 lines (+503/-0)7 files modifieddebian/changelog (+16/-0)
debian/patches/1616116-resync-loop.patch (+142/-0)
debian/patches/nutanix-kvm.patch (+18/-0)
debian/patches/post-upgrade-reboot.patch (+132/-0)
debian/patches/release-upgrade-success.patch (+23/-0)
debian/patches/series (+5/-0)
debian/patches/unicode-tags-script.patch (+167/-0)
- Andreas Hasenack (community): Approve
- git-ubuntu developers: Pending requested
-
Diff: 549 lines (+503/-0)7 files modifieddebian/changelog (+16/-0)
debian/patches/1616116-resync-loop.patch (+142/-0)
debian/patches/nutanix-kvm.patch (+18/-0)
debian/patches/post-upgrade-reboot.patch (+132/-0)
debian/patches/release-upgrade-success.patch (+23/-0)
debian/patches/series (+5/-0)
debian/patches/unicode-tags-script.patch (+167/-0)
affects: | ubuntu-release-upgrader (Ubuntu) → landscape-client (Ubuntu) |
tags: | added: dist-upgrade xenial |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
milestone: | none → ubuntu-17.04 |
Changed in landscape-client (Ubuntu Zesty): | |
importance: | Undecided → High |
Changed in landscape-client (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in systemd (Ubuntu Xenial): | |
status: | Incomplete → Confirmed |
milestone: | ubuntu-16.04.3 → xenial-updates |
Changed in systemd (Ubuntu Bionic): | |
status: | New → Confirmed |
importance: | Undecided → High |
description: | updated |
Changed in systemd (Ubuntu Bionic): | |
status: | Confirmed → In Progress |
Changed in systemd (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
Changed in landscape-client (Ubuntu Bionic): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Simon Poirier (simpoir) |
Changed in landscape-client (Ubuntu Cosmic): | |
status: | Fix Committed → In Progress |
assignee: | Dave Jones (waveform) → Simon Poirier (simpoir) |
Changed in landscape-client (Ubuntu Xenial): | |
status: | Confirmed → In Progress |
assignee: | nobody → Simon Poirier (simpoir) |
Changed in landscape-client (Ubuntu Trusty): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Simon Poirier (simpoir) |
tags: |
added: verification-done-bionic verification-done-cosmic verification-done-trusty verification-done-xenial removed: verification-needed verification-needed-bionic verification-needed-cosmic verification-needed-trusty verification-needed-xenial |
Was able to reboot by sshing into the machine and rebooting with error message but it still went through with the reboot.
Landscape is now stuck on In Progress
In progress Upgrade from trusty to xenial