[Bug 1320306] Re: udm immediately sends a 'canceled' signal
Manuel de la Peña
manuel.delapena at canonical.com
Tue May 20 10:35:59 UTC 2014
Looking at the bug report:
'Credentials not found / Please log into your Ubuntu One account'
Ok, this is due to the fact that the click packages are now also updated
in the same system settings page. I think that gatox did update system-
setting to work correctly when you do not have a u1 account, if he has
not we should file a bug there. There reason for the u1 account beint
required is so that the system settings app can query the click store in
the server side.
Second, we are running this update in an emulator, that means that the
/tmp space is reduced and we might be hitting a state in which udm does
not have enough space to write the download in the file system. I
suspected, sorry, I strongly suspected, that it is the case due to the
udm logs stating:
E0516 18:31:41.610985 8073 file_download.cpp:659] GroupDownload
{4f30e058b4dc4ed1a4104ff346179074 } Download ID{
e4a1dfa67427427399652316b13ef9cd } Could not write that in the file
system
Please ignore the previous error in the logs, it is due to the fact that
we cannot get the apparmor profile from the system image process, which
is due to the fact that system image runs uncofined.
Third, AFAIK system image will not be able to work in the emulator due
to the way the emulator works, we had a conversation with xnox about
this during the london sprint and unless he has changed anything in the
boot sequence of the emulator, even if the download is succesfull you
will not see the emulator upgraded.
Last but not least, I have assumed that udm could be wrong and I have
tested with the following code:
Go lang example using the go bindings I wrote for the mms client
(nuntium):
http://paste.ubuntu.com/7492384/
Python example:
http://paste.ubuntu.com/7492420/
The go example is using the sessiong bus while the python one uses the
system one. Both work as expected on the desktop and I have a strong
feeling that this is more related to the fact that the update is running
in the emulator that udm per se. I'll run a number of tests in a phone
to ensure that everything does work (for example, perform a system image
ipdate, click installations etc..). If everything works I would look at
another culprid ;-)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1320306
Title:
udm immediately sends a 'canceled' signal
Status in Ubuntu Download Manager:
New
Status in Ubuntu system image (server/client/updater):
New
Status in “system-image” package in Ubuntu:
New
Bug description:
I'm getting unhappy errors trying to upgrade a goldfish emulator
instance using system-image. If I try to update from the UI, I get a
'Credentials not found / Please log into your Ubuntu One account'
message that I've never seen before; if I try to do it from the
commandline, I get the following:
root at ubuntu-phablet:~# system-image-cli --build 0 -c devel-proposed -v
[systemimage] May 16 17:22:20 2014 (14702) running state machine [devel-proposed/generic]
[systemimage] May 16 17:22:20 2014 (14702) No valid image master key found, downloading
[systemimage] May 16 17:22:24 2014 (14702) [0x7624b510] Requesting group download:
https://system-image.ubuntu.com/gpg/image-master.tar.xz -> /android/cache/recovery/keyring.tar.xz
https://system-image.ubuntu.com/gpg/image-master.tar.xz.asc -> /android/cache/recovery/keyring.tar.xz.asc
[systemimage] May 16 17:22:25 2014 (14702) [0x7624b510] Running group download reactor
[systemimage] May 16 17:22:29 2014 (14702) [0x7624b510] Group download reactor done
[systemimage] May 16 17:22:29 2014 (14702) Reactor canceled
[systemimage] May 16 17:22:29 2014 (14702) uncaught exception in state machine
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 124, in __next__
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 201, in _get_blacklist_1
'image-master', 'gpg/image-master.tar.xz', 'archive-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 107, in get_keyring
(ascxz_src, ascxz_dst),
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 228, in get_files
raise Canceled
systemimage.download.Canceled
[systemimage] May 16 17:22:29 2014 (14702) system-image-cli exception
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/systemimage/main.py", line 240, in main
list(state)
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 124, in __next__
step()
File "/usr/lib/python3/dist-packages/systemimage/state.py", line 201, in _get_blacklist_1
'image-master', 'gpg/image-master.tar.xz', 'archive-master')
File "/usr/lib/python3/dist-packages/systemimage/keyring.py", line 107, in get_keyring
(ascxz_src, ascxz_dst),
File "/usr/lib/python3/dist-packages/systemimage/download.py", line 228, in get_files
raise Canceled
systemimage.download.Canceled
the current image is:
# cat /etc/system-image/channel.ini
[service]
base: system-image.ubuntu.com
http_port: 80
https_port: 443
channel: devel
build_number: 28
channel_target: ubuntu-touch/utopic
version_detail: ubuntu=20140514.1,device=20140513.2,version=28
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-download-manager/+bug/1320306/+subscriptions
More information about the foundations-bugs
mailing list