Red Hat Bugzilla – Bug 1202895
Error with Smart State Analysis on RHEV VM on NFS
Last modified: 2017-05-16 09:40:55 EDT
Description of problem: ManageIQ on RHEV and SmartState Analysis fails with the following message: [----] E, [2015-03-07T07:38:17.754029 #2767:1251808] ERROR -- : Q-task_id([ca567ff4-c49c-11e4-8b25-001a4a4c4604]) Error Trace: [No such file or directory - /mnt/vm/ca567ff4-c49c-11e4-8b25-001a4a4c4604/rhev/data-center/00000002-0002-0002-0002-000000000010/mastersd/master/vms/0333ec6a-0c6a-4722-bb31-27282fa0276b/0333ec6a-0c6a-4722-bb31-27282fa0276b.ovf for VM:[/rhev/data-center/00000002-0002-0002-0002-000000000010/mastersd/master/vms/0333ec6a-0c6a-4722-bb31-27282fa0276b/0333ec6a-0c6a-4722-bb31-27282fa0276b.ovf]] Storage domain type is NFS and can be mounted on the appliance. And I have edited the relationship of the VM to tell MIQ it is itself. Did I miss another step ? Same errors seen upstream: talk.manageiq.org/t/no-results-from-smartstate-analysis-in-ovirt-environment/585/14 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
*** Bug 1236725 has been marked as a duplicate of this bug. ***
What version of RHEV are they using?
Waiting to hear back from the customer on what version of RHEV they are running. Will update shortly.
https://github.com/ManageIQ/manageiq/pull/4028
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/8d54788e33b3d1740779bf693ea26d1c4bc58674 commit 8d54788e33b3d1740779bf693ea26d1c4bc58674 Author: Richard Oliveri <roliveri@redhat.com> AuthorDate: Mon Aug 24 17:07:40 2015 -0400 Commit: Richard Oliveri <roliveri@redhat.com> CommitDate: Mon Aug 24 17:07:40 2015 -0400 Fixes for various RHEVM fleecing issues. Fix for RHEV 3.5 - ovf file no longer on NFS share. Fix for NFS permission problem - uid changed when opening files on share. Fix for environments with both, NFS and LUN based storage. https://bugzilla.redhat.com/show_bug.cgi?id=1202895 https://bugzilla.redhat.com/show_bug.cgi?id=1024033 .../vm_or_template_shared/scanning.rb | 85 +----------- gems/pending/MiqVm/MiqRhevmVm.rb | 146 ++++++++++++++++++++- gems/pending/MiqVm/MiqVm.rb | 10 +- 3 files changed, 154 insertions(+), 87 deletions(-)
https://github.com/ManageIQ/manageiq/pull/4128
Detected commit referencing this ticket while ticket status is POST.
https://github.com/ManageIQ/manageiq/pull/3978
https://github.com/ManageIQ/manageiq/pull/4262
Does this impact RHEV 3.5 VMs only?
Yes, it's needed to work with RHEV 3.5 and newer.
Successfully scanned a RHEV 3.5 VM residing on NFS storage. Verified in 5.5.0.12
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:2551