From a19b8e5b146a0390a51afc26abe3d57eb5bce64d Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 18 Dec 2018 21:35:28 -0600 Subject: [PATCH] qa/tasks/ceph: set initial monmap features with using addrvec addrs The --add option will only infer a bare IP to include a v2 addr if the NAUTILUS feature is there, and that isn't normally present on a freshly generate monmap. Add it if we are doing addrvecs! Signed-off-by: Sage Weil --- qa/tasks/ceph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index cc1320ec19ead..00c5ba2ae5b44 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -526,6 +526,8 @@ def create_simple_monmap(ctx, remote, conf, mons, '--create', '--clobber', ] + if mon_bind_addrvec: + args.extend(['--enable-all-features']) for (name, addr) in addresses: n = name[4:] if mon_bind_addrvec and (',' in addr or 'v' in addr or ':' in addr): -- 2.39.5