Configure provider deployment
Configures and starts provider services, such as database, cluster manager and cluster worker. Depending on the configuration, sets up provider storage and registers in the zone. This request can be executed unauthorized as long as there are no admin users.
Request body
The provider configuration description.
| Property | Type & Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cluster object (ProviderClusterConfiguration) The provider cluster configuration.
| |||||||||||||||||||||||||
ceph any (CephCluster) Describes whole of Ceph configuration. | |||||||||||||||||||||||||
oneprovider object The provider custom configuration.
| |||||||||||||||||||||||||
onepanel object (PanelConfiguration) The panel configuration.
| |||||||||||||||||||||||||
Request Examples
{
"cluster": {
"domainName": "oneprovider.onedata.example.com",
"nodes": {
"node1": {
"hostname": "node1",
"externalIp": "128.128.64.64"
},
"node2": {
"hostname": "node2"
}
},
"manager": {
"mainNode": "node1",
"nodes": [
"node1",
"node2"
]
},
"worker": {
"nodes": [
"node1"
]
},
"database": {
"nodes": [
"node1"
]
},
"storage": {
"NFS": {
"type": "posix",
"mountPoint": "/volumes/storage"
}
}
},
"oneprovider": {
"register": true,
"token": "bWFjYXJvb25mcm9tb25lem9uZQo=",
"name": "example",
"subdomainDelegation": "false,",
"letsEncryptEnabled": "false,",
"domain": "provider.example.com",
"adminEmail": "admin@example.eu",
"geoLongitude": -24.3776025,
"geoLatitude": -128.3519364
}
}Responses
Invalid request.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}Forbidden request.
Cluster already deployed.
Internal server error.
| Property | Type & Description | ||||||
|---|---|---|---|---|---|---|---|
error object Object describing an error.
| |||||||
Example
{
"error": {
"id": "badValueString",
"details": {
"key": "name"
},
"description": "Bad value: provided \"name\" must be a string."
}
}