PowerKVM / VIrsh import should allow you to specify a prefix to filter VM's to import
Bug #1393423 reported by
Andres Rodriguez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Newell Jensen |
Bug Description
PowerKVM / Virsh should allow you to import a set of VM's from a physical host based on a prefix. This is to ensure that it only imports a few VM's and not all of the VM's within a physical host:
By default it should improt ALL of the VM's.
If specified, it should import those based on a prefix:
--import-prefix
or something along those lines.
Related branches
lp:~newell-jensen/maas/prefix-filter-virsh-bug-1393423
- Blake Rouse (community): Approve
-
Diff: 332 lines (+113/-18)9 files modifiedsrc/maasserver/api/node_groups.py (+6/-1)
src/maasserver/api/tests/test_nodegroup.py (+70/-0)
src/maasserver/models/nodegroup.py (+4/-2)
src/maasserver/models/tests/test_nodegroup.py (+5/-2)
src/provisioningserver/drivers/hardware/tests/test_virsh.py (+11/-4)
src/provisioningserver/drivers/hardware/virsh.py (+9/-4)
src/provisioningserver/rpc/cluster.py (+1/-0)
src/provisioningserver/rpc/clusterservice.py (+2/-2)
src/provisioningserver/rpc/tests/test_clusterservice.py (+5/-3)
lp:~newell-jensen/maas/1.7-prefix-filter-virsh-bug-1393423
- Newell Jensen (community): Approve
-
Diff: 332 lines (+113/-18)9 files modifiedsrc/maasserver/api/node_groups.py (+6/-1)
src/maasserver/api/tests/test_nodegroup.py (+70/-0)
src/maasserver/models/nodegroup.py (+4/-2)
src/maasserver/models/tests/test_nodegroup.py (+5/-2)
src/provisioningserver/drivers/hardware/tests/test_virsh.py (+11/-4)
src/provisioningserver/drivers/hardware/virsh.py (+9/-4)
src/provisioningserver/rpc/cluster.py (+1/-0)
src/provisioningserver/rpc/clusterservice.py (+2/-2)
src/provisioningserver/rpc/tests/test_clusterservice.py (+5/-3)
Changed in maas: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Newell Jensen (newell-jensen) |
milestone: | none → 1.7.1 |
tags: | added: server-hwe |
Changed in maas: | |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Not a crash or dataloss so re-triaging to high; removed Newell as assignee as he's moving to Hyperscale.