Bug 1412768
| Summary: | [RFE] Allow specifying the destination Storage Domain when creating a VmPool with Python-SDK | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | nicolas |
| Component: | RestAPI | Assignee: | Michal Skrivanek <michal.skrivanek> |
| Status: | CLOSED DEFERRED | QA Contact: | Lukas Svaty <lsvaty> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | --- | CC: | bugs, juan.hernandez, michal.skrivanek, rbarry |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | Flags: | rbarry:
ovirt-4.5?
rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-01 14:48:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nicolas
2017-01-12 18:20:36 UTC
The API model and SDK are designed to support this operation, but the backend is missing the functionality. SDK should be used as follows:
vm_pools_service.add(
types.VmPool(
name='myvmpool',
size=5,
cluster=types.Cluster(
name='mycluster',
),
template=types.Template(
name='rhel7',
),
vm=types.Vm(
# Other parameters to override template predefined..
disk_attachments=[
types.DiskAttachment(
disk=types.Disk(
id='d3fe5185-bec8-4594-a647-cf50d9174e8b',
format=types.DiskFormat.COW,
storage_domains=[
types.StorageDomain(
id='48eb8b2d-37f1-4595-97e3-8896282c8ccc',
),
],
),
),
],
),
),
)
Michal, not sure if this should be Virt or Storage, what do you think? Please check and re-assign if needed. keep it virt This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly This bug didn't get any attention for a while, we didn't have the capacity to make any progress. If you deeply care about it or want to work on it please assign/target accordingly Closing old bug. Please reopen if still relevant/you want to work on it. |