lxc image copy should be (at least optionally) more verbose

Bug #1530414 reported by James Troup
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxd (Ubuntu)
Fix Released
Wishlist
Stéphane Graber

Bug Description

If I kick off an image copy from a remote store to my local one I get zero indication of progress; lxc just sits there silently for 90s until the copy finishes. This seems like a bad user experience. There isn't even a --verbose or similar type option.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Hi,

Yes, there are a number of operations for which we used to lack progress information entirely which made this impossible.

Recently, I've implemented the events API and updated most download paths within LXD to expose progress information back to the client (by increment of 10% to avoid flooding them with events), our default client however doesn't yet use this information.

Our focus is currently on a few big and complex features that we want to land before feature freeze (remainder of resource limits and native simplestream support) but I'm hopeful we'll get some time to fix some of those rough edges in the command line client in time for 16.04.

Changed in lxd (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged
Changed in lxd (Ubuntu):
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Stéphane Graber (stgraber) wrote :

I tried to fix this one during one of my flights today but it turns out that on local transfer, we're going so fast that no progress events even get emitted (whole thing is downloaded within 1s) and trying from an airport lounge, internet is so slow (Johannesburg airport) that I'd have to wait about 20 minutes for the damn thing to download :)

Will try again later this week when I've got faster internet.

Revision history for this message
Stéphane Graber (stgraber) wrote :

Found a way to simulate what I needed on my last flight of the day, fix for this bug has been submitted upstream.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxd - 0.27-0ubuntu1

---------------
lxd (0.27-0ubuntu1) xenial; urgency=medium

  * New upstream release (0.27)
    - Support for container disk quota (zfs and btrfs only)
    - Download progress during image copy and container launch (LP: #1530414)
    - Initial work on a LXC to LXD script (supports almost every
      configuration except for unprivileged containers)
    - New linux.kernel_modules container property (list of modules to
      load before starting the container)
    - New core.https_allowed_origin server property (controls the
      Access-Control-Allow-Origin header)
    - Profile changes are now live-applied to all affected containers
    - "lxc config edit" now works against servers too
    - Changes to security.nesting are now live-applied
    - Support for xfs with the lvm backend
    - "lxc image list" now supports filtering (by name, hash and properties)
    - Improved bash completion profile
    - The default remote is now visible in "lxc remote list"
    - "lxc info" now indicates whether a container is ephemeral or persistent
    - Various improvement to help messages
      (LP: #1531643, LP: #1530413, LP: #1531357)
    - A lot of bugfixes and other performance improvement, see:
      https://linuxcontainers.org/lxd/news/

 -- Stéphane Graber <email address hidden> Wed, 20 Jan 2016 09:53:05 -0500

Changed in lxd (Ubuntu):
status: Triaged → 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.