a00d02f6a1
Several people have popped up in IRC recently with failures in these elements. Without Python 2.7 available in the image they are unsupported (OpenStack hasn't supported it for a long time). Remove these to avoid further confusion. The centos/centos7 DISTRO split that has happened with centos-minimal is unfortunate but I don't think it helps to rename centos7/rhel7 ATM. To summarise; DISTRO=centos7 means image based build, DISTRO=centos && DIB_RELEASE=7 means the minimal build. In the future, I think it is important that the minimal builds and image builds set the same DISTRO. This reflects that "upper" layers shouldn't care about the exact building of the lower layers. I see CentOS 8 going one of two ways 1) the changes are so significant, we start separate centos8 / centos8-minimal elements. They both set DISTRO=centos8 (and DIB_RELEASE to point-release maybe?). This means we have to update all "if DISTRO == centos || DISTRO == centos7" branches to also check for "centos8". Evenually (!) "centos" goes away for versioned DISTRO only 2) we restore centos element with DISTRO=centos and DIB_RELEASE=8, and centos-minimal remains the same. This means we have to audit all "if DISTRO == centos" calls to make sure they're appropriate for version 8 (stick a "&& DIB_RELEASE=7" on them all basically). I'm not sure we can fully decide until we start to see excatly how the distro switching/matching bits look, but (2) is consistent with Ubuntu and probably the preferred solution. Some "rhel" parts have been cleaned up. More could be done in rhel-common, but given our lack of coverage of that I'd prefer to leave it for now. Change-Id: I6ea784116ef59ca22878c8512c963f29c815a00a
16 lines
778 B
YAML
16 lines
778 B
YAML
---
|
|
deprecations:
|
|
- |
|
|
The ``centos`` and ``rhel`` elements have been removed. These
|
|
were building version 6 which is no longer supported (mostly due
|
|
to a lack of python 2.7). Version 7 support is available via the
|
|
``centos7`` and ``rhel7`` elements (which downloads and modifies
|
|
the upstream cloud images) or via ``centos-minimal`` (which builds
|
|
the image from a empty chroot; only available for CentOS).
|
|
``centos-minimal`` is suggested as this is what OpenStack
|
|
Infrastructure uses for its elements.
|
|
|
|
Unfortunately, ``centos-minimal`` sets ``DISTRO=centos`` while
|
|
``centos7`` sets ``DISTRO=centos7``, despite building the same
|
|
thing as far as upper levels are concerned. We plan to rectify
|
|
this in the version 8 time-frame.
|