Add OneS3 services
Deploys the OneS3 service on the specified hosts.
NOTE: the OneS3 service requires that the provider is registered in Onezone before it can be started. If it's not the case, the service will be enabled, but its start will be postponed and automatically resumed after the registration.
Request body
The OneS3 service hosts configuration.
| Property | Type & Description |
|---|---|
hosts array of strings The list of hosts where service should be deployed. | |
port integer The port on which the OneS3 service will be available. NOTE: This parameter is considered only during the initial cluster deployment or when adding the OneS3 service for the first time. In all other cases, it is ignored, and the port will default to that of the already deployed OneS3 services in the cluster. | |
Request Examples
{
"hosts": [
"node1.example.com",
"node2.example.com",
"node3.example.com"
],
"port": 4443
}Responses
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object (ErrorDetails) Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Unauthorized request.
Forbidden request.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object (ErrorDetails) Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}