openvstorage/alba

Expose certain cli command using the proxy

Opened this issue · 3 comments

Feature description

Might be useful to offload certain commands to a proxy instead of having to fetch all the configuration files ourselves.

Requested commands (used frequently by the healthcheck)

  • asd-set
  • asd-delete
  • list-presets
  • deliver-messages
  • show-namespace
  • list-osds
  • list-ns-osds
  • get-disk-safety
  • get-maintenance-config

@JeffreyDevloo what is the benefit exactly? For the proxy you will also need to get a config, right?

domsj commented

There can be a benefit in connection churn. Not sure yet if that is best achieved by adding these commands to the proxy, or whether they should talk to a maintenance process.

The benefit is not having to fetch a config file but just knowing where the proxy is listening. It could help diminish the amount of connections.