Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1135761

Summary: XSD schema validation error: cpu_profile & disk_profile objects missing 'qos' element
Product: Red Hat Enterprise Virtualization Manager Reporter: Nelly Credi <ncredi>
Component: ovirt-engine-restapiAssignee: Gilad Chaplik <gchaplik>
Status: CLOSED CURRENTRELEASE QA Contact: Nelly Credi <ncredi>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: bazulay, dfediuck, ecohen, eedri, gchaplik, gklein, iheim, juan.hernandez, mavital, oramraz, rbalakri, Rhev-m-bugs, sherold, yeylon
Target Milestone: ---Keywords: AutomationBlocker
Target Release: 3.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sla
Fixed In Version: vt3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 17:13:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1142923, 1156165    

Description Nelly Credi 2014-08-31 10:25:43 UTC
Description of problem:
XSD schema validation error: cpu_profile & disk_profile objects missing 'qos' element

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. create vm & template to get the ID
2. get the objects
3. take the href from cpu_profile\disk_profile references

Actual results:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<disk_profile href="/ovirt-engine/api/diskprofiles/336f9458-f228-4386-a6b4-a12e94dd12ae" id="336f9458-f228-4386-a6b4-a12e94dd12ae">
    <link href="/ovirt-engine/api/diskprofiles/336f9458-f228-4386-a6b4-a12e94dd12ae/permissions" rel="permissions"/>
    <storage_domain href="/ovirt-engine/api/storagedomains/f456b5ee-ac72-4e33-b6fb-e9b06097d25e" id="f456b5ee-ac72-4e33-b6fb-e9b06097d25e"/>

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<cpu_profile href="/ovirt-engine/api/cpuprofiles/9edd08be-e7a0-45c7-a296-6ee030dd1f94" id="9edd08be-e7a0-45c7-a296-6ee030dd1f94">
    <link href="/ovirt-engine/api/cpuprofiles/9edd08be-e7a0-45c7-a296-6ee030dd1f94/permissions" rel="permissions"/>
    <cluster href="/ovirt-engine/api/clusters/94e028b1-3109-4eb1-a129-be07341e9420" id="94e028b1-3109-4eb1-a129-be07341e9420"/>

Expected results:

expected to see 'qos' element as described in api.xsd 

  <xs:complexType name="DiskProfile">
      <xs:extension base="BaseResource">
          <xs:element ref="qos" minOccurs="1" maxOccurs="1"/>
          <xs:element ref="storage_domain" minOccurs="1" maxOccurs="1"/>

<xs:complexType name="CpuProfile">
      <xs:extension base="BaseResource">
          <xs:element ref="qos" minOccurs="1" maxOccurs="1"/>
          <xs:element ref="cluster" minOccurs="1" maxOccurs="1"/>

Additional info:

Comment 1 Eyal Edri 2014-09-10 20:21:49 UTC
fixed in vt3, moving to on_qa.
if you believe this bug isn't released in vt3, please report to

Comment 2 Eyal Edri 2015-02-17 17:13:55 UTC
rhev 3.5.0 was released. closing.