fix(deploy): apply VM config reliably after clone
- wait for clone lock release before config.put (cross-node clones kept lock past wait_for_task, dropping ALL requested settings silently) - configure_vm applies params in independent groups (compute/network/ cloudinit/disk) with per-group errors and lock retry - set sockets=1 with cores so total vCPU matches request - keep template net0 model/MAC/options, replace only bridge - disk resize: pick boot disk via regex over all buses, report failures - surface config errors as deploy warnings in UI toast instead of silent success Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -271,6 +271,12 @@ export default function InstancesPage() {
|
||||
error_message: data.error_message ?? undefined,
|
||||
});
|
||||
if (data.status === 'completed') {
|
||||
if (data.error_message) {
|
||||
toast.warning(
|
||||
t('instances.deploy_completed_with_warnings', 'ВМ создана, но часть настроек не применилась'),
|
||||
{ description: data.error_message, duration: 15000 },
|
||||
);
|
||||
}
|
||||
setTimeout(() => removeTask(task.id), 5000);
|
||||
}
|
||||
} catch { /* ignore */ }
|
||||
|
||||
Reference in New Issue
Block a user