]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cfuse, kclient: print remote host
authorSage Weil <sage@newdream.net>
Thu, 4 Aug 2011 22:03:05 +0000 (15:03 -0700)
committerSage Weil <sage@newdream.net>
Fri, 5 Aug 2011 21:35:44 +0000 (14:35 -0700)
teuthology/task/cfuse.py
teuthology/task/kclient.py

index 00298e1d37ab2e239d642e5a4bceb98944832430..2615ad5cb99685087965018832c32710c6978ff9 100644 (file)
@@ -44,6 +44,9 @@ def task(ctx, config):
     clients = teuthology.get_clients(ctx=ctx, config=config)
     for id_, remote in clients:
         mnt = os.path.join('/tmp/cephtest', 'mnt.{id}'.format(id=id_))
+        log.info('Mounting cfuse client.{id} at {remote} {mnt}...'.format(
+                id=id_, remote=remote,mnt=mnt))
+
         remote.run(
             args=[
                 'mkdir',
index 6257c6c1680a1773740ae05f871dbb75f60c2d39..5733f3905d94bf5d1c30e83ff8e788652695e6c5 100644 (file)
@@ -41,12 +41,16 @@ def task(ctx, config):
 
     clients = teuthology.get_clients(ctx=ctx, config=config)
     for id_, remote in clients:
-        log.debug('Mounting client client.{id}...'.format(id=id_))
+        mnt = os.path.join('/tmp/cephtest', 'mnt.{id}'.format(id=id_))
+        log.info('Mounting kclient client.{id} at {remote} {mnt}...'.format(
+                id=id_, remote=remote, mnt=mnt))
+
+        # figure mon ips
         remotes_and_roles = ctx.cluster.remotes.items()
         roles = [roles for (remote_, roles) in remotes_and_roles]
         ips = [host for (host, port) in (remote_.ssh.get_transport().getpeername() for (remote_, roles) in remotes_and_roles)]
         mons = teuthology.get_mons(roles, ips).values()
-        mnt = os.path.join('/tmp/cephtest', 'mnt.{id}'.format(id=id_))
+
         secret = '/tmp/cephtest/data/client.{id}.secret'.format(id=id_)
         teuthology.write_secret_file(remote, 'client.{id}'.format(id=id_), secret)