title of release needs to be include in the stream

Bug #1475754 reported by Blake Rouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-images
Fix Released
Low
Unassigned

Bug Description

Currently MAAS pulls the title of the operating system from distro_info, this information should come from simplestreams instead. This would make it much easier to show a nice title for a release and would not require MAAS to use distro_info. Sometimes distro_info can be out of sync with the current images in the stream, causing the images not to show up in MAAS.

Related bugs:
 * bug 1549837: build-image generated stream get all os release info (release_title)

Changed in maas-images:
status: New → Confirmed
Revision history for this message
Scott Moser (smoser) wrote :

please give example of 'title'
  14.04 ?
   15.10
  14.04 Ubuntu LTS ?
what do you want.

Revision history for this message
Blake Rouse (blake-rouse) wrote :

Currently MAAS shows "Ubuntu 14.04 LTS "Trusty Tahr" for 14.04. It might be good to split up the release number and the release name.

os_title = "Ubuntu"
release_title = "14.04 LTS"
release_code_name = "Trusty Tahr"

Revision history for this message
Blake Rouse (blake-rouse) wrote :

probably "codename" is fine don't need "release_code_name"

Revision history for this message
Scott Moser (smoser) wrote :

$ sstream-query --max=1 --keyring /usr/share/keyrings/ubuntu-cloudimage-keyring.gpg --pretty http://maas.ubuntu.com/images/ephemeral-v2/daily/streams/v1/com.ubuntu.maas:daily:v2:download.sjson release=wily ftype="root-image.gz" arch=amd64
{'arch': 'amd64',
 'content_id': 'com.ubuntu.maas:daily:v2:download',
 'datatype': 'image-downloads',
 'format': 'products:1.0',
 'ftype': 'root-image.gz',
 'item_name': 'root-image.gz',
 'item_url': 'http://maas.ubuntu.com/images/ephemeral-v2/daily/wily/amd64/20151026/root-image.gz',
 'kflavor': 'generic',
 'krel': 'wily',
 'label': 'daily',
 'os': 'ubuntu',
 'path': 'wily/amd64/20151026/root-image.gz',
 'product_name': 'com.ubuntu.maas.daily:v2:boot:15.10:amd64:hwe-w',
 'release': 'wily',
 'release_codename': 'Wily Werewolf',
 'release_title': '15.10',
 'sha256': '59770b46e41cdd7134b995b09d8119b3456d872336f6733ec395330380795c92',
 'size': '394213883',
 'subarch': 'hwe-w',
 'subarches': 'generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t,hwe-u,hwe-v,hwe-w',
 'updated': 'Thu, 29 Oct 2015 19:02:19 +0000',
 'version': '15.10',
 'version_name': '20151026'}

Trusty values are like:
 'release': 'trusty',
 'release_codename': 'Trusty Tahr',
 'release_title': '14.04 LTS',
 'version': '14.04',

I'm gonna mark this fix-released based on that data.

Changed in maas-images:
status: Confirmed → Fix Released
importance: Undecided → Low
Scott Moser (smoser)
description: updated
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.