RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1445673 - [ovirt] No error pops when logging with a locked ovirt user account
Summary: [ovirt] No error pops when logging with a locked ovirt user account
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-viewer
Version: 8.0
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: 8.1
Assignee: Default Assignee for SPICE Bugs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1445681
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-26 09:17 UTC by Xiaodai Wang
Modified: 2021-03-25 07:30 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1445681 (view as bug list)
Environment:
Last Closed: 2021-03-25 07:30:52 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
REST_DEBUG=proxy log (4.09 KB, text/plain)
2017-04-26 09:20 UTC, Xiaodai Wang
no flags Details

Description Xiaodai Wang 2017-04-26 09:17:01 UTC
Description of problem:
No error pops when logging with a locked ovirt user account

Version-Release number of selected component (if applicable):
virt-viewer-5.0-2.el7.x86_64
libgovirt-0.3.3-5.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Open a ovirt session and type wrong password several times, the account will be locked.
$ remote-viewer --ovirt-ca-file=ca.crt ovirt://admin%40internal.com/asdfwerq
2. Open a new ovirt session again and type correct username and password.
3. Click OK button in 'Authentication required' dialog.

Actual results:
No any error display and the dialog is still there to waiting for a password.

Expected results:
Can display some error msg to let users know the account has problem now.
In web portal, error "Cannot Login. User Account is Disabled or Locked, Please contact your system administrator." displays.

Additional info:
the response of ok button delays about 3~5s, Uses have to wait about 3~5 seconds for continue opration like cancel.

Comment 2 Xiaodai Wang 2017-04-26 09:20:03 UTC
Created attachment 1274148 [details]
REST_DEBUG=proxy log

Comment 3 Christophe Fergeau 2017-04-26 09:28:35 UTC
I don't see anything in that log that we could use to inform the user that their account is locked. In order to solve this bug, we'd first need support for this in RHEV REST API.

Comment 4 Victor Toso 2019-04-09 14:17:40 UTC
Bug 1445681 was fixed, do we need something in libgovirt before fixing virt-viewer?

Comment 5 Eduardo Lima (Etrunko) 2019-04-10 16:22:29 UTC
(In reply to Victor Toso from comment #4)
> Bug 1445681 was fixed, do we need something in libgovirt before fixing
> virt-viewer?

I'll need to check with a RHV instance which has that fix implemented. Wang, can you provide?

Comment 7 Eduardo Lima (Etrunko) 2019-04-11 19:09:12 UTC
Confirmed that this requires some changes in either virt-viewer or libgovirt, maybe both. I tested with latest git master for both, and authentication errors are not handled properly currently.

Comment 16 RHEL Program Management 2021-03-25 07:30:52 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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