corestack_ runtime_ adopt
Turn on instant changes.
When to use it
Move a row onto the new runtime, so later PHP, nginx and Node.js changes apply straight away: now or tonight in its maintenance window. corestack_runtime_get's adoption says whether it is offered and why not.
Ask for it
Using the Corefinity MCP server, call corestack_runtime_adopt with site_id 4211, apply tonight. (Turn on instant changes.) Tell me what it returned.Inputs
applystring
now (the default), or tonight in the row's maintenance window. window: the row's next maintenance window (tonight is kept as its alias). Defaults to now.
nowwindowtonightsite_idintegerRequired
The row: the site or one of its environments. At least 1.
Example call
{
"name": "corestack_runtime_adopt",
"arguments": {
"site_id": 4211,
"apply": "tonight"
}
}If it is refused
| Reason | What to do |
|---|---|
already_adopted | The row is already on the new runtime; there is nothing to do. |
busy | The row is adopting already; follow it with corestack_runtime_get. |
runtime_not_adopted | Adoption is not open for this row yet (details.adoption says why); try again later. |
feature_off | apply: "tonight" needs the maintenance window queue, which is switched off; leave apply out to make the change now. |
batch_window | This row can only adopt inside its maintenance window, or other maintenance is already queued for it; call again with apply: "tonight". |
change_pending | Another change is queued for this row's window; apply or cancel it first (corestack_pending_changes_list). |
migration_halted | Tonight's maintenance is halted, so nothing was changed; try again once Corefinity resumes it. |
canary_pending | The new runtime is still at its canary stage and open to canary rows only; try again once it opens to every row. |
apm_provenance_unreadable | The row's New Relic set-up could not be read, so nothing was changed. Contact support. |
image_volume_unsupported | Part of the row's cluster cannot run the new runtime yet; Corefinity upgrades it; try again after. |
legacy_module_unmapped | The row loads a PHP module the new runtime does not offer yet; Corefinity reviews it and nothing was changed. |
not_available | This row cannot move onto the new runtime (details.adoption says why). |
removed | The row has been removed. |
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
temporarily_unavailable | The runtime image round this adoption needs is not one Corefinity offers right now (withdrawn, or not published yet). Nothing was changed; send it again once Corefinity offers that round. |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?