[2.1] maas admin discoveries scan API output shows rack controller ids instead of names
Bug #1626748 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Mike Pontillo |
Bug Description
roaksoax@
Success.
Machine-readable output follows:
{
"result": "Scanning is in-progress on all rack controllers.",
"scan_
"panpsd"
],
"scan_
"panpsd"
],
"failed_
"scan_
"rpc_
}
The output is really good, but we need to improve on:
- Instead of rack controller ids, it should show the rack controller names. But for better results rack name and id.
- It doesn't tell you in what subnets the scan will be done. It should.
Related branches
lp:~mpontillo/maas/targeted-neighbour-scan
- Andres Rodriguez (community): Approve
- MAAS Maintainers: Pending requested
-
Diff: 1276 lines (+618/-138)13 files modifiedsrc/maasserver/api/discoveries.py (+136/-28)
src/maasserver/api/tests/test_discoveries.py (+183/-23)
src/maasserver/api/utils.py (+21/-12)
src/maasserver/clusterrpc/tests/test_utils.py (+1/-1)
src/maasserver/clusterrpc/utils.py (+52/-25)
src/provisioningserver/rpc/arguments.py (+27/-0)
src/provisioningserver/rpc/cluster.py (+36/-8)
src/provisioningserver/rpc/clusterservice.py (+48/-11)
src/provisioningserver/rpc/exceptions.py (+1/-1)
src/provisioningserver/rpc/tests/test_arguments.py (+21/-0)
src/provisioningserver/rpc/tests/test_clusterservice.py (+67/-20)
src/provisioningserver/utils/scan_network.py (+19/-8)
src/provisioningserver/utils/tests/test_scan_network.py (+6/-1)
Changed in maas: | |
milestone: | none → 2.1.0 |
importance: | Undecided → High |
Changed in maas: | |
status: | New → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas: | |
assignee: | nobody → Mike Pontillo (mpontillo) |
To post a comment you must log in.