[lxc-users] Image "ubuntu:x" not found (no 16.04 images on "ubuntu:")

Simos Xenitellis simos.lists at googlemail.com
Thu Mar 30 16:26:01 UTC 2017


First of all, now it's working as Stéphane wrote earlier.

On Thu, Mar 30, 2017 at 4:55 PM, Sergiusz Pawlowicz
<sergiusz at pawlowicz.name> wrote:
> On Thu, Mar 30, 2017 at 5:34 PM, Simos Xenitellis
> <simos.lists at googlemail.com> wrote:
>> Hi All,
>>
>> I just tried "lxc image list ubuntu:" and I do not see any 16.04 images.
>> (i.e. lxc launch ubuntu:x mycontainer   fails).
>>
>> I attach the output of "lxc image list ubuntu:".
>>
>> I suppose it is a temporary issue, just logging it here.
>
> I have the same issue.
>
> It's really strange, today I am not able to launch any installation,
>
> $ lxc launch ubuntu: test
> Creating test
> error: Couldn't find the requested image
>
> It looks like aliases got lost on  https://cloud-images.ubuntu.com/releases ?
>

Currently, the "ubuntu:" image is the default for "ubuntu:16.04".
Therefore, the "error: Couldn't find the requested image" error means
that it could not find the 16.04 image.

Personally, I use the explicit name, with the single-letter alias: "ubuntu:x".

> $ lxc image list ubuntu:
>
> +--------------------+--------------+--------+-------------------------------------------------+---------+----------+-------------------------------+
> |       ALIAS        | FINGERPRINT  | PUBLIC |
> DESCRIPTION                   |  ARCH   |   SIZE   |          UPLOAD
> DATE          |
> +--------------------+--------------+--------+-------------------------------------------------+---------+----------+-------------------------------+
> | p (5 more)         | 973c3a42737a | yes    | ubuntu 12.04 LTS amd64
> (release) (20170307)     | x86_64  | 156.00MB | Mar 7, 2017 at 12:00am
> (UTC)  |
> +--------------------+--------------+--------+-------------------------------------------------+---------+----------+-------------------------------+
>
> What is "p (5 more)"?
>

The "p (5 more)" text means that for the Ubuntu 12.04 (precise) image,
there are six aliases in total.
The default name is "p", as shown in the list.
To find out the full list of aliases, run

$ lxc image info ubuntu:p
Fingerprint: 973c3a42737ae3c4161d2a2b64d4ffee1be07ee018f47e2df86b67b909111d5f
Size: 156.00MB
Architecture: x86_64
Public: yes
Timestamps:
    Created: 2017/03/07 00:00 UTC
    Uploaded: 2017/03/07 00:00 UTC
    Expires: 2017/04/26 00:00 UTC
    Last used: never
Properties:
    serial: 20170307
    description: ubuntu 12.04 LTS amd64 (release) (20170307)
    os: ubuntu
    release: precise
    version: 12.04
    architecture: amd64
    label: release
Aliases:
    - 12.04
    - 12.04/amd64
    - p
    - p/amd64
    - precise
    - precise/amd64
Auto update: disabled
$ _

At the end of the output you can see the full list of six aliases.

Simos

> Did I miss something?
>
> cheers,
> Serge
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list