azure stream data is not useful for 'arm' (Azure Resource Manager) mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Confirmed
|
Medium
|
Unassigned |
Bug Description
$ sstream-query --keyring=
{
"arch": "amd64",
"content_id": "com.ubuntu.
"crsn": "West US 2",
"datatype": "image-ids",
"endpoint": "https:/
"format": "products:1.0",
"id": "b39f27a8b8c64d
"item_name": "usww2i3",
"label": "daily",
"product_name": "com.ubuntu.
"publabel": "Ubuntu Server 16.04 LTS DAILY",
"pubname": "ubuntu-
"region": "West US 2",
"release": "xenial",
"root_size": "30GB",
"updated": "Thu, 22 Jun 2017 06:06:26 +0000",
"version": "16.04",
"version_name": "20170621",
"virt": "Hyper-V"
}
]
The data there contains 'id' which can be passed into the Azure api in 'asm' mode, but is completely useless for 'arm' mode.
I see a few issues here:
a.) It seems that azure has transitioned from 'West US 2' as a region name to 'westus2' (and similarly for other regions).
b.) the urn is needed. urn can be seen with
az vm image list --all --location=westus2 --output=json --publisher=
See output at http://
{
"offer": "UbuntuServer",
"publisher": "Canonical",
"sku": "17.10-DAILY",
"urn": "Canonical:
"version": "17.10.201706210"
},
It seems its likely useful to add the 'sku' to the available data as that can be input in some places.
summary: |
- azure stream data is not useful for arm + azure stream data is not useful for 'arm' (Azure Resource Manager) mode |
Changed in cloud-images: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Paul Meyer gave example on how to launch and find "latest" image via the sku/urn [1]
az vm create -n testvm -g my-resource-group -\ UbuntuServer: 17.10-DAILY: latest -l westus2
-image Canonical:
I consider that mostly just for informational purposes as ubuntu should provide the data for all from cloud-images. ubuntu. com.
-- /irclogs. ubuntu. com/2017/ 06/29/% 23cloud- init.html# t19:27
[1] https:/