Description of problem: rng-tools not included in NGN RHVH-7.2-20160801.10-RHVH-x86_64-dvd1.iso Without these tools it'll be impossible to have TPM module working with Random Number Generator in RHEVM. Version-Release number of selected component (if applicable): RHVH-7.2-20160801.10-RHVH-x86_64-dvd1.iso How reproducible: 100% Steps to Reproduce: 1.Deploy RHVH-7.2-20160801.10-RHVH-x86_64-dvd1.iso on host. 2.Check if rpm -qa rng-tools exists. 3.Check systemctl status rngd Actual results: On NGN this rpm is missing and making Random Number Generator functionality impossible. Expected results: Package should exist on NGN just like it exists on regular RHEL7.2 and rngd should be running. Additional info:
Shouldn't vdsm be pulling in rng-tools?
I also see that its missing in latest RHVH-7.2-20160801.10-RHVH-x86_64-dvd1.iso. I've added the host to the engine after it was cleanly installed from that ISO image. ovirt-setup-lib-1.0.2-1.el7ev.noarch sanlock-3.2.4-2.el7_2.x86_64 ovirt-vmconsole-host-1.0.4-1.el7ev.noarch ovirt-hosted-engine-setup-2.0.1.3-1.el7ev.noarch ovirt-vmconsole-1.0.4-1.el7ev.noarch ovirt-host-deploy-1.5.1-1.el7ev.noarch ovirt-engine-sdk-python-3.6.7.0-1.el7ev.noarch qemu-kvm-rhev-2.3.0-31.el7_2.16.x86_64 libvirt-client-1.2.17-13.el7_2.5.x86_64 vdsm-4.18.9-1.el7ev.x86_64 ovirt-hosted-engine-ha-2.0.1-1.el7ev.noarch ovirt-imageio-daemon-0.3.0-0.el7ev.noarch mom-0.5.5-1.el7ev.noarch ovirt-imageio-common-0.3.0-0.el7ev.noarch Linux version 3.10.0-327.22.2.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC) ) #1 SMP Thu Jun 9 10:09:10 EDT 2016 Linux 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 9 10:09:10 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Red Hat Enterprise Linux release 7.2
TPM hwrng is just one example of hardware rng. There will still be a) typical PRNG (/dev/random, seealso #1347642), b) any other hwrng (such as proper plug-in RNG generator). Having rng-tools by default could still be small quality of life improvement. For VDSM it doesn't make sense to require it.
/dev/hwrng is the default option and if used, in many cases it will be used as /dev/hwrng, mostly because of its HW based, thus much faster from performance side. The lack of this component makes impossible usage of "Random Number Generator functionality", which will actually turn all VMs that uses it, to VMs that will be unable to even get started. Please consider adding a blocker to this bug.
This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.
Hi, all I have reproduce this bug on redhat-virtualization-host-4.1-20170116.0 as follows: Steps to Reproduce: 1.Successfully install RHVH new build on my local machine . 2.Check if rpm -qa rng-tools exists. 3.Check systemctl status rngd Actual results: #rpm -qa|grep rng-tools no message output #systemctl status rngd Unit rngd.service could not be found. On NGN this rpm is missing and making Random Number Generator functionality impossible. So I think this bug is not fixed now, I will change status to ASSIGN. Jianwu Thanks
This is already part of ovirt-release-host-node upstream in 4.1
Test version: redhat-virtualization-host-4.1-20170202.0 ovirt-node-ng-installer-ovirt-4.1-2017020112.iso Test result: The rng-tools package has been added to oVirt Node NG / RHV-H. # imgbase w [INFO] You are on rhvh-4.1-0.20170202.0+1 # rpm -qa|grep rng-tools rng-tools-5-8.el7.x86_64 # # imgbase w [INFO] You are on ovirt-node-ng-4.1.0-0.20170201.0+1 # rpm -qa| grep rng-tools rng-tools-5-8.el7.x86_64 # So the bug is fixed, change bug status to VERIFIED.