Verified in rhevm-3.3.1-0.47.el6ev.noarch (is34). Changing CD permanently on a running VM via REST API is now possible. Verification steps: 1. Have a running VM without CD-ROM image attached (I used Fedora 19). 2. Attach CD permanently: >>> request: PUT /api/vms/5d4f3c8a-7514-400d-a0f7-5c6c51178ba8/cdroms/00000000-0000-0000-0000-000000000000 <cdrom> <file id="CentOS-6.5-x86_64-minimal.iso"/> </cdrom> >>> response: <cdrom href= "/api/vms/5d4f3c8a-7514-400d-a0f7-5c6c51178ba8/cdroms/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"> <vm href= "/api/vms/5d4f3c8a-7514-400d-a0f7-5c6c51178ba8" id="5d4f3c8a-7514-400d-a0f7-5c6c51178ba8"/> <file id="CentOS-6.5-x86_64-minimal.iso"/> </cdrom> 3. Verifying that change is permanent: >>> request: GET /api/vms/5d4f3c8a-7514-400d-a0f7-5c6c51178ba8/cdroms/00000000-0000-0000-0000-000000000000 >>> response: <cdrom href="/api/vms/5d4f3c8a-7514-400d-a0f7-5c6c51178ba8/cdroms/00000000-0000-0000-0000-000000000000" id="00000000-0000-0000-0000-000000000000"> <vm href="/api/vms/5d4f3c8a-7514-400d-a0f7-5c6c51178ba8" id="5d4f3c8a-7514-400d-a0f7-5c6c51178ba8"/> <file id="CentOS-6.5-x86_64-minimal.iso"/> </cdrom> The CD-ROM is not changed on-the-fly while the VM is running, but it's permanent and applied after the VM is stopped & started again. Additional Notes: The ';current' matrix parameter works still the same: it changes the CD on-the-fly, but the change doesn't survive after the VM is stopped.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-0227.html