]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
Bump default OS versions 502/head
authorZack Cerza <zack@redhat.com>
Tue, 26 May 2015 20:37:20 +0000 (14:37 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 26 May 2015 22:40:03 +0000 (16:40 -0600)
Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/misc.py
teuthology/suite.py
teuthology/test/test_get_distro_version.py
teuthology/test/test_suite.py

index d8a5781a24aee27271f3846bd0a035801f96ec96..b27041e70137b53256bbc1eb9a7d951849cc618c 100644 (file)
@@ -1192,12 +1192,12 @@ def get_distro_version(ctx):
     Get the verstion of the distro that we are using (release number).
     """
     default_os_version = dict(
-        ubuntu="12.04",
-        fedora="18",
-        centos="6.4",
+        ubuntu="14.04",
+        fedora="20",
+        centos="7.0",
         opensuse="12.2",
         sles="11-sp2",
-        rhel="6.4",
+        rhel="7.0",
         debian='7.0'
     )
     distro = get_distro(ctx)
index ad33ba88c4d0377fea7530dbee83542fd0212870..62a21c2940f3d3222d38e99cee11ed8e501de574 100644 (file)
@@ -376,7 +376,7 @@ def get_distro_defaults(distro, machine_type):
         (arch, release, pkg_type)
 
     This is used to default to:
-        ('x86_64', 'precise', 'deb') when passed 'ubuntu' and 'plana'
+        ('x86_64', 'trusty', 'deb') when passed 'ubuntu' and 'plana'
     ('armv7l', 'saucy', 'deb') when passed 'ubuntu' and 'saya'
     ('x86_64', 'wheezy', 'deb') when passed 'debian'
     ('x86_64', 'fedora20', 'rpm') when passed 'fedora'
@@ -393,7 +393,7 @@ def get_distro_defaults(distro, machine_type):
             release = 'saucy'
             arch = 'armv7l'
         else:
-            release = 'precise'
+            release = 'trusty'
     elif distro == 'debian':
         release = 'wheezy'
         pkg_type = 'deb'
index fdccc8427936ec2e01e0f795983386b9cfa6940a..0a0bd7a4d8747ff6aa5133292f8a60490dae7b16 100644 (file)
@@ -20,7 +20,7 @@ class TestGetDistroVersion(object):
         #Default distro is ubuntu, default version of ubuntu is 12.04
         self.fake_ctx.os_version = None
         distroversion = get_distro_version(self.fake_ctx)
-        assert distroversion == '12.04'
+        assert distroversion == '14.04'
 
     def test_argument_version(self):
         self.fake_ctx.os_version = '13.04'
index b7e03edbf95ee0a225aab071928a4944b4673bd9..f093e7d820bd2409a0c8a79a7859e902bdf3ab6a 100644 (file)
@@ -283,7 +283,7 @@ class TestDistroDefaults(object):
 
     def test_distro_defaults_plana(self):
         assert suite.get_distro_defaults('ubuntu', 'plana') == ('x86_64',
-                                                                'precise',
+                                                                'trusty',
                                                                 'deb')
 
     def test_distro_defaults_debian(self):