]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
task/ceph: Initialize disk_config maps
authorSam Lang <sam.lang@inktank.com>
Fri, 1 Feb 2013 17:37:13 +0000 (11:37 -0600)
committerSam Lang <sam.lang@inktank.com>
Fri, 1 Feb 2013 17:37:13 +0000 (11:37 -0600)
The mount_options and fstype maps need to be
initialized properly for later.

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

index 6555641026eb9ef98e6e6da82d14c8692f1a1dc1..d785f6cb363e3c66b1fcdebea36e5e0a145cb340 100644 (file)
@@ -679,6 +679,9 @@ def cluster(ctx, config):
         ctx.disk_config = argparse.Namespace()
         ctx.disk_config.remote_to_roles_to_dev = remote_to_roles_to_devs
         ctx.disk_config.remote_to_roles_to_journals = remote_to_roles_to_journals
+        ctx.disk_config.remote_to_roles_to_dev_mount_options = {}
+        ctx.disk_config.remote_to_roles_to_dev_fstyp = {}
+
 
         for id_ in teuthology.roles_of_type(roles_for_host, 'osd'):
             log.info(str(roles_to_journals))