Bug 1017030 - [Admin Portal] User $user@$domain attach to VM <UNKNOWN> in VM Pool test was initiated by $user.
[Admin Portal] User $user@$domain attach to VM <UNKNOWN> in VM Pool test was ...
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal (Show other bugs)
3.3.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.5.0
Assigned To: Shahar Havivi
Pavel Novotny
virt
:
Depends On: 1121954
Blocks: rhev3.5beta 1156165
  Show dependency treegraph
 
Reported: 2013-10-09 03:50 EDT by Jiri Belka
Modified: 2015-02-17 03:28 EST (History)
8 users (show)

See Also:
Fixed In Version: vt2.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-17 03:28:09 EST
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)
engine.log (17.60 KB, application/x-tar)
2013-10-09 03:50 EDT, Jiri Belka
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 27729 master MERGED core: Audit log messages - grammar fix Never
oVirt gerrit 31492 master MERGED engine: AudibleLogBase vmid need to set for logging info Never
oVirt gerrit 31546 ovirt-engine-3.5 MERGED engine: AudibleLogBase vmid need to set for logging info Never

  None (edit)
Description Jiri Belka 2013-10-09 03:50:14 EDT
Created attachment 809731 [details]
engine.log

Description of problem:

User vdcadmin@brq-ipa.rhev.lab.eng.brq.redhat.com attach to VM <UNKNOWN> in VM Pool test was initiated by vdcadmin.

* 'attach' vs 'attaches/attached' or...??? I'm not native English speaker but seems strange completely, please consult with native English speaker.

* <UNKNOWN> ? (test-X was the case here)

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

How reproducible:
100%

Steps to Reproduce:
1. create a automatic prestarted pool (6 vms, 3 prestarted, 6 max per user)
2. in User Portal click 3 times on pool's "Run" button to get 3 VMs from pool
3.

Actual results:
event is strange

Expected results:


Additional info:
Comment 1 Shahar Havivi 2014-05-15 07:44:04 EDT
Cannot reproduce the <UNKNOWN> user (we fix several of bugs regarding this issue).
regarding the error message, I found a couple of other messages that need to be fix, so the following patch will fix this 3 audit log messages:

-User ${AdUserName} attach to VM ${VmName} in VM Pool ${VmPoolName} was initiated by ${UserName}.
-User ${AdUserName} attach to VM ${VmName} in VM Pool ${VmPoolName} has been completed.
-Failed to complete user ${AdUserName} attach to VM ${VmName} in VM Pool ${VmPoolName}.
+Attaching User ${AdUserName} to VM ${VmName} in VM Pool ${VmPoolName} was initiated by ${UserName}.
+User ${AdUserName} successfully attached to VM ${VmName} in VM Pool ${VmPoolName}.
+Failed to attach user ${AdUserName} to VM ${VmName} in VM Pool ${VmPoolName}.
Comment 2 Pavel Novotny 2014-08-13 10:29:11 EDT
FailedQA in ovirt-engine-3.5.0-0.0.master.20140804172041.git23b558e.el6.noarch (rc1).

The grammar has been corrected, but the VM name the user is attached to is still '<UNKNOWN>'.

The event is now:

"Attaching User user1 to VM <UNKNOWN> in VM Pool disk-vm was initiated by user1."

but should be like:

"Attaching User user1 to VM disk-vm-1 in VM Pool disk-vm was initiated by user1."
Comment 4 Pavel Novotny 2014-09-12 08:29:42 EDT
Verified in rhevm-3.5.0-0.11.beta.el6ev.noarch (vt3).

In User Portal, when user "user1" takes a VM from prestarted pool, the emitted event is now correct, e.g.:

  Attaching User user1 to VM win7-3 in VM Pool win7 was initiated by user1.
Comment 5 Omer Frenkel 2015-02-17 03:28:09 EST
RHEV-M 3.5.0 has been released

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