]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
reverted to copy_function and extra logs
authorrakesh <rakesh@dhcp35-53.lab.eng.blr.redhat.com>
Wed, 29 Nov 2017 11:43:39 +0000 (17:13 +0530)
committerrakesh <rakesh@dhcp35-53.lab.eng.blr.redhat.com>
Wed, 29 Nov 2017 11:43:39 +0000 (17:13 +0530)
qa/tasks/multisite_rgw_system_test.py

index c367fc140f7bd36a20b5147b6717901189090a76..4f1009d2a27093d7a2d49a9ab0f8da2e1998cb24 100644 (file)
@@ -102,9 +102,13 @@ def copy_file_from(src_node, dest_node, file_name = 'io_info.yaml'):
 
     # copies to /tmp dir and then puts it in destination machines
 
+    log.info('copy of io_info.yaml from initiated')
+
     io_info_file = src_node.get_file(file_name, '/tmp')
 
-    dest_node.put_file(io_info_file, file_name, sudo=True)
+    dest_node.put_file(io_info_file, file_name)
+
+    log.info('copy of io_info.yaml completed')
 
 
 def test_exec(ctx, config, user_data, data, tclient, mclient):
@@ -114,6 +118,9 @@ def test_exec(ctx, config, user_data, data, tclient, mclient):
     log.info('test name :%s' % config['test-name'])
 
     script_name = config['test-name']
+
+    log.info('script_name: %s' % script_name)
+
     # port_number = config['port_number']
 
     test = Test(script_name, user_data, data)
@@ -129,16 +136,11 @@ def test_exec(ctx, config, user_data, data, tclient, mclient):
 
     if not 'acls' in script_name:
 
-        # no verification is being done for acls test cases right now.
-
-        # copy_file_from(tclient, mclient)
+        log.info('no test with acls: %s' % script_name)
 
-        log.info('copy file io_info.yaml from target node to master node initiated')
-
-        io_info_fname = tclient.get_file('io_info.yaml', '/tmp')
-        mclient.put_file(io_info_fname, 'io_info.yaml')
+        # no verification is being done for acls test cases right now.
 
-        log.info('copy file io_info.yaml from target to master node completed')
+        copy_file_from(tclient, mclient)
 
         # start verify of io on master node.