Bug 1552026 - The api does not return the OS architecture
Summary: The api does not return the OS architecture
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.3
: ---
Assignee: Shmuel Melamud
QA Contact: Israel Pinto
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-06 11:05 UTC by Tomas Jelinek
Modified: 2018-05-10 06:32 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-05-10 06:32:20 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.2+
rule-engine: exception+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 89979 0 master POST Add architecture to OperatingSystemInfo 2018-04-09 14:55:43 UTC
oVirt gerrit 90363 0 master MERGED restapi: Update to model 4.3.10 2018-04-17 06:27:18 UTC
oVirt gerrit 90364 0 ovirt-engine-4.2 MERGED restapi: Update to model 4.2.32 2018-04-17 08:01:43 UTC
oVirt gerrit 90426 0 master MERGED restapi: Add architecture to OperatingSystemInfo 2018-04-18 13:04:02 UTC
oVirt gerrit 90427 0 ovirt-engine-4.2 MERGED restapi: Add architecture to OperatingSystemInfo 2018-04-23 14:28:42 UTC

Description Tomas Jelinek 2018-03-06 11:05:00 UTC
The BackendOperatingSystemsResource lists the operating systems, but only a limited parts of them, namely:
- id
- name
- large icon
- small icon

In ovirt-web-ui it is a problem, because there is no way how to filter the OSes according to the architecture.

This bug blocks https://github.com/oVirt/ovirt-web-ui/issues/512

Comment 1 Israel Pinto 2018-04-29 14:28:10 UTC
Verify:
Engine version 4.2.3.3-0.1.el7

Browse to:
https://<engine>/ovirt-engine/api/operatingsystems
See for each os: architecture, icon

<operating_system href="" id="">
<name>XXX</name>
<description>YYY</description>
<architecture>x86_64</architecture>
<large_icon href=""/>
<small_icon href=""/>
</operating_system>


PASS

Comment 2 Sandro Bonazzola 2018-05-10 06:32:20 UTC
This bugzilla is included in oVirt 4.2.3 release, published on May 4th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.3 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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