Skip to content

Commit 9d6eae7

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Drop k8s_fedora_atomic_v1 driver"
2 parents fcc3980 + ed699b0 commit 9d6eae7

24 files changed

+107
-5900
lines changed

magnum/api/controllers/v1/cluster_template.py

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class ClusterTemplate(base.APIBase):
9090
"""The size in GB of the docker volume"""
9191

9292
cluster_distro = wtypes.StringType(min_length=1, max_length=255)
93-
"""The Cluster distro for the Cluster, e.g. coreos, fedora-atomic, etc."""
93+
"""The Cluster distro for the Cluster, e.g. coreos, fedora-coreos, etc."""
9494

9595
links = wsme.wsattr([link.Link], readonly=True)
9696
"""A list containing a self link and associated ClusterTemplate links"""
@@ -205,7 +205,7 @@ def sample(cls):
205205
apiserver_port=8080,
206206
docker_volume_size=25,
207207
docker_storage_driver='devicemapper',
208-
cluster_distro='fedora-atomic',
208+
cluster_distro='fedora-coreos',
209209
coe=fields.ClusterType.KUBERNETES,
210210
http_proxy='http://proxy.com:123',
211211
https_proxy='https://proxy.com:123',
@@ -269,11 +269,6 @@ class ClusterTemplatesController(base.Controller):
269269
"different storage driver, such as overlay2. overlay2 will be set "
270270
"as the default storage driver from Victoria cycle in Magnum.")
271271

272-
_fedora_atomic_deprecation_note = (
273-
"The fedora_atomic driver is deprecated in favor of the fedora_coreos "
274-
"driver. Please migrate to the fedora_coreos driver. fedora_atomic "
275-
"driver will be removed in a future Magnum version.")
276-
277272
def _generate_name_for_cluster_template(self, context):
278273
"""Generate a random name like: zeta-22-model."""
279274

@@ -431,12 +426,6 @@ def post(self, cluster_template):
431426
DeprecationWarning)
432427
LOG.warning(self._devicemapper_overlay_deprecation_note)
433428

434-
if (cluster_template_dict['coe'] == 'kubernetes' and
435-
cluster_template_dict['cluster_distro'] == 'fedora-atomic'):
436-
warnings.warn(self._fedora_atomic_deprecation_note,
437-
DeprecationWarning)
438-
LOG.warning(self._fedora_atomic_deprecation_note)
439-
440429
if (cluster_template_dict['coe'] == 'kubernetes' and
441430
cluster_template_dict['cluster_distro'] == 'coreos'):
442431
warnings.warn(self._coreos_deprecation_note,

magnum/drivers/common/templates/fragments/configure_docker_storage_driver_atomic.sh

Lines changed: 0 additions & 53 deletions
This file was deleted.

magnum/drivers/k8s_fedora_atomic_v1/__init__.py

Whitespace-only changes.

magnum/drivers/k8s_fedora_atomic_v1/driver.py

Lines changed: 0 additions & 34 deletions
This file was deleted.

magnum/drivers/k8s_fedora_atomic_v1/template_def.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

magnum/drivers/k8s_fedora_atomic_v1/templates/COPYING

Lines changed: 0 additions & 202 deletions
This file was deleted.

0 commit comments

Comments
 (0)