This repository was archived by the owner on Mar 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 82
This repository was archived by the owner on Mar 26, 2020. It is now read-only.
failed to enable brick mux options #1367
Copy link
Copy link
Open
Labels
Description
Observed behavior
failed to enable brick mux options
Expected/desired behavior
brick mux value must be set to true
Details on how to reproduce (minimal and precise)
- send HTTP request to enable brick mux
#curl http://gluster-kube1-0.glusterd2.gcs:24007/v1/cluster/options -d '{"cluster.brick-multiplex": "on"}' -X POST
{}
- Not that body should not be empty, need to fix this problem also
- if I sent multiple requests with same request body, the request should fail saying, something like
cluster option already set to the same value - checking the response using GET request
#curl http://gluster-kube1-0.glusterd2.gcs:24007/v1/cluster/options |python -m json.tool
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 494 100 494 0 0 48440 0 --:--:-- --:--:-- --:--:-- 54888
[
{
"default": "off",
"key": "cluster.shared-storage",
"modified": false,
"value": "off"
},
{
"default": "50000",
"key": "cluster.op-version",
"modified": false,
"value": "50000"
},
{
"default": "50000",
"key": "cluster.max-op-version",
"modified": false,
"value": "50000"
},
{
"default": "off",
"key": "cluster.brick-multiplex",
"modified": false,
"value": "off"
},
{
"default": "0",
"key": "cluster.max-bricks-per-process",
"modified": false,
"value": "0"
},
{
"default": "off",
"key": "cluster.localtime-logging",
"modified": false,
"value": "off"
}
]