Bug 1349368 - 'Disable smartcard' checkbox does not work (no change in console.vv file)
Summary: 'Disable smartcard' checkbox does not work (no change in console.vv file)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.UserPortal
Version: 3.6.7
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ovirt-4.0.1
: 4.0.0
Assignee: Marek Libra
QA Contact: meital avital
URL:
Whiteboard:
Depends On: 1345791
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-23 10:38 UTC by Radek Duda
Modified: 2016-08-12 14:11 UTC (History)
13 users (show)

Fixed In Version:
Clone Of: 1345791
Environment:
Last Closed: 2016-08-12 14:11:55 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
michal.skrivanek: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 59683 0 master MERGED webadmin: Propagate 'Disable smartcard' to console.vv 2016-06-24 07:22:06 UTC
oVirt gerrit 59733 0 ovirt-engine-4.0 MERGED webadmin: Propagate 'Disable smartcard' to console.vv 2016-06-26 08:08:12 UTC

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


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