Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1202895 - Error with Smart State Analysis on RHEV VM on NFS
Error with Smart State Analysis on RHEV VM on NFS
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: SmartState Analysis (Show other bugs)
5.3.0
Unspecified Unspecified
high Severity high
: GA
: 5.5.0
Assigned To: Rich Oliveri
Nandini Chandra
: ZStream
: 1236725 (view as bug list)
Depends On:
Blocks: 1261897 1451361
  Show dependency treegraph
 
Reported: 2015-03-17 12:13 EDT by lkerner
Modified: 2017-05-16 09:40 EDT (History)
16 users (show)

See Also:
Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
In Red Hat Enterprise Virtualization 3.5, virtual machine OVF files no longer all reside on the master storage domain. As a result, performing SmartState Analysis on Red Hat Enterprise Virtualization 3.5 virtual machines residing on NFS storage domains failed due to a file not found error. The SmartState Analysis logic has been updated to retrieve the virtual machine's metadata through the Red Hat Enterprise Virtualization Manager API instead of the OVF file, so it now runs successfully in Red Hat Enterprise Virtualization 3.5 environments.
Story Points: ---
Clone Of:
: 1261897 1451361 (view as bug list)
Environment:
Last Closed: 2015-12-08 08:03:44 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 12:58:09 EST

  None (edit)
Description lkerner 2015-03-17 12:13:25 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:
Comment 2 Dave Johnson 2015-07-02 17:49:14 EDT
*** Bug 1236725 has been marked as a duplicate of this bug. ***
Comment 3 Rich Oliveri 2015-07-28 17:37:05 EDT
What version of RHEV are they using?
Comment 4 Jared Deubel 2015-07-28 18:00:17 EDT
Waiting to hear back from the customer on what version of RHEV they are running. Will update shortly.
Comment 8 CFME Bot 2015-09-02 15:00:40 EDT
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(-)
Comment 10 CFME Bot 2015-09-08 18:01:39 EDT
Detected commit referencing this ticket while ticket status is POST.
Comment 12 CFME Bot 2015-09-08 18:03:13 EDT
Detected commit referencing this ticket while ticket status is POST.
Comment 14 CFME Bot 2015-09-08 18:04:23 EDT
Detected commit referencing this ticket while ticket status is POST.
Comment 19 Nandini Chandra 2015-11-24 14:08:57 EST
Does this impact RHEV 3.5 VMs only?
Comment 20 Rich Oliveri 2015-11-24 14:39:14 EST
Yes, it's needed to work with RHEV 3.5 and newer.
Comment 21 Nandini Chandra 2015-11-25 21:57:02 EST
Successfully scanned a RHEV 3.5 VM residing on NFS storage.

Verified in 5.5.0.12
Comment 26 errata-xmlrpc 2015-12-08 08:03:44 EST
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

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