[Bug 1416328] Re: Does not reply on dbus when busy (e.g. downloading)
Barry Warsaw
1416328 at bugs.launchpad.net
Thu Feb 5 16:14:09 UTC 2015
** Also affects: ubuntu-system-image
Importance: Undecided
Status: New
** Tags added: client
** No longer affects: system-image (Ubuntu)
** Changed in: ubuntu-system-image
Status: New => Triaged
** Changed in: ubuntu-system-image
Importance: Undecided => High
--
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/1416328
Title:
Does not reply on dbus when busy (e.g. downloading)
Status in Ubuntu system image (server/client/updater):
Triaged
Bug description:
We ran into the issue that system-image-dbus would sometimes not reply
on snappy. After long debugging and deep dive into the go-dbus code it
seems that system-image-dbus simply does not reply when its busy, at
least in the snappy branch.
This may well be fixed in the 3.0 branch so here is a test and it
would be great to know if that works with the curl backend and the 3.0
branch:
Ensure there is something for s-i-dbus to do (e.g. download new image):
$ rm -f /writable/cache/*.tar.xz
$ dbus-send --system --dest=com.canonical.SystemImage
--type=method_call --print-reply /Service
com.canonical.SystemImage.CheckForUpdate && sleep 1 && dbus-send
--system --dest=com.canonical.SystemImage --type=method_call --print-
reply /Service com.canonical.SystemImage.DownloadUpdate && sleep 1 &&
dbus-send --system --dest=com.canonical.SystemImage --type=method_call
--reply-timeout=5000 --print-reply /Service
com.canonical.SystemImage.Information
Running the above gives me:
"""
method return sender=:1.54 -> dest=:1.53 reply_serial=2
method return sender=:1.54 -> dest=:1.55 reply_serial=2
Error org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
"""
So it appears the curl backend is not quite there for snappy yet.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-system-image/+bug/1416328/+subscriptions
More information about the foundations-bugs
mailing list