aboutsummaryrefslogtreecommitdiff
path: root/kolla
diff options
context:
space:
mode:
authorChristian Berendt <berendt@betacloud-solutions.de>2016-11-03 10:37:21 +0100
committerChristian Berendt <berendt@betacloud-solutions.de>2016-11-03 10:50:22 +0100
commit5cd30d491435b73a1cb7a2b8981de2c1f85761c7 (patch)
treea579e2780c5546cc372d3030fd4851f389019cea /kolla
parent9779778a1ebc99b6a48a8d97282bf4d2d8f473d7 (diff)
downloadkolla-5cd30d491435b73a1cb7a2b8981de2c1f85761c7.tar.gz
kolla-5cd30d491435b73a1cb7a2b8981de2c1f85761c7.zip
Remove Fedora support
Closes-bug: #1616387 Change-Id: Id97f88b9baa3d48d33ce120962450a374282d044
Diffstat (limited to 'kolla')
-rw-r--r--kolla/image/build.py6
-rw-r--r--kolla/tests/test_build.py2
2 files changed, 2 insertions, 6 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 231824e85..d5b7e07db 100644
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -514,7 +514,7 @@ class KollaWorker(object):
rpm_setup_config = filter(None, conf.rpm_setup_config)
self.rpm_setup = self.build_rpm_setup(rpm_setup_config)
- rh_base = ['fedora', 'centos', 'oraclelinux', 'rhel']
+ rh_base = ['centos', 'oraclelinux', 'rhel']
rh_type = ['source', 'binary', 'rdo', 'rhos']
deb_base = ['ubuntu', 'debian']
deb_type = ['source', 'binary']
@@ -525,10 +525,6 @@ class KollaWorker(object):
'{} is unavailable for {}'.format(self.install_type, self.base)
)
- if self.base == 'fedora':
- LOG.warning('Fedora images are deprecated since Newton and will '
- 'be removed in the future')
-
if self.install_type == 'binary':
self.install_metatype = 'rdo'
elif self.install_type == 'source':
diff --git a/kolla/tests/test_build.py b/kolla/tests/test_build.py
index 515aa1ddd..b0a46a988 100644
--- a/kolla/tests/test_build.py
+++ b/kolla/tests/test_build.py
@@ -152,7 +152,7 @@ class KollaWorkerTest(base.TestCase):
self.images = [image, image_child]
def test_supported_base_type(self):
- rh_base = ['fedora', 'centos', 'oraclelinux', 'rhel']
+ rh_base = ['centos', 'oraclelinux', 'rhel']
rh_type = ['source', 'binary', 'rdo', 'rhos']
deb_base = ['ubuntu', 'debian']
deb_type = ['source', 'binary']