[2.1] no way to know if discovery is completed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
It looks like there is no way to see the progress or completion of discoveries.
https:/
I can start the scan as follows. But I couldn't find a way to know if it's completed or still in progress.
$ maas "$PROFILE" discoveries scan force=true
Success.
Machine-readable output follows:
{
"failures": [],
"result": "Scanning is in-progress on all rack controllers.",
"scan_
{
}
],
"scan_
"scan_
{
}
],
"failed_
"rpc_
}
Hi Nobuto,
Scans are something MAAS does in the backend and it constantly does unless disabled. Forcing a scan will simply force the trigger of a scan, if for example, it is disabled, but again, is a continuous backend process.
I'm marking this as won't fix as we don't really have plans to provide such visibility, but I also want to ask whether there is a specific requirement to have this not be asynchronous?