Red Hat Bugzilla – Bug 852060
rhevm installation: Add a warning if virtio-win.vfd failed to be copied to the local nfsshare
Last modified: 2015-09-22 09:09 EDT
Description of problem:
In 3.0 after virtio-win was a dependency of rhevm. Now that it was moved to
rhel-x86_64-server-supplementary-6 this dependency was removed.
This means that after fixing bug 852056, the virtio-win VFD and ISO will still fail copy to the local ISO share if the user did not:
1. Added rhel-x86_64-server-supplementary-6 to the registered channel
2. yum install virtio-win
Since we don't want to force dependency of rhevm on virtio-win nor do we want to fail the setup on this, in case the files are missing the setup script should refer the customers to the installation guide for details on how to install und upload after the setup is complete.
Version-Release number of selected component (if applicable):
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
On the rhevm setup section need to add the supplementary channel and a step to install the virtio. (For those who intend to use windows VMs and use the locally created NFS)
On the iso-uploader section need to add the supplementary channel before the instructions for uploading the virtio-win files.
simon, why don't we want to require this rpm? ship it also in rhev channel if relevant, but i don't see a use case in which it is not releavnt to rhev customers?
(In reply to comment #3)
> simon, why don't we want to require this rpm? ship it also in rhev channel
If it's possible to have it in both channel then I don't mind.
> if relevant, but i don't see a use case in which it is not relevant to rhev
For customers not using Windows at all it's relevant. But I agree they are probably not the majority.
Andy, how do you think about duplicating this package to the RHEV channel?
(Another alternative it to enforce the supplementary channel and have rhevm require virtio-win as before)
I'm for KISS and require this package from rhev-m spec perspective
fix merged, https://gerrit.eng.lab.tlv.redhat.com/gitweb?p=ovirt-engine.git;a=commit;h=0a163246f1e1d8becc1f27a8307a6c7d2b893124
si24.2 partially fixed.
There is an error message in the installation log file but user has no indication that something went wrong,so no reason to look in the installation log file. The error message regarding missing files/copy failure has to appear on the console while installation.
This is the output from installation log file:
2012-11-18 17:33:25::DEBUG::common_utils::341::root:: stderr =
2012-11-18 17:33:25::DEBUG::common_utils::342::root:: retcode = 0
2012-11-18 17:33:25::DEBUG::nfsutils::145::root:: refreshing NFS exports
2012-11-18 17:33:25::DEBUG::setup_sequences::59::root:: running _loadFilesToIsoDomain
2012-11-18 17:33:25::ERROR::rhevm-setup::1633::root:: Traceback (most recent call last):
File "/usr/bin/rhevm-setup", line 1630, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID, basedefs.CONST_KVM_GID)
File "/usr/share/ovirt-engine/scripts/common_utils.py", line 577, in copyFile
File "/usr/lib64/python2.6/shutil.py", line 95, in copy2
File "/usr/lib64/python2.6/shutil.py", line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/usr/share/virtio-win/virtio-win.vfd'
2012-11-18 17:33:25::ERROR::rhevm-setup::1634::root:: Failed to copy files to iso domain
since this requires user to cause an integrity to another required rpm, postponing the handling of this.
this is not a regression - the regression was fixed by adding the dependnecy on the virtio-win rpm.