Get provider cluster configuration
Returns the provider cluster configuration.
Request Examples
onepanel-rest-cli -u onepanel:$PASSPHRASE getProviderConfiguration --host https://$OP_PANEL_HOST:9443Responses
The provider cluster configuration.
cluster object (ProviderClusterConfigurationDetails) The provider cluster configuration.
The provider cluster configuration.
Host responsible for deploying cluster and coordinating cluster restarts.
List of hosts belonging to the Onepanel cluster.
databases required object (DatabaseHosts) The cluster database service hosts configuration.
The cluster database service hosts configuration.
The list of service hosts.
managers required object (ManagerHosts) The cluster manager service hosts configuration.
The cluster manager service hosts configuration.
The main cluster manager host. Main cluster manager node is responsible for monitoring cluster worker nodes. Other nodes, which are redundant, are suspended. In case of main cluster manager node failure one of redundant nodes is resumed and takes over main node responsibilities.
The list of service hosts.
oneS3 required object (OneS3Hosts) The OneS3 service hosts configuration.
The OneS3 service hosts configuration.
The list of service hosts.
The port on which the OneS3 service is available.
workers required object (WorkerHosts) The cluster worker service hosts configuration.
The cluster worker service hosts configuration.
The list of service hosts.
oneprovider object The provider custom configuration.
The provider custom configuration.
The name of a provider. null if not registered.
True if all steps of cluster deployment and configuration have been performed.
Example
{
"cluster": {
"master": "node1.oneprovider.onedata.example.com",
"managers": {
"mainHost": "node1.oneprovider.onedata.example.com",
"hosts": [
"node1.oneprovider.onedata.example.com"
]
},
"workers": {
"hosts": [
"node1.oneprovider.onedata.example.com"
]
},
"oneS3": {
"hosts": [
"node1.oneprovider.onedata.example.com"
]
},
"databases": {
"hosts": [
"node1.oneprovider.onedata.example.com"
]
}
},
"oneprovider": {
"name": "example",
"configured": true
}
}Unauthorized request.
Forbidden request.
Cluster is not fully deployed.
Internal server error.
error object (ErrorDetails) Object describing an error.
Object describing an error.
String identifying the error type. Does not change between error instances.
Human readable error description. May contain information specific to given error instance.
Details about the error instance. The object schema is specific to each error type.
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}