We need to set/enable "flexscale.readahead_blocks" options across all our cluster nodes while deploying. We can do this only via running system node run -node * -command options flexscale.readahead_blocks on command. I am trying to run this command using private-cli API endpoint but its erroring out.
Below is the output.
URI: https://CLUSTER/api/private/cli/system/node/run?node=*
PAYLOAD: {'command': ['options flexscale.readahead_blocks on']}
ERROR: REST API response received in text format: {
"num_records": 0,
"error": {
"message": "The \"run\" command is not supported from REST.",
"code": "12451842"
}
}
can someone suggest a workaround/trick to enable flexscale.readahead_blocks option on all nodes?