Fedora atomic element does not honour DIB_RELEASE

Bug #1699766 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Mark Goddard

Bug Description

When building a fedora atomic image using magnum's DIB element, setting the DIB_RELEASE environment variable does not affect the release of the fedora-atomic image built, even when FEDORA_ATOMIC_TREE_REF and FEDORA_ATOMIC_TREE_URL take their default values - fedora atomic 24 is always built.

[1] https://github.com/openstack/magnum/tree/907415c984e95e09a8b872f3c551ae6108c91de1/magnum/drivers/common/image/fedora-atomic

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/476518

Changed in magnum:
assignee: nobody → Mark Goddard (mgoddard)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/476518
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=f42e5fd7a345d950d0521fbbdebe891179bdd5a6
Submitter: Jenkins
Branch: master

commit f42e5fd7a345d950d0521fbbdebe891179bdd5a6
Author: Mark Goddard <email address hidden>
Date: Thu Jun 22 14:27:20 2017 +0100

    Use DIB_RELEASE to set fedora-atomic variable defaults

    When building a fedora atomic image using magnum's DIB element,
    setting the DIB_RELEASE environment variable does not affect the
    release of the fedora-atomic image built, even when
    FEDORA_ATOMIC_TREE_REF and FEDORA_ATOMIC_TREE_URL take their default
    values - fedora atomic 24 is always built.

    Further, fedora atomic 24 is not supported by magnum for kubernetes
    in newton onwards since the configuration of flannel was changed[1].

    This change uses the DIB_RELEASE variable to set the default values
    of FEDORA_ATOMIC_TREE_URL and FEDORA_ATOMIC_TREE_REF. This ensures
    that fedora atomic images have an expected release, and one that by
    default is supported by magnum (currently DIB_RELEASE defaults to 25
    in diskimage-builder).

    [1] https://bugs.launchpad.net/magnum/+bug/1679301

    Change-Id: I9e1c846657ac9e65e2cdd8d32c96cdbf85900ba0
    Closes-Bug: #1699766
    Closes-Bug: #1699765

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 5.0.0

This issue was fixed in the openstack/magnum 5.0.0 release.

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.