Bug 802449

Summary: provider accts not mapping into new cloud/zone
Product: [Retired] CloudForms Cloud Engine Reporter: Dave Johnson <dajohnso>
Component: aeolus-conductorAssignee: Angus Thomas <athomas>
Status: CLOSED NOTABUG QA Contact: wes hayutin <whayutin>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0.0CC: akarol, cpelland, deltacloud-maint, ssachdev, sseago
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-03-13 17:15: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:
Embargoed:

Description Dave Johnson 2012-03-12 15:03:31 UTC
Description of problem:
==============================
After creating a new cloud and cloud resource zone, I am unable to build a component outline for it.  The UI shows no providers to build for, the command line says 'no provider accounts in this environment'


[root@gs-bl460cg1-01 ~]# aeolus-image build --template charlie2.tpl --target rhevm,ec2,vsphere,mock --environment dave

ERROR:  ParameterDataIncorrect => Target rhevm has no provider accounts in this environment. Valid targets include .



[root@gs-bl460cg1-01 ~]# aeolus-image list --providers
Name                   Type        Target Reference                                                                               
------------------     -------     ------------------------------------------------------------------------------------------     
ec2-us-east-1          ec2         us-east-1                                                                                      
ec2-ap-southeast-1     ec2         ap-southeast-1                                                                                 
ec2-us-west-2          ec2         us-west-2                                                                                      
ec2-ap-northeast-1     ec2         ap-northeast-1                                                                                 
ec2-sa-east-1          ec2         sa-east-1                                                                                      
ec2-eu-west-1          ec2         eu-west-1                                                                                      
ec2-us-west-1          ec2         us-west-1                                                                                      
mock                   mock                                                                                                       
rhevm-blade27          rhevm       https://qeblade26.rhq.lab.eng.bos.redhat.com:8443/api;4051216f-a778-488f-8ae4-5a2541b009ff     
rhevm-boston           rhevm       https://10.16.120.230:8443/api;ef590778-9a1e-42de-9c7e-9166ca678688                            
vsphere-default        vsphere     10.16.120.136                                                                                  


[root@gs-bl460cg1-01 ~]# aeolus-image list --accounts
Name        Provider            Provider Type     
-------     ---------------     -------------     
mock        mock                mock              
dj-east     ec2-us-east-1       ec2               
blade27     rhevm-blade27       rhevm             
boston      rhevm-boston        rhevm             
vsphere     vsphere-default     vsphere           



Version-Release number of selected component (if applicable):
====================================================================
aeolus-conductor-0.8.0-41.el6.noarch


How reproducible:
===================
100%  on two different boxes


Steps to reproduce
=====================
1.  install
2.  configure for providers
3.  add a new cloud
4.  add a new zone for that new cloud resource zone
5.  create a new component outline (w/ web ui) for that cloud/zone
6.  create a new image via cmd line for that environment


Expected Results
===================
component outline / image is created

Actual Results:
===================
No provider accounts are found, image cannot be created

Comment 1 Dave Johnson 2012-03-12 15:09:44 UTC
I should have also included this...

[root@gs-bl460cg1-01 ~]# aeolus-image list --environments
Name        
-------     
default     
dave

Comment 2 Scott Seago 2012-03-13 04:46:32 UTC
What exactly is the bug? Did you try to add the provider accounts to the new Cloud? If you did, are they showing up in the 'Provider Accounts' tab on the Cloud details page?

Comment 3 Dave Johnson 2012-03-13 17:15:39 UTC
Yeah, I did not see that you now have to add the accounts to the cloud and it wasn't clear where that was.  Found it now...