Bug 1499716 - Event properties show empty fields
Summary: Event properties show empty fields
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Ori Liel
QA Contact: Petr Matyáš
URL:
Whiteboard:
Depends On: 1456711
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-09 09:46 UTC by Petr Matyáš
Modified: 2017-12-20 11:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:45:21 UTC
oVirt Team: Infra
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 82801 0 master MERGED Fix Empty Names and Ids in Events 2017-10-16 09:05:54 UTC

Description Petr Matyáš 2017-10-09 09:46:12 UTC
Description of problem:
Trying the new event properties (cluster, dc, vm...) some of these items show empty attributes/name

    <event href="/ovirt-engine/api/events/7138" id="7138">
        <description>User admin@internal-authz connecting from 'IP' using session 'tQ24/Ee7SIGp2nZ1TL4eTANVcp5ocwwF8WibiYrckeDUFdsUpzS58Cf2qT9keJjF3qvmhtLraQWQlCel/+OwFA==' logged in.</description>
        <code>30</code>
        <correlation_id>7f198146</correlation_id>
        <custom_id>-1</custom_id>
        <flood_rate>0</flood_rate>
        <index>7138</index>
        <origin>oVirt</origin>
        <severity>normal</severity>
        <time>2017-10-09T11:31:07.749+02:00</time>
        <cluster>
            <name></name>
        </cluster>
        <data_center>
            <name></name>
        </data_center>
        <storage_domain>
            <name></name>
        </storage_domain>
        <user href="/ovirt-engine/api/users/594a5de6-0313-01b8-01cc-0000000001cc" id="594a5de6-0313-01b8-01cc-0000000001cc">
            <name>admin@internal-authz</name>
        </user>
    </event>

I can see this only for logging in messages.

Version-Release number of selected component (if applicable):
ovirt-engine-4.2.0-0.0.master.20171006152719.gitbc9a33d.el7.centos.noarch

How reproducible:
always

Steps to Reproduce:
1. curl -v -u "user@domain:password" -H "Content-type: application/xml" --insecure -X GET https://fqdn/ovirt-engine/api/events
2.
3.

Actual results:
some event properties miss attributes and name for the property

Expected results:
property is either filled correctly or not visible at all

Additional info:

Comment 1 rhev-integ 2017-11-02 13:38:31 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No relevant external trackers attached]

For more info please contact: infra

Comment 2 Petr Matyáš 2017-11-06 16:38:47 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20171106114404.git605a12f.el7.centos.noarch

Comment 3 Sandro Bonazzola 2017-12-20 11:45:21 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, 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.