Bug 1431435 - RNG source cannot be changed to /dev/urandom if /dev/hwrng source is enabled.
Summary: RNG source cannot be changed to /dev/urandom if /dev/hwrng source is enabled.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.1.1.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.2
: 4.1.2
Assignee: jniederm
QA Contact: meital avital
URL:
Whiteboard:
: 1431438 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-12 14:43 UTC by Nisim Simsolo
Modified: 2017-05-23 08:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-23 08:16:05 UTC
oVirt Team: Virt
Embargoed:
michal.skrivanek: ovirt-4.1?
michal.skrivanek: planning_ack?
michal.skrivanek: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
screen video (5.56 MB, video/mp4)
2017-03-12 14:44 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 74158 0 master MERGED webadmin: Fix of VM dialog urandom radio button 2017-03-16 14:24:36 UTC
oVirt gerrit 75295 0 ovirt-engine-4.1 MERGED webadmin: Fix of VM dialog urandom radio button 2017-04-11 12:11:09 UTC

Description Nisim Simsolo 2017-03-12 14:43:41 UTC
Description of problem:
When /dev/hwrng is enabled on VM, trying to change source to /dev/urandom from webadmin is impossible because /dev/urandom is grayed out.
Workaround for this issue is to disable RNG checkbox -> apply changes -> edit VM -> enable RNG and then /dev/urandom is enabled by default.

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.1.3-0.1.el7.noarch
qemu-kvm-rhev-2.6.0-28.el7_3.6.x86_64
vdsm-4.19.7-1.el7ev.x86_64
libvirt-client-2.0.0-10.el7_3.5.x86_64
sanlock-3.4.0-1.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Browse webadmin and enable /dev/hwrng source on cluster.
2. Create new VM with /dev/hwrng source.
3. edit VM -> random generator tab: try to change device source to /dev/urandom

Actual results:
source cannot be changed because /dev/urandom is grayed out 

Expected results:
/dev/urandom should not be grayed out and it should be possibel to move between sources.

Additional info:
Video capture of the issue (and worksround) attached.

Comment 1 Nisim Simsolo 2017-03-12 14:44:30 UTC
Created attachment 1262227 [details]
screen video

Comment 2 Michal Skrivanek 2017-03-13 10:37:17 UTC
*** Bug 1431438 has been marked as a duplicate of this bug. ***

Comment 3 Nisim Simsolo 2017-04-27 13:57:22 UTC
Verification build: 
ovirt-engine-4.1.2-0.1.el7
libvirt-client-2.0.0-10.el7_3.5.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.9.x86_64
vdsm-4.19.11-1.el7ev.x86_64
sanlock-3.4.0-1.el7.x86_64


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