Bug 758473

Summary: aeolus-configure -p rhevm should check nfs export domain value
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-configureAssignee: Richard Su <rwsu>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, dajohnso, deltacloud-maint, dgao, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 20:43:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Dave Johnson 2011-11-29 21:38:36 UTC
Description of problem:
=======================================
Ran into a instance where rhevm push were failing with domain not found even though configure had successfully mounted it.  Turns out the user adding a value pointint to the rhevm data domain instead of pointing at a rhevm export domain.

aeolus-configure should use the values from the rhevm config and verify that the storage domain given is of type 'export' otherwise it only obscures the actual issue and takes longer to diagnose.

Comment 1 Richard Su 2011-12-05 22:23:39 UTC
Added a new step in aeolus-configure to query the RHEVM REST API to check the directory specified as the nfs export has storage domain type = "export".

Fixed on:
commit dcee3da3a7f8084b97d7334d173f23cb995f4a09
aeolus-configure-2.4.0-2

Comment 2 Dave Johnson 2011-12-12 22:08:52 UTC
looks good

err: /Stage[main]/Aeolus::Profiles::Rhevm/Web_request[rhevm-check-export-path-is-export-type]/get: change from  to https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api/storagedomains?search=export failed: An exception was raised when invoking web request: Expecting //storage_domains/storage_domain/storage/path[text() = '/home/dajo/rhevh-data'] in the result
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs]: Dependency Web_request[rhevm-check-export-path-is-export-type] has failures: true
warning: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs]: Skipping because of failed dependencies

Comment 3 wes hayutin 2012-01-03 14:30:49 UTC
These bugs are verified, removing from ce-sprint

Comment 5 errata-xmlrpc 2012-05-15 20:43:50 UTC
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.

http://rhn.redhat.com/errata/RHEA-2012-0586.html