rebuild_server
Rebuild an OpenStack Nova server from an image, replacing its root disk while keeping the server ID and network ports; requires confirm=true to proceed.
Instructions
Rebuild a Nova server from an image.
Nova compute, mutates state, wipes the root disk, keeps the server id and network ports, requires confirm=true.
Service: Nova (compute). POST /servers/{id}/action rebuild. The server UUID, ports, and floating IPs stay. The root disk is replaced from the image. Ephemeral disk is wiped unless preserve_ephemeral is true. server and image accept a name or an id. Refused when confirm is missing or false, before any API call. admin_password, when supplied, is sent to Nova and is not returned. When it is omitted and Nova returns a generated adminPass, that password is included once. disk_config is not sent: this SDK's rebuild method does not accept it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"server": "<server>",
"image": "<image>"
},
"name": "rebuild_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| image | Yes | ||
| server | Yes | ||
| confirm | No | ||
| key_name | No | ||
| metadata | No | ||
| description | No | ||
| admin_password | No | ||
| preserve_ephemeral | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||