Description of problem:
There's no event for opening spice console of a VM, this was also mentioned by RHEVM user during Brno's OpenHouse day.
As virtual environment can be understood like physical datacenter, opening console could be understand as physical access to server, thus it would be wise to log such action - opening console (like entering servers root) :)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. open SPICE console of a VM
2. check events
nothing in events about opened console
provide an event for this action so we can more monitor activities related to a VM
* we already have 'console user' in Session subtab, thus we "know" who opened such console
* this applies to User Portal as well!
This issue is quite similar to https://bugzilla.redhat.com/show_bug.cgi?id=886788 ( at least the suggested solution in https://bugzilla.redhat.com/show_bug.cgi?id=886788#c4 )
agree, and i was close to closing it as a dup.
we can't check when the user "opened spice", but there is a difference which may be worth having an event on and that is the different between the request to set the ticket (init the session), and the notification from qemu (via the client_ip field) that a console session has been established.
so i'd do a different event here of something like "console session established from <client_ip>"
we're full for 3.3, proposing 3.4
oved - how close to the one you implemented? see comment 2.
I believe bug 1039862 implemented what is asked for
Please review TCMS test case for this PRD (and for bug 1039862):
the TCMS test case look good and complete.
Verified on ovirt-3.4.0-beta3:
Getting these 3 events, and had event notifications for them for spice:
User admin@internal got disconnected from VM test.
User admin@internal is connected to VM test.
user admin initiated console session for VM test
Closing as part of 3.4.0