]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
task/ceph: Fix device list
authorSam Lang <sam.lang@inktank.com>
Fri, 1 Feb 2013 16:16:44 +0000 (10:16 -0600)
committerSam Lang <sam.lang@inktank.com>
Fri, 1 Feb 2013 16:16:44 +0000 (10:16 -0600)
dict.items() returns a tuple, whereas we want
the values().

Signed-off-by: Sam Lang <sam.lang@inktank.com>
teuthology/task/ceph.py

index 63be429ede86ba2e0e6327ce06d84b30a98692a8..6555641026eb9ef98e6e6da82d14c8692f1a1dc1 100644 (file)
@@ -387,7 +387,7 @@ def cluster(ctx, config):
             log.info('fs option selected, checking for scratch devs')
             log.info('found devs: %s' % (str(devs),))
             devs_id_map = teuthology.get_wwn_id_map(remote, devs)
-            iddevs = devs_id_map.items()
+            iddevs = devs_id_map.values()
             roles_to_devs = assign_devs(
                 teuthology.roles_of_type(roles_for_host, 'osd'), iddevs
                 )