]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph: set initial monmap features with using addrvec addrs
authorSage Weil <sage@redhat.com>
Wed, 19 Dec 2018 03:35:28 +0000 (21:35 -0600)
committerSage Weil <sage@redhat.com>
Thu, 3 Jan 2019 17:17:31 +0000 (11:17 -0600)
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 <sage@redhat.com>
qa/tasks/ceph.py

index cc1320ec19ead596f0060fba44b2abd94555a025..00c5ba2ae5b44678ca85eb322db3b0c9e0a887a2 100644 (file)
@@ -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):