Bug 1429912 - Random number generator source of pool VM is disabled in webadmin although RNG source is actually enabled on the VM.
Summary: Random number generator source of pool VM is disabled in webadmin although RN...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Virt
Version: 4.1.1.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.1.3
: 4.1.3.2
Assignee: jniederm
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-07 12:41 UTC by Nisim Simsolo
Modified: 2017-07-06 13:35 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-07-06 13:35:28 UTC
oVirt Team: Virt
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: exception+
mtessun: planning_ack+
tjelinek: devel_ack+
mavital: testing_ack+


Attachments (Terms of Use)
vdsm.log (200.02 KB, application/x-xz)
2017-03-07 12:44 UTC, Nisim Simsolo
no flags Details
engine.log (134.83 KB, application/x-xz)
2017-03-07 12:45 UTC, Nisim Simsolo
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 77343 0 master MERGED webadmin: edit Vm from pool did not show the RNG config 2017-05-26 15:18:32 UTC
oVirt gerrit 77471 0 ovirt-engine-4.1 MERGED webadmin: edit Vm from pool did not show the RNG config 2017-06-01 09:16:33 UTC

Description Nisim Simsolo 2017-03-07 12:41:30 UTC
Description of problem:
When creating VM pool from template with RNG /dev/urandom enabled, in the webadmin it looks like the feature is disabled (edit VM -> random generator -> "Random Generator enabled" checkbox is unchecked) but observing qemu-kvm process and vdsm.log shows that /dev/urandom source is available on the VM.

Version-Release number of selected component (if applicable):
ovirt-engine-4.1.1.3-0.1.el7
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. Create VM with RNG -> /dev/urandom source enabled.
2. Create template from this VM and create pool of 5 VMs from this template.
3. Browse webadmin -> edit VM -> random generator tab

Actual results:
"Random Generator enabled" checkbox is unchecked. 
Observing qemu-kvm process and vdsm.log shows that /dev/urandom source is available on the VM.
It is possible to generate random number from the VM using /dev/urandom source.

Expected results:
If RNG is enabled on the VM than "Random Generator enabled" checkbox should be checked.

Additional info:
vdsm.log and engine.log attached (pool VMs name: 11pool11).

Comment 1 Nisim Simsolo 2017-03-07 12:44:56 UTC
Created attachment 1260789 [details]
vdsm.log

Comment 2 Nisim Simsolo 2017-03-07 12:45:19 UTC
Created attachment 1260790 [details]
engine.log

Comment 3 Tomas Jelinek 2017-03-08 07:33:53 UTC
I guess that if you now add new VMs to the pool the new VMs will have this random source actually disabled which makes this bug a bit more important.

Comment 4 Nisim Simsolo 2017-03-08 13:19:45 UTC
Just tested it, same behavior obvserved when increasing number of VMs in pool (RNG disabled in webadmin although it's not actually disabled)

Comment 5 rhev-integ 2017-06-01 16:12:58 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[Tag 'ovirt-engine-4.1.3.1' doesn't contain patch 'https://gerrit.ovirt.org/77471']
gitweb: https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs/tags/ovirt-engine-4.1.3.1

For more info please contact: infra

Comment 6 Nisim Simsolo 2017-06-14 11:38:36 UTC
Verified:
libvirt-client-3.2.0-9.el7.x86_64
qemu-kvm-rhev-2.6.0-28.el7_3.10.x86_64
sanlock-3.5.0-1.el7.x86_64
vdsm-4.19.18-1.el7ev.x86_64


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