Comment 2 for bug 1699766

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