]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fix get_system_type failure due to invalid remote name
authorVasu Kulkarni <vasu@redhat.com>
Sun, 10 Sep 2017 19:42:16 +0000 (12:42 -0700)
committerYuri Weinstein <yweinste@redhat.com>
Mon, 25 Sep 2017 22:36:33 +0000 (15:36 -0700)
recent changes caused the remote name to be invalid, fix the
arg passed to get_system_type

Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
(cherry picked from commit 9fe58d5ed6bd2338271a9e003f51d80c2e440e23)

qa/tasks/ceph_deploy.py

index 56d451c2970ee02e5742784920014ff8e1236791..38fbe43c2158b60f0f7b0e5c198e9cf6fe9f6e51 100644 (file)
@@ -43,8 +43,7 @@ def download_ceph_deploy(ctx, config):
             ))
 
         log.info("Installing Python")
-        for admin in ceph_admin.remotes:
-            system_type = teuthology.get_system_type(admin)
+        system_type = teuthology.get_system_type(ceph_admin)
 
         if system_type == 'rpm':
             package = 'python34' if py_ver == '3' else 'python'