Bug 782545

Summary: check storage domain is under specified 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: low    
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:42 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:34:07 UTC
Description of problem:
===================================
Now that we are specifying a specific data center within the rhevm_configure file along with a export domain, we probably should verify that the specified export domain falls under the specified data center.

  rhevm_nfs_server: rhevm.redhat.com
  rhevm_nfs_export: /home/rhevm_export
  rhevm_nfs_mount_point: /mnt/rhevm-nfs
  rhevm_deltacloud_username: user@domain
  rhevm_deltacloud_password: password
  rhevm_deltacloud_api: https://rhevm.redhat.com:8443/api
  rhevm_deltacloud_data_center: 4c96c74b-f8b6-4c8f-aa84-a55770839b85
  rhevm_push_timeout: 1800

Comment 1 Richard Su 2012-01-23 22:17:04 UTC
Posted a patch under BZ 782210 that will now take the data center into consideration.

Comment 2 Richard Su 2012-01-25 21:04:59 UTC
Pushed as commit ecf8334c762376305a14f5143ec09148da6792b6

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

Comment 5 Dave Johnson 2012-02-07 17:16:53 UTC
Looks good in aeolus-configure-2.5.0-11.el6.noarch


[root@hp-z600-01 nodes]# aeolus-configure -p rhevm
Launching aeolus configuration recipe...
RHEV validation error: could not find path /home/blade27_export in data center ba73dc34-4de8-4ca3-a327-28e6c8f3d7e9 in a storage domain where type = "export" at /usr/share/aeolus-configure/modules/aeolus/manifests/profiles/rhevm.pp:51 on node hp-z600-01.rhts.eng.bos.redhat.com

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