Bug 782543

Summary: support for multiple rhevm clusters under single data center
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-configureAssignee: Richard Su <rwsu>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.0CC: akarol, deltacloud-maint, 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:45:39 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 2012-01-17 16:26:45 UTC
Description of problem:
=============================
related if not dependent on bug 782210...

aeolus-configure doesn't seems to handle multiple clusters under a single datacenter.  

When rhevm has a single datacenter with multiple clusters under it, each with their own export domain, it appears configure grabs the first "export" one returned and checks its path is mapped to the same nfs share as what is in /etc/aeolus-configure/nodes/rhevm_configure.  When there are two, it runs the risk of picking the wrong one and throwing the following error.  Configure needs to search through all possible matches.

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/qeblade28_export'] in the result
notice: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs-b28]: Dependency Web_request[rhevm-check-export-path-is-export-type] has failures: true
warning: /Stage[main]/Aeolus::Profiles::Rhevm/Mount[/mnt/rhevm-nfs-b28]: Skipping because of failed dependencies
 

Version-Release number of selected component (if applicable):
===============================================================
aeolus-configure-2.5.0-4.el6.noarch

Comment 1 Richard Su 2012-01-25 21:04:24 UTC
Pushed as commit ecf8334c762376305a14f5143ec09148da6792b6

Comment 2 Richard Su 2012-01-27 17:21:55 UTC
ecf8334 in aeolus-configure-2.5.0-8

Comment 4 Dave Johnson 2012-02-01 16:37:15 UTC
good 2 go with:

aeolus-configure-2.5.0-11.el6.noarch

Comment 5 errata-xmlrpc 2012-05-15 20:45:39 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