Bug 854484

Summary: [REST-API] Can't update disk bootable attribute
Product: Red Hat Enterprise Virtualization Manager Reporter: Michael Pasternak <mpastern>
Component: ovirt-engine-restapiAssignee: Michael Pasternak <mpastern>
Status: CLOSED CURRENTRELEASE QA Contact: Gadi Ickowicz <gickowic>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: abaron, acathrow, amureini, bazulay, dyasny, ecohen, hateya, iheim, jlibosva, mpastern, nlevinki, Rhev-m-bugs, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: si18 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 20:02:30 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:

Description Michael Pasternak 2012-09-05 07:01:50 UTC
On 09/04/2012 06:15 PM, Simon Grinberg wrote:
> [RHEVM shell (connected)]# update disk bc2454d0-2539-41c3-85c2-91cfbdfbede3 --vm-identifier BaseRHEL6 --bootable True
> 
> error: 
> status: 500
> reason: Internal Server Error
> detail: HTTP Status 500 - org.yaml.snakeyaml.error.YAMLException: No JavaBean properties found in org.ovirt.engine.api.model.Actions

Comment 2 Michael Pasternak 2012-09-06 09:54:13 UTC
the reason for that is [1], and exception caused by [2]

[1] https://bugzilla.redhat.com/show_bug.cgi?id=854480#c1
[2] http://lists.ovirt.org/pipermail/engine-devel/2012-September/002427.html 

note: update of disk from /api/disks/xxx yet supported by backend, see [2]

Comment 5 Jakub Libosvar 2012-10-02 14:49:35 UTC
Verified - command in description works in rhevm-backend-3.1.0-18.el6ev.noarch
rhevm-restapi-3.1.0-18.el6ev.noarch