]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/suites/rados/rest/mgr-restful: whitelist OSDMAP_FLAGS
authorKefu Chai <kchai@redhat.com>
Fri, 26 Jul 2019 17:22:52 +0000 (01:22 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 26 Jul 2019 17:29:05 +0000 (01:29 +0800)
`rest/test-restful.sh` calls `test_mgr_rest_api.py`, which in turn
calls

```
    ('patch',  '/config/osd', {'pause': True}),
```

and rest module translates it to `ceph osd set key=pause`

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/suites/rados/rest/mgr-restful.yaml

index 16653fc9aba22840442d6074a1dc00d9c9eab9a6..c579592cb38385f18848ec84cd36b022ba312f59 100644 (file)
@@ -13,6 +13,7 @@ tasks:
       - \(PG_
       - \(OSD_
       - \(OBJECT_
+      - \(OSDMAP_FLAGS\)
 - exec:
     mon.a:
       - ceph restful create-key admin