import logging
import re
+import six
from tasks.cephfs.filesystem import Filesystem
for rank in fs.get_ranks(status=status):
ls = fs.rank_asok(['session', 'ls'], rank=rank['rank'], status=status)
for session in ls:
- for client, evicted in clients.viewitems():
+ for client, evicted in six.viewitems(clients):
mount = mounts.get(client)
if mount is not None:
global_id = mount.get_global_id()
no_session = set(clients) - has_session
should_assert = False
- for client, evicted in clients.viewitems():
+ for client, evicted in six.viewitems(clients):
mount = mounts.get(client)
if mount is not None:
if evicted: