Bug 843117

Summary: Empty provider list if 'mock' not included in aeolus-configure
Product: [Retired] CloudForms Cloud Engine Reporter: Aaron Weitekamp <aweiteka>
Component: aeolus-configureAssignee: John Eckersberg <jeckersb>
Status: CLOSED NEXTRELEASE QA Contact: Rehana <aeolus-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: dajohnso
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-07 20:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
aeolus-configure.log none

Description Aaron Weitekamp 2012-07-25 16:05:35 UTC
Created attachment 600340 [details]
aeolus-configure.log

Description of problem:
Provider list is empty if 'mock' provider not included in aeolus-configure. User may add providers but it's very difficult to find the correct values for "EC2 name" and "Region".

Version-1.0.1 (from puddle):
# rpm -qa|grep aeolus
aeolus-conductor-doc-0.8.34-1.el6cf.noarch
aeolus-all-0.8.34-1.el6cf.noarch
aeolus-conductor-0.8.34-1.el6cf.noarch
aeolus-configure-2.5.10-1.el6cf.noarch
rubygem-aeolus-cli-0.3.3-2.el6_2.noarch
rubygem-aeolus-image-0.3.0-12.el6.noarch
aeolus-conductor-daemons-0.8.34-1.el6cf.noarch


How reproducible: 100%


Steps to Reproduce:
# aeolus-configure -p ec2,admin

Actual results:
# aeolus-image list --providers
Name     Type     Target Reference     
----     ----     ----------------     

#


Expected results:
7 EC2 providers should be listed
* ec2-us-east-1, etc.
* ec2-us-west-1
* etc.

Additional info:
If 'mock' value included, as in 'aeolus-configure -p ec2,mock' all the EC2 providers are listed.

Error at ln 64 in log: 
Wed Jul 25 11:24:27 -0400 2012 /Stage[main]/Aeolus::Deltacloud::Core/Exec[deltacloud-core-startup-wait]/returns (err): change from notrun to 0 failed: /usr/bin/nc -z localhost 3002 returned 1 instead of one of [0] at /usr/share/aeolus-configure/modules/aeolus/manifests/deltacloud.pp:43

Comment 2 John Eckersberg 2012-09-07 20:03:52 UTC
Looks like this got fixed during the 1.1 development cycle.  Testing against the current 1.1 candidate on a fresh host:

# aeolus-configure -p ec2  # 'admin' profile is implied in 1.1
Launching aeolus configuration recipe...
-snip-
notice: Finished catalog run in 344.40 seconds

# aeolus-image list --providers
Name                   Type     Target Reference     
------------------     ----     ----------------     
ec2-ap-northeast-1     ec2      ap-northeast-1       
ec2-ap-southeast-1     ec2      ap-southeast-1       
ec2-eu-west-1          ec2      eu-west-1            
ec2-sa-east-1          ec2      sa-east-1            
ec2-us-east-1          ec2      us-east-1            
ec2-us-west-1          ec2      us-west-1            
ec2-us-west-2          ec2      us-west-2