Red Hat Bugzilla – Bug 1113574
Wrong example for VM CDROM subcollection
Last modified: 2014-09-18 21:33:32 EDT
Most likely related to the fix for bug #1001071 Example 15.24 in http://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3/html/Developer_Guide/Virtual_Machine_CD-ROMs_Sub-Collection.html Example 29.24 in https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.4/html/Technical_Guide/Virtual_Machine_CD-ROMs_Sub-Collection.html should be a "PUT" request, not a "POST" one: Example 29.24. Changing a CD-ROM file during a current session PUT /api/vms/cdc0b102-fbfe-444a-b9cb-57d2af94f401/cdroms/00000000-0000-0000-0000-000000000000;current HTTP/1.1 Accept: application/xml Content-type: application/xml <cdrom> <file id="fedora-15-x86_64-dvd.iso"/> </cdrom> An example showing how to remove the CD-ROM could be helpful too.
Fixed in 7992.
Documentation Link ------------------------------ https://documentation-devel.engineering.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5-Beta/html-single/Technical_Guide/index.html#Virtual_Machine_CD-ROMs_Sub-Collection What Changed ------------------------------ The following topic was revised to change the method used to add a CD to a virtual machine from POST to PUT, and to add an example of how to remove (eject) a CD from a virtual machine using the REST API. CD-ROMs Sub-Collection [7992-681036] Updated revision history: [34616-651639] NVR ------------------------------ Red_Hat_Enterprise_Virtualization-Technical_Guide-3.5-Beta-en-US-3.5-3 Moving to ON_QA.
Peer reviewed. Section now says PUT. New example exists, no errors found. VERIFIED