Need API to gather image metadata across all of MAAS

Bug #1368480 reported by Ian Booth
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Medium
Blake Rouse

Bug Description

Juju needs to know the available images which can be run within a MAAS deployment. Specifically, it needs to know what architectures are supported so that when a user types:

juju bootstrap --constraints arch=arm64
or
juju deploy --constraints arch=arm64 mysql

Juju can query MAAS and validate the supplied arch and exit early if the arch is not supported.

MAAS currently has an API to find this information per cluster but we need one that returns the image metadata across all of MAAS.

Tags: api hs-arm64
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This would be pretty trivial to implement at the API level since the UI effectively does the same thing when adding nodes. However since Blake is significantly change the image processing, I don't know how this works any more. Can you comment Blake?

Changed in maas:
status: New → Triaged
importance: Undecided → High
importance: High → Medium
tags: added: api
Revision history for this message
Blake Rouse (blake-rouse) wrote :

You can now use MAAS API to get information on all the images that MAAS supports. All clusters now have the same images, since they all sync from the region.

Take a look at the new boot-resources API, and I think it will provide the information you are looking for.

Changed in maas:
status: Triaged → Fix Committed
assignee: nobody → Blake Rouse (blake-rouse)
milestone: none → 1.7.0
Revision history for this message
Sean Feole (sfeole) wrote :

Thanks Blake,

For me to test these changes, will I be able to pull them from http://ppa.launchpad.net/maas-maintainers/testing relatively soon?
I'm not familiar with the MaaS release cycle.

Revision history for this message
Blake Rouse (blake-rouse) wrote :
Revision history for this message
Julian Edwards (julian-edwards) wrote : Re: [Bug 1368480] Re: Need API to gather image metadata across all of MAAS

On Monday 15 Sep 2014 15:02:26 you wrote:
> Thanks Blake,
>
> For me to test these changes, will I be able to pull them from
> http://ppa.launchpad.net/maas-maintainers/testing relatively soon? I'm not
> familiar with the MaaS release cycle.

A 1.7 release candidate will be uploaded to "testing" in a couple of weeks, or
you can try the package in 14.10 Utopic, or the "experimental" PPA.

tags: added: hs-arm64
Changed in maas:
status: Fix Committed → Fix Released
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.