udm falls over on the switch from wifi to 3g meaning ota are stuck and the system can't recover till reboot

Bug #1390205 reported by Dave Morley
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-download-manager
Fix Released
Critical
Manuel de la Peña

Bug Description

STEPS:
1. Install an old image (102 in my case (current image is 148))
2. Click on system settings
3. Wait for the updates available to appear
4. Click on updates tag
5. Click on the system image to start it downloading
6. Walk out of wifi range
7. After a few minute walk back into wifi range

EXPECTED:
I expect the image to continue to downloading once I am in wifi ranger again.

ACTUAL:
Instead the image disappears from view, running system-image-cli -n does nothing, click on updates does nothing.

Temp work around:
Reboot the phone this remove the tmp file and allows you to search and download the update once more.

Tags: rtm14

Related branches

Dave Morley (davmor2)
Changed in ubuntu-download-manager:
importance: Undecided → High
Dave Morley (davmor2)
description: updated
Changed in ubuntu-download-manager:
assignee: nobody → Manuel de la Peña (mandel)
Revision history for this message
Barry Warsaw (barry) wrote :

system-image (dbus or cli) just sets the flag in udm, and let's udm handle all the details. One thing that would be interesting is to know whether leaving and returning to your wifi, with wifi-only downloads enabled, crashes udm or not. If udm crashes without sending any further signals to s-i, then s-i-dbus will just continue to spin until its own internal timeout triggers (defaulting to 10m). After 10m with no response from udm, the reactor will timeout, cause a s-i-dbus error and that process should exit. s-i-cli should, after 10 minutes of no response from udm, also timeout its reactor, and exit with an exception on the console (and log file).

If this is reproducible, then tailing /var/log/system-image/client.log, the udm log file (don't remember where the system bus udm log file lives), and ps'ing 'ubuntu-download-manager' to see if it crashes would all be useful things.

Ultimately you're right by filing the bug here. s-i does not currently do any direct querying of the network status.

Dave Morley (davmor2)
description: updated
Olli Ries (ories)
tags: added: rtm14
Changed in ubuntu-download-manager:
importance: High → Critical
Changed in ubuntu-download-manager:
status: New → In Progress
Changed in ubuntu-download-manager:
status: In Progress → Fix Released
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

@manuel did this land in rtm?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.