Commit d4b81bdd authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Also downgrade gluster parameters



Support for gluster was added only in version 2.11. So,
when downgrading to the 2.10 branch, these parameters
need to be removed.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent fc6ccde4
......@@ -411,6 +411,9 @@ def DowngradeCluster(config_data):
del cluster["default_iallocator_params"]
if "candidate_certs" in cluster:
del cluster["candidate_certs"]
for param in ["gluster", "gluster_storage_dir"]:
if param in cluster:
del cluster[param]
def DowngradeGroups(config_data):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment