Bug 1346752
Summary: | REST-API V3 | Failed to update VM disk bootable flag | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Meni Yakove <myakove> | ||||
Component: | RestAPI | Assignee: | Tal Nisan <tnisan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Carlos Mestre González <cmestreg> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.0.0 | CC: | acanan, amureini, bugs, gklein, ratamir, slitmano, tnisan | ||||
Target Milestone: | ovirt-4.0.0-rc2 | Keywords: | Automation, Regression | ||||
Target Release: | --- | Flags: | rule-engine:
ovirt-4.0.0+
rule-engine: blocker+ rule-engine: planning_ack+ amureini: 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: | 2016-07-05 08:03:23 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: |
|
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. *** Bug 1346887 has been marked as a duplicate of this bug. *** *** Bug 1346887 has been marked as a duplicate of this bug. *** This is included in ovirt-engine-4.0.0.5 verified on rhevm-4.0.0.6-0.1.el7ev.noarch Back to assigned, this is broken. Changing a disk to virtio or ide works, but it fails with virtio_scsi with: <fault> <detail>[Interface is required]</detail> <reason>Operation Failed</reason> </fault> on the WebUI works fine to change the disk interface to virtio scsi. Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. My mistake, The bootable flag works any way, but there's an issue when changing the interface for virtio_scsi. Tal, should I open a new bug or keep this as assigned since the error could be the same issue? Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Sorry for all the comments, open a new bug with this issue: https://bugzilla.redhat.com/show_bug.cgi?id=1349594 oVirt 4.0.0 has been released, closing current release. |
Created attachment 1168298 [details] engine log Description of problem: Failed to update VM disk bootable flag with error: <fault> <reason>Operation Failed</reason> <detail>[Interface is required]</detail> </fault> Same error when sending: <disk> <bootable>true</bootable> <interface>virtIO</interface> </disk> Version-Release number of selected component (if applicable): rhevm-4.0.0.4-0.1.el7ev.noarch Steps to Reproduce: 1. send PUT to ovirt-engine/api/vms/<vm_id>/disks/<disk_id>: <disk> <bootable>true</bootable> </disk 2016-06-15 12:44:31,181 WARN [org.ovirt.engine.core.bll.storage.disk.UpdateVmDiskCommand] (default task-32) [6f42f4f5] Validation of action 'UpdateVmDisk' failed for user admin@internal-aut hz. Reasons: VAR__ACTION__UPDATE,VAR__TYPE__DISK,VALIDATION_DISK_INTERFACE_NOT_NULL 2016-06-15 12:44:31,183 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-32) [] Operation Failed: [Interface is required]