os field needs to be added to the simplestreams ouput

Bug #1475753 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-images
Confirmed
Medium
Unassigned

Bug Description

MAAS already can handle the "os" field in the simplestreams output. That field needs to be added to each product describing which operating system it is for. Currently the only operating system in the stream is "ubuntu" (which MAAS assumes if this field is missing). When "ubuntucore" is placed in the stream it needs to set this field to "ubuntucore" so MAAS can handle this new type of image.

Changed in maas-images:
status: New → Confirmed
Scott Moser (smoser)
Changed in maas-images:
importance: Undecided → Medium
description: updated
Revision history for this message
Lee Trager (ltrager) wrote :

I delete my merge proposal as the os field has been added to the cloud image simplestream which we inherit

$ curl -s http://cloud-images.ubuntu.com/daily/streams/v1/com.ubuntu.cloud:daily:download.json | grep -c '"release"'
37
$ curl -s http://cloud-images.ubuntu.com/daily/streams/v1/com.ubuntu.cloud:daily:download.json | grep -c '"os"'
37

The os field has started to propagate into the daily simplestream although not all products have the os field

$ curl -s http://maas.ubuntu.com/images/ephemeral-v2/daily/streams/v1/com.ubuntu.maas:daily:v2:download.json | grep -c '"release"'
58
$ curl -s http://maas.ubuntu.com/images/ephemeral-v2/daily/streams/v1/com.ubuntu.maas:daily:v2:download.json | grep -c '"os"'
27

The releases simplestream still does not have the os field at all

$ curl -s http://maas.ubuntu.com/images/ephemeral-v2/releases/streams/v1/com.ubuntu.maas:v2:download.json | grep -c '"os"'
0

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.