Deprecate CoreOS (not Fedora CoreOS) support
Deprecate CoreOS (not to be confused with Fedora CoreOS) as announced in the mailing list [1]. CoreOS has been EOL since 2020. [1] https://lists.openstack.org/pipermail/openstack-discuss/2023-February/032371.html [2] https://www.redhat.com/en/technologies/cloud-computing/openshift/what-was-coreos Change-Id: Ifb5513ae91a3b2d7531a747e10ca08c14d62482d
This commit is contained in:
parent
d3897a749a
commit
098d78a023
|
@ -267,6 +267,11 @@ class ClusterTemplatesController(base.Controller):
|
|||
"different storage driver, such as overlay2. overlay2 will be set "
|
||||
"as the default storage driver from Victoria cycle in Magnum.")
|
||||
|
||||
_coreos_deprecation_note = (
|
||||
"The coreos driver is deprecated in favor of the fedora_coreos "
|
||||
"driver. Please migrate to the fedora_coreos driver. coreos "
|
||||
"driver will be removed in a future Magnum version.")
|
||||
|
||||
_fedora_atomic_deprecation_note = (
|
||||
"The fedora_atomic driver is deprecated in favor of the fedora_coreos "
|
||||
"driver. Please migrate to the fedora_coreos driver. fedora_atomic "
|
||||
|
@ -441,6 +446,12 @@ class ClusterTemplatesController(base.Controller):
|
|||
DeprecationWarning)
|
||||
LOG.warning(self._fedora_atomic_deprecation_note)
|
||||
|
||||
if (cluster_template_dict['coe'] == 'kubernetes' and
|
||||
cluster_template_dict['cluster_distro'] == 'coreos'):
|
||||
warnings.warn(self._coreos_deprecation_note,
|
||||
DeprecationWarning)
|
||||
LOG.warning(self._coreos_deprecation_note)
|
||||
|
||||
if (cluster_template_dict['coe'] == 'kubernetes' and
|
||||
cluster_template_dict['cluster_distro'] == 'fedora' and
|
||||
cluster_template_dict['server_type'] == 'bm'):
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
Deprecate the use of os_distro 'coreos' with COE 'kubernetes'.
|
||||
CoreOS (not Fedora CoreOS) has been EOL since 2020-05-26. Users using COE
|
||||
'kubernetes' are encouraged to migrate to Fedora CoreOS and the
|
||||
'fedora-coreos' driver. 'coreos' driver will be removed in a future
|
||||
Magnum verison.
|
Loading…
Reference in New Issue