Comment 0 for bug 1593451

Revision history for this message
CJ Cotton (mikachewie) wrote :

Attempting to use ubuntu-cloudimg-query from the cloud-utils to query for the xenial distro in us-west-2. It keeps returning "no matching ami id found, but '%{ami}' in output format", however it is able to look it up with the url format and return it correctly. It does not return any information for Xenial when you remove additional filters.

Examples:

$ ubuntu-cloudimg-query xenial
no matching ami id found, but '%{ami}' in output format

$ ubuntu-cloudimg-query -v xenial
no matching ami id found, but '%{ami}' in output format

$ ubuntu-cloudimg-query xenial us-west-2
no matching ami id found, but '%{ami}' in output format

$ ubuntu-cloudimg-query --format '%{url}\n' xenial
https://cloud-images.ubuntu.com/server/releases/xenial/release-20160610/ubuntu-16.04-server-cloudimg-amd64.tar.gz

Distros & PKGVER tested on:
Package: cloud-utils
Versions:
0.27-0ubuntu24
--> cloud-utils is already the newest version (0.27-0ubuntu24).

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"