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

Bug 1349368

Summary: 'Disable smartcard' checkbox does not work (no change in console.vv file)
Product: [oVirt] ovirt-engine Reporter: Radek Duda <rduda>
Component: Frontend.UserPortalAssignee: Marek Libra <mlibra>
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: high    
Version: 3.6.7CC: bugs, gklein, lsurette, mavital, mgoldboi, michal.skrivanek, mlibra, rbalakri, rduda, Rhev-m-bugs, srevivo, tjelinek, ykaul
Target Milestone: ovirt-4.0.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
michal.skrivanek: devel_ack+
pstehlik: testing_ack+
Target Release: 4.0.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1345791 Environment:
Last Closed: 2016-08-12 14:11:55 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:
Bug Depends On: 1345791    
Bug Blocks:    

Description Radek Duda 2016-06-23 10:38:43 UTC
semi-cloned from bug 1345791 (fix for rhev-m 3.6 is needed as well):


Description of the problem:
In console.vv file is option enable-smartcard always =1 and does not depend on the checkbox Disable smartcard in Console options.

Version-Release number of selected component (if applicable):
rhev-m 3.6.7.5-0.1.el6

--- Additional comment from Marek Libra on 2016-06-23 09:51:06 CEST ---

I've just checked on recent 4.0.1-master and the 'Smartcard Enabled' checkbox in Edit VM dialog is working properly (the .vv file has both 0 and 1 values, accordingly).

Radek, what version did you try? I can fix it once reproduced.

--- Additional comment from Radek Duda on 2016-06-23 10:46:02 CEST ---

Yes I know what you mean, but I am not talking about 'Smartcard Enabled' checkbox, but about 'Disable smartcard' option in 'Edit console options' dialog (next to CONSOLE button in super-user-portal (Extended)). The 'Disable smartcard' checkbox becomes visible only if 'Smartcard Enabled' option is checked. There is no difference  in .vv file (except password change) whether I check or uncheck the 'Disable smartcard' checkbox.
Tested on:
ovirt-engine-4.0.0.6-0.1.el7ev.noarch

also tried on rhev-m 3.6: version 3.6.4.1-0.1.el6,
where is the same problem.

I think that additional checkbox 'Disable smartcard' is present for some security reason.. you can easily disable smartcard for particular .vv file.

Comment 1 Red Hat Bugzilla Rules Engine 2016-06-23 10:38:58 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 2 meital avital 2016-08-11 14:33:12 UTC
Verified on version: 4.0.2.4-0.1.el7ev

Verified steps:
1) Create a VM with Smartcard Enabled checked -> Verified that in console.vv file enable-smartcard=1  - Passed
2) Create a VM with Smartcard Enabled unchecked -> Verified that in console.vv file enable-smartcard=0 - Passed