corestack_ nginx_ corefinity_ rules_ move
Move Corefinity rules into my rules.
When to use it
Move the nginx rules Corefinity set up on an environment row (shown read-only by corestack_nginx_rules_get) into the row's own server rules, where they can be edited. Only blocks that answer every path exactly as before are moved; the move takes about a minute to apply. Needs the version corestack_nginx_rules_get answered.
corefinity_rules.blocks in corestack_nginx_rules_get lists each block with from_line, to_line, movable and the reasons a block stays. The moved blocks go to the top of the server rules in their order. A started move answers a task on its nginx_rules_move operation. A move applies now; apply: tonight is refused until the night batches take moves.
Ask for it
Using the Corefinity MCP server, call corestack_nginx_corefinity_rules_move with site_id 4211, version 7. (Move Corefinity rules into my rules.) Tell me what it returned.Inputs
now (default). Tonight is refused until the maintenance window can take a move (not_admitted). window: the row's next maintenance window (tonight is kept as its alias). Defaults to now.
nowwindowtonightThe from_line of each Corefinity block to move (corefinity_rules.blocks); default every movable block.
The environment row. At least 1.
A passed test for this same move. At least 1.
The version from corestack_nginx_rules_get. At least 0.
Example call
{
"name": "corestack_nginx_corefinity_rules_move",
"arguments": {
"site_id": 4211,
"version": 7
}
}If it is refused
| Reason | What to do |
|---|---|
move_changes_behaviour | The move would change which rule answers a path; details.paths lists them. |
not_running | The environment is stopped (a move is checked as the environment starts). |
stale | The rules changed since version was read. |
nginx_invalid | nginx_test_failed: the rules with the blocks moved in failed the policy or nginx -t; details.diagnostics. |
nginx_rules_locked | Corefinity staff hold this environment's nginx rules. |
busy | Another change runs on the environment. |
change_pending | A change is queued, the last change is not confirmed yet, or the rules have an open drift. |
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. |
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. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |