boot resource 2.0 schema check failed: kflavor: expected string, got nothing

Bug #1575768 reported by Martin Packman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Christian Muirhead

Bug Description

Bootstrapping MAAS 2.0 with centos images imported fails with the following error:

2016-04-27 15:52:13 ERROR cmd supercommand.go:448 boot resource 0: boot resource 2.0 schema check failed: kflavor: expected string, got nothing

Looks like kflavor is not included in centos boot-resources output:

$ maas env20 boot-resources read
Success.
Machine-readable output follows:
[
    {
        "resource_uri": "/MAAS/api/2.0/boot-resources/46/",
        "architecture": "amd64/generic",
        "name": "centos/centos66",
        "subarches": "generic",
        "id": 46,
        "type": "Synced"
    },
    {
        "resource_uri": "/MAAS/api/2.0/boot-resources/47/",
        "architecture": "amd64/generic",
        "name": "centos/centos70",
        "subarches": "generic",
        "id": 47,
        "type": "Synced"
    },
    {
        "resource_uri": "/MAAS/api/2.0/boot-resources/77/",
        "architecture": "amd64/hwe-t",
        "name": "ubuntu/trusty",
        "subarches": "generic,hwe-p,hwe-q,hwe-r,hwe-s,hwe-t",
        "id": 77,
        "type": "Synced",
        "kflavor": "generic"
    },
...

Changed in juju-core:
assignee: nobody → xtian muirhead (2-xtian)
Revision history for this message
Martin Packman (gz) wrote :
Changed in juju-core:
status: Triaged → In Progress
Revision history for this message
Michael Foord (mfoord) wrote :
Michael Foord (mfoord)
Changed in juju-core:
status: In Progress → Fix Committed
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta7 → none
milestone: none → 2.0-beta7
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.