Can't upgrade in daily-proposed

Bug #1218357 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu system image
Fix Released
High
Barry Warsaw

Bug Description

Hi,

After deploying fixes from LP #1217932 locally, I'm getting a new update available from the OS updates UI, but the version is the same as the one reported by system-image-cli -b (20130834).

When pressing the download button, nothing happens UI wise but the download proceeds in /tmp and eventually the UI reports "Download failed: /tmp/system-image/blacklist.tar.xz"

This can be reproduced with system-image-cli:
[systemimage] Aug 29 12:37:07 2013 (8496) running state machine [daily/grouper]
[systemimage] Aug 29 12:37:07 2013 (8496) downloading http://system-image.ubuntu.com/daily/ubuntu/ubuntu-20130828.1.delta-20130822.tar.xz -> /tmp/system-image/ubuntu-20130828.1.delta-20130822.tar.xz
[systemimage] Aug 29 12:37:07 2013 (8496) downloading http://system-image.ubuntu.com/daily/ubuntu/ubuntu-20130828.1.delta-20130822.tar.xz.asc -> /tmp/system-image/ubuntu-20130828.1.delta-20130822.tar.xz.asc
[systemimage] Aug 29 12:37:07 2013 (8496) downloading http://system-image.ubuntu.com/daily/grouper/grouper-20130828.1.delta-20130822.tar.xz -> /tmp/system-image/grouper-20130828.1.delta-20130822.tar.xz
[systemimage] Aug 29 12:37:07 2013 (8496) downloading http://system-image.ubuntu.com/daily/grouper/grouper-20130828.1.delta-20130822.tar.xz.asc -> /tmp/system-image/grouper-20130828.1.delta-20130822.tar.xz.asc
[systemimage] Aug 29 12:37:07 2013 (8496) downloading http://system-image.ubuntu.com/daily/grouper/version-20130834.tar.xz -> /tmp/system-image/version-20130834.tar.xz
[systemimage] Aug 29 12:37:07 2013 (8496) downloading http://system-image.ubuntu.com/daily/grouper/version-20130834.tar.xz.asc -> /tmp/system-image/version-20130834.tar.xz.asc
[systemimage] Aug 29 12:38:26 2013 (8496) uncaught exception in state machine
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/systemimage/state.py", line 104, in __next__
    step()
  File "/usr/lib/python3/dist-packages/systemimage/state.py", line 424, in _download_files
    with Context(*keyrings, blacklist=self.blacklist) as ctx:
  File "/usr/lib/python3/dist-packages/systemimage/gpg.py", line 77, in __init__
    raise FileNotFoundError(blacklist)
FileNotFoundError: /tmp/system-image/blacklist.tar.xz

Cheers,

Tags: client
Revision history for this message
Loïc Minier (lool) wrote :

Some mistake I did: I got configured back to daily via client.init + channel.ini in the last update I had; I manually switched back to daily-proposed in both files now, but am getting the same problem: seeing version 34 (when 35 is up there) and get the same failure.

Revision history for this message
Loïc Minier (lool) wrote :

root@ubuntu-phablet:/# system-image-cli -c
channel/device: daily-proposed/grouper
root@ubuntu-phablet:/# system-image-cli -b
build number: 20130834
root@ubuntu-phablet:/# system-image-cli -v
[systemimage] Aug 29 12:49:09 2013 (2044) running state machine [daily-proposed/grouper]
[systemimage] Aug 29 12:49:09 2013 (2044) downloading http://system-image.ubuntu.com/daily/ubuntu/ubuntu-20130828.1.delta-20130822.tar.xz -> /tmp/system-image/ubuntu-20130828.1.delta-20130822.tar.xz
[systemimage] Aug 29 12:49:09 2013 (2044) downloading http://system-image.ubuntu.com/daily/ubuntu/ubuntu-20130828.1.delta-20130822.tar.xz.asc -> /tmp/system-image/ubuntu-20130828.1.delta-20130822.tar.xz.asc
[systemimage] Aug 29 12:49:09 2013 (2044) downloading http://system-image.ubuntu.com/daily/grouper/grouper-20130828.1.delta-20130822.tar.xz -> /tmp/system-image/grouper-20130828.1.delta-20130822.tar.xz
[systemimage] Aug 29 12:49:09 2013 (2044) downloading http://system-image.ubuntu.com/daily/grouper/grouper-20130828.1.delta-20130822.tar.xz.asc -> /tmp/system-image/grouper-20130828.1.delta-20130822.tar.xz.asc
[systemimage] Aug 29 12:49:09 2013 (2044) downloading http://system-image.ubuntu.com/daily/grouper/version-20130834.tar.xz -> /tmp/system-image/version-20130834.tar.xz
[systemimage] Aug 29 12:49:09 2013 (2044) downloading http://system-image.ubuntu.com/daily/grouper/version-20130834.tar.xz.asc -> /tmp/system-image/version-20130834.tar.xz.asc
[systemimage] Aug 29 12:50:11 2013 (2044) uncaught exception in state machine
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/systemimage/state.py", line 104, in __next__
    step()
  File "/usr/lib/python3/dist-packages/systemimage/state.py", line 424, in _download_files
    with Context(*keyrings, blacklist=self.blacklist) as ctx:
  File "/usr/lib/python3/dist-packages/systemimage/gpg.py", line 77, in __init__
    raise FileNotFoundError(blacklist)
FileNotFoundError: /tmp/system-image/blacklist.tar.xz

Barry Warsaw (barry)
tags: added: client
Revision history for this message
Barry Warsaw (barry) wrote :

I suspect this is due to the incomplete persistence support. For now, I'm going to disable this in system-image 1.3 and will re-enable it with additional tests in a future release.

Changed in ubuntu-system-image:
status: New → Triaged
importance: Undecided → High
milestone: none → 1.3
assignee: nobody → Barry Warsaw (barry)
Revision history for this message
Barry Warsaw (barry) wrote :

So I built a local package of what will be 1.3 and installed it on my device:

root@ubuntu-phablet:/tmp# system-image-cli --version
system-image-cli 1.3
root@ubuntu-phablet:/tmp# system-image-cli --info

current build number: 20130831
device name: grouper
channel: daily-proposed
root@ubuntu-phablet:/tmp# system-image-cli --dry-run
Upgrade path is 20130832:20130833:20130834:20130835
root@ubuntu-phablet:/tmp# system-image-cli --dry-run -c daily
Upgrade path is 20130832:20130833:20130834

This looks right to me, so I'm going to fix commit this bug.

Changed in ubuntu-system-image:
status: Triaged → Fix Committed
Barry Warsaw (barry)
Changed in ubuntu-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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