Public bug reported:

Create a local copy of a remote image:
 $ lxc image copy ubunt-daily:x local: --copy-aliases --auto-update

Wait for a new daily to publish and auto-update
Look at the image info:

$ lxc image info $ lxc image info x
Fingerprint: 1f7c75ee1ed317385fe182b298b6cfeebea12dd3f6823d33c58eb6a989d56f4e
Size: 139.64MB
Architecture: x86_64
Public: no
Timestamps:
    Created: 2016/03/29 00:00 UTC
    Uploaded: 2016/03/30 01:12 UTC
    Expires: 2021/04/21 00:00 UTC
Properties:
    aliases: 16.04,devel,x,xenial
    architecture: amd64
    description: ubuntu 16.04 LTS amd64 (daily) (20160329)
    label: daily
    os: ubuntu
    release: xenial
    serial: 20160329
    version: 16.04
Aliases:
    - 16.04
    - 16.04/20160322
    - 16.04/amd64
    - 16.04/amd64/20160322
    - devel
    - devel/20160322
    - devel/amd64
    - devel/amd64/20160322
    - x
    - x/20160322
    - x/amd64
    - x/amd64/20160322
    - xenial
    - xenial/20160322
    - xenial/amd64
    - xenial/amd64/20160322
Auto update: enabled
Source:
    Server: https://cloud-images.ubuntu.com/daily
    Protocol: simplestreams
    Alias: x


The description and serial show that this is the 20160329 image after several 
auto-updates, however the aliases have not been updated and reflect the serial 
from the initial copy operation.

** Affects: lxd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1563903

Title:
  Image aliases not updated for auto-updated copies

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1563903/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to