Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1113574 - Wrong example for VM CDROM subcollection
Wrong example for VM CDROM subcollection
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: Documentation (Show other bugs)
3.4.0
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Andrew Dahms
Tahlia Richardson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-26 08:51 EDT by Christophe Fergeau
Modified: 2014-09-18 21:33 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-09-18 21:33:32 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christophe Fergeau 2014-06-26 08:51:33 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.
Comment 1 Andrew Dahms 2014-07-02 21:45:37 EDT
Fixed in 7992.
Comment 2 Andrew Dahms 2014-07-24 04:01:22 EDT
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.
Comment 3 Tahlia Richardson 2014-08-05 03:07:45 EDT
Peer reviewed. 

Section now says PUT.
New example exists, no errors found. 

VERIFIED

Note You need to log in before you can comment on or make changes to this bug.