Bug 1071916
| Summary: | [REST] Auto activate disk while adding it fails | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Meital Bourvine <mbourvin> | ||||
| Component: | ovirt-engine-api | Assignee: | Tal Nisan <tnisan> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Meital Bourvine <mbourvin> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.4 | CC: | acanan, acathrow, amureini, gklein, iheim, nlevinki, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.4.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-03-06 09:38:57 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
The reason is in the log, quite straight forward: 2014-03-03 14:15:33,661 WARN [org.ovirt.engine.core.bll.HotPlugDiskToVmCommand] (org.ovirt.thread.pool-6-thread-33) [3b6edff8] CanDoAction of action HotPlugDiskToVm failed. Reasons:VAR__ACTION__HOT_PLUG,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED And to explain it better, you attempted to add an IDE disk to a VM, hot plugging is not supported for disks with IDE interface |
Created attachment 869924 [details] logs Description of problem: Adding a new disk with <active>true</active> to a vm with OS installed (the VM is up) - fails. Version-Release number of selected component (if applicable): beta3 How reproducible: 100% Steps to Reproduce: 1. Create a VM and install OS 2. Make sure that the VM is up 3. Send the following request: POST https://<engine>/api/vms/<vm_id>/disks <disk> <alias>vm_ide_True_disk</alias> <size>8589934592</size> <interface>ide</interface> <format>cow</format> <sparse>true</sparse> <active>true</active> </disk> Actual results: The disk is <active>false</active> Expected results: The disk will be <active>true</active> Additional info: Works from the UI