]> git.apps.os.sepia.ceph.com Git - ceph-ci.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)
committerVasu Kulkarni <vasu@redhat.com>
Sun, 10 Sep 2017 19:42:16 +0000 (12:42 -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>
qa/tasks/ceph_deploy.py

index 6a5f7169a92897d2e35e767bbd99fc1459d8fbff..596624d39aad44f3ad8ffd4b1e9aba90ee15d1ed 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'