From: Nathan Cutler Date: Thu, 11 May 2017 20:18:55 +0000 (+0200) Subject: packaging: add ceph-rpm-under-test zypper repo with high priority X-Git-Tag: 1.1.0~295^2~4 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=09730625481a4285437398cab6ee6b5d27e9eba4;p=teuthology.git packaging: add ceph-rpm-under-test zypper repo with high priority Otherwise the ceph packages from OBS are preferred because RPM evaluates, e.g., 12.0.2+git.1493341348.9148e53 as a higher version number than 12.0.2-276.gf27d4b00ed. Signed-off-by: Nathan Cutler --- diff --git a/teuthology/packaging.py b/teuthology/packaging.py index 3405859c0a..02ff68329e 100644 --- a/teuthology/packaging.py +++ b/teuthology/packaging.py @@ -796,7 +796,7 @@ class GitbuilderProject(object): url = "{base_url}/{arch}".format( base_url=self.base_url, arch=self.arch) self.remote.run(args=[ - 'sudo', 'zypper', '-n', 'addrepo', url, 'ceph-rpm-under-test' + 'sudo', 'zypper', '-n', 'addrepo', '-p', '1', url, 'ceph-rpm-under-test' ]) else: self.remote.run(args=['sudo', 'yum', '-y', 'install', url])