Skip to content

Commit ab1ebed

Browse files
committed
Remove mesos API validation
As discussed in meeting[1], we will drop mesos from the API in this version, and merge the remainder of the removal code i.e. Change Ied76095f1f1c57c6af93d1a6094baa6c7cc31c9b in the next version [1] https://meetings.opendev.org/meetings/magnum/2022/magnum.2022-02-16-09.00.html Story: 2009873 Task: 44581 Change-Id: If868d117827d6ba0331a89650d5fab986b5592f1 Change-Id: Ie778894815b2dca4ce91661ee4f28c9496a77976
1 parent 15fcd72 commit ab1ebed

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

magnum/api/validation.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,6 @@ def get_coe_validator(cls, coe):
256256
return K8sValidator()
257257
elif coe == 'swarm' or coe == 'swarm-mode':
258258
return SwarmValidator()
259-
elif coe == 'mesos':
260-
return MesosValidator()
261259
else:
262260
raise exception.InvalidParameterValue(
263261
_('Requested COE type %s is not supported.') % coe)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
deprecations:
3+
- |
4+
Remove mesos from the API. This means new clusters of coe type 'mesos'
5+
cannot be created.
6+
The mesos driver will be removed in the next release.

0 commit comments

Comments
 (0)