]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test_volume_client: remove superfluous arguments 11656/head
authorRamana Raja <rraja@redhat.com>
Tue, 11 Oct 2016 08:48:29 +0000 (14:18 +0530)
committerRamana Raja <rraja@redhat.com>
Mon, 16 Jan 2017 09:43:49 +0000 (15:13 +0530)
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit bb60e01904187db417e8c7d6e57401823a0072fd)

qa/tasks/cephfs/test_volume_client.py

index 3f5eae4946c74561a5c1ea40af7fad28d97d6dbf..d2925e5548c8ba83cbfdec15863f2e37ff37d727 100644 (file)
@@ -146,7 +146,6 @@ vc.disconnect()
     def test_default_prefix(self):
         group_id = "grpid"
         volume_id = "volid"
-        guest_entity = "guest"
         DEFAULT_VOL_PREFIX = "volumes"
         DEFAULT_NS_PREFIX = "fsvolumens_"
 
@@ -160,7 +159,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )))
 
         # The dir should be created
@@ -304,7 +302,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )), volume_prefix, namespace_prefix)
 
     def test_idempotency(self):
@@ -384,7 +381,6 @@ vc.disconnect()
 
         pools_a = json.loads(self.fs.mon_manager.raw_cluster_cmd("osd", "dump", "--format=json-pretty"))['pools']
 
-        guest_entity = "guest"
         group_id = "grpid"
         volume_id = "volid"
         self._volume_client_python(self.mount_b, dedent("""
@@ -393,7 +389,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )))
 
         pools_b = json.loads(self.fs.mon_manager.raw_cluster_cmd("osd", "dump", "--format=json-pretty"))['pools']
@@ -594,7 +589,6 @@ vc.disconnect()
         """.format(
             group_id=group_id,
             volume_id=volume_id,
-            guest_entity=guest_entity
         )))
 
         # Authorize and configure credentials for the guest to mount the