Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1311060

Summary: [User Portal] 'General command failure.' when opening console (which is already opened by another user)
Product: [oVirt] ovirt-engine Reporter: Jiri Belka <jbelka>
Component: Frontend.UserPortalAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Belka <jbelka>
Severity: low Docs Contact:
Priority: low    
Version: 3.6.3.2CC: bugs, jniederm, mgoldboi, michal.skrivanek, tjelinek
Target Milestone: ovirt-3.6.5Flags: rule-engine: ovirt-3.6.z+
mgoldboi: planning_ack+
tjelinek: devel_ack+
pstehlik: testing_ack+
Target Release: 3.6.5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 3.6.5-1 Doc Type: Bug Fix
Doc Text:
Cause: Consequence: When a user opened a console of a VM and then another user opened the console of the same vm then the first user got "General command failure" error dialog. Fix: Fixed. Result:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-21 14:36:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Belka 2016-02-23 10:02:47 UTC
Description of problem:

When an user tries to open console of a VM which got its console opened and used by other user, the former one gets 'General command failure.' in popup windows. This is odd.

Version-Release number of selected component (if applicable):
rhevm-userportal-3.6.3.2-0.1.el6.noarch

How reproducible:
100%

Steps to Reproduce:
1. assign a vm to an user with UserRole
2. this user opens the VM's console in User Portal and keeps it open
   (I logged off from User Portal to be able to log-in as another user later)
3. assing the VM to another user with UserVmManager role
4. login to User Portal as latter user (UserVmManager role) and double click on
   the VM to get its console opened
5. observe User Portal and following popup

Actual results:
Operation Cancelled
'General command failure.' 

Expected results:
IMO it should work as 'admin' users can "steal" consoles ; or there should be at least human understandable error msg

Additional info:

Comment 2 Tomas Jelinek 2016-02-24 07:51:34 UTC
The root cause of this may be the same as for https://bugzilla.redhat.com/show_bug.cgi?id=1297018 - Jakub please check.

Comment 3 jniederm 2016-02-25 12:55:14 UTC
'General command failure.' is a way how ConfigureConsoleOptionsQuery reports that nested command SetVmTicketCommand failed but the fail was not related to rejected console stealing.

Comment 4 Tomas Jelinek 2016-03-11 07:41:22 UTC
@Jakub: this issue is going to be solved as part of https://gerrit.ovirt.org/#/c/54228/ - right?

Comment 5 jniederm 2016-03-14 11:51:09 UTC
yes

Comment 6 Red Hat Bugzilla Rules Engine 2016-03-15 07:27:32 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 7 Mike McCune 2016-03-28 22:47:43 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 8 Eyal Edri 2016-03-31 08:35:28 UTC
Bugs moved pre-mature to ON_QA since they didn't have target release.
Notice that only bugs with a set target release will move to ON_QA.

Comment 9 Jiri Belka 2016-04-12 21:51:23 UTC
ok, 3.6.5.3-0.1.el6.noarch

no more 'General command failure' and no "stealing".