]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/rgw: fix swift warning message 28698/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 21 Jun 2019 19:18:55 +0000 (15:18 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 21 Jun 2019 19:26:19 +0000 (15:26 -0400)
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/swift.py", line 245, in task
    log.warning('Swift tests cannot run on rhel 7.6+, skipping client {client}'.format(client))
KeyError: 'client'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 9b8be0584dee616af9df01b9622bf53dfde00fad)

qa/tasks/swift.py

index 4c3b870456d0a3e89235dd55257e472cf8cf21a9..c37eb88385c9e67ef4698242add0786d1fb4b649 100644 (file)
@@ -242,7 +242,7 @@ def task(ctx, config):
         # http://tracker.ceph.com/issues/40304 can't bootstrap on rhel 7.6+
         (remote,) = ctx.cluster.only(client).remotes.keys()
         if remote.os.name == 'rhel' and LooseVersion(remote.os.version) >= LooseVersion('7.6'):
-            log.warning('Swift tests cannot run on rhel 7.6+, skipping client {client}'.format(client))
+            log.warning('Swift tests cannot run on rhel 7.6+, skipping client {}'.format(client))
             continue
 
         clients.append(client)