Bug 1321452 - [REST API] storage_manager object/tag is missing in host details
Summary: [REST API] storage_manager object/tag is missing in host details
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.0-alpha
: ---
Assignee: Juan Hernández
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-27 10:14 UTC by Kobi Hakimi
Modified: 2016-07-05 07:39 UTC (History)
3 users (show)

Fixed In Version: ovirt 4.0.0 alpha1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-05 07:39:48 UTC
oVirt Team: Infra
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
juan.hernandez: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 55328 0 master MERGED restapi: Restore V3 "storage_manager" element 2016-03-28 13:46:29 UTC

Description Kobi Hakimi 2016-03-27 10:14:48 UTC
Description of problem:
[REST API] storage_manager object/tag is missing in host details


Version-Release number of selected component (if applicable):
oVirt Engine Version: 4.0.0-0.0.master.20160322171551.git6cdf188.el7.centos 

How reproducible:
100%


Steps to Reproduce:
1. Run one of the following rest queries:
 - https://jenkins-vm-20.scl.lab.tlv.redhat.com/ovirt-engine/api/hosts/
 - https://jenkins-vm-20.scl.lab.tlv.redhat.com/ovirt-engine/api/v3/hosts/
2. Looking for storage_manager tag

Actual results:
the storage_manager tag is missing

Expected results:
the following tag should appear in each host: 
<storage_manager priority="5">false</storage_manager>
or 
<storage_manager priority="5">true</storage_manager>

Additional info:
in 3.6 environment we can see it for example in:
 - https://jenkins-vm-13.scl.lab.tlv.redhat.com/ovirt-engine/api/hosts/

Comment 1 Nelly Credi 2016-03-27 13:02:13 UTC
This is probable related to:

2.9. Removed the storage_manager element

The storage_manager element was replaced by the spm element some time ago. The old one was kept for backwards compatibility, but it has been completely removed now.

automation should align

Comment 2 Juan Hernández 2016-03-28 08:31:18 UTC
It is correct that all clients, and automation as well, should use the new "spm" element, as "storage_manager" is deprecated. However we need to keep "storage_manager" working in version 3 of the API. I'm reopening and fixing.

Comment 3 Juan Hernández 2016-03-28 08:32:03 UTC
For more information about the change from "storage_manager" to "spm" see bug 1136061.

Comment 4 Lukas Svaty 2016-06-24 10:33:04 UTC
missing in v4 of api
tested in ovirt-engine-restapi-4.0.0.4-0.1.el7ev.noarch

Comment 5 Red Hat Bugzilla Rules Engine 2016-06-24 10:33:09 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 6 Lukas Svaty 2016-06-24 10:34:52 UTC
in v4 as spm as mentioned in comment#2
<spm><priority>5</priority><status>spm</status></spm>
fixing to VERIFEID

Comment 7 Sandro Bonazzola 2016-07-05 07:39:48 UTC
oVirt 4.0.0 has been released, closing current release.


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