@@ -90,7 +90,7 @@ class ClusterTemplate(base.APIBase):
90
90
"""The size in GB of the docker volume"""
91
91
92
92
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."""
94
94
95
95
links = wsme .wsattr ([link .Link ], readonly = True )
96
96
"""A list containing a self link and associated ClusterTemplate links"""
@@ -205,7 +205,7 @@ def sample(cls):
205
205
apiserver_port = 8080 ,
206
206
docker_volume_size = 25 ,
207
207
docker_storage_driver = 'devicemapper' ,
208
- cluster_distro = 'fedora-atomic ' ,
208
+ cluster_distro = 'fedora-coreos ' ,
209
209
coe = fields .ClusterType .KUBERNETES ,
210
210
http_proxy = 'http://proxy.com:123' ,
211
211
https_proxy = 'https://proxy.com:123' ,
@@ -269,11 +269,6 @@ class ClusterTemplatesController(base.Controller):
269
269
"different storage driver, such as overlay2. overlay2 will be set "
270
270
"as the default storage driver from Victoria cycle in Magnum." )
271
271
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
-
277
272
def _generate_name_for_cluster_template (self , context ):
278
273
"""Generate a random name like: zeta-22-model."""
279
274
@@ -431,12 +426,6 @@ def post(self, cluster_template):
431
426
DeprecationWarning )
432
427
LOG .warning (self ._devicemapper_overlay_deprecation_note )
433
428
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
-
440
429
if (cluster_template_dict ['coe' ] == 'kubernetes' and
441
430
cluster_template_dict ['cluster_distro' ] == 'coreos' ):
442
431
warnings .warn (self ._coreos_deprecation_note ,
0 commit comments