`disable-zones` lacks the same non-interactive error message as `restore`
Author: tobe2098Created Sep 15, 2026Updated Sep 29, 2026
Labelsneeds triage
Describe the bug Disable zones in non-interactive shells throws an unhandled exception. The error should be handled and a proper messaged relayed to the user.
To Reproduce
multipass disable-zones 1 > tmp
[2026-09-15T18:11:18.741] [error] [client] Caught an unhandled exception: Unable to query client for confirmation. Use '--force' to forcefully make unavailable all instances in the specified zones.Expected behavior No unhandled exceptions and something similar to:
multipass restore a.snapshot1 > tmp
Unable to query client for confirmation. Use '--destructive' to automatically discard current machine state.
restore failed: Cannot get confirmation from client. Aborting...Additional info
- OS: Ubuntu 26.04
- CPU architecture or model: amd64
multipass version: TC1
Source: canonical/multipass