Bug 772533

Summary: aeolus-image push could not find provider account even if it exists.
Product: [Retired] CloudForms Cloud Engine Reporter: Aziza Karol <akarol>
Component: rubygem-aeolus-imageAssignee: Mike Orazi <morazi>
Status: CLOSED DUPLICATE QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
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-01-09 05:47:36 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 Aziza Karol 2012-01-09 05:22:10 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
I added provider accounts  for ec2 east and west.
aeolus-image push fails to find provider account even it it is added.

[root@dell-pe1950-02 rheltempwes]# aeolus-image build --target ec2 --template RHEL61.tpl 
Target Image                             Target     Status     Image                                    Build                                    
------------------------------------     ------     ------     ------------------------------------     ------------------------------------     
547083d5-7c55-4464-9242-c62d93add48c     ec2        New        213921af-606c-4446-9585-7daec5898b9d     433f2a8b-62a9-43a6-9b8e-6d65970c7dcb     

[root@dell-pe1950-02 rheltempwes]# aeolus-image push --account aziza_east --build 433f2a8b-62a9-43a6-9b8e-6d65970c7dcb

ERROR:  ProviderAccountNotFound => Could not find provider account for name 
    aziza_east
  
[root@dell-pe1950-02 rheltempwes]# aeolus-image push --account aziza_west --build 433f2a8b-62a9-43a6-9b8e-6d65970c7dcb

ERROR:  ProviderAccountNotFound => Could not find provider account for name 
    aziza_west
  


conductor=> Select * from provider_accounts;
 id |   label    | provider_id | quota_id | lock_version |         created_at         |         updated_at         | priority 
----+------------+-------------+----------+--------------+----------------------------+----------------------------+----------
  1 | aziza_east |           6 |        5 |            0 | 2012-01-09 03:16:24.989097 | 2012-01-09 03:16:24.989097 |         
  2 | aziza_west |           1 |        6 |            0 | 2012-01-09 04:36:08.550926 | 2012-01-09 04:36:08.550926 |         
(2 rows)




[root@dell-pe1950-02 rheltempwes]# rpm -qa | grep aeolus
aeolus-configure-2.6.0-0.20120105171403gitf0043e8.el6.noarch
aeolus-conductor-doc-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
rubygem-rack-mount-0.7.1-3.aeolus.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
rubygem-aeolus-image-0.4.0-0.20120105171419git8108b42.el6.noarch
aeolus-conductor-0.9.0-0.20120105223209git5e068fe.el6.noarch
aeolus-all-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-aeolus-cli-0.4.0-0.20120105171410git2c6b457.el6.noarch
aeolus-conductor-daemons-0.9.0-0.20120105223209git5e068fe.el6.noarch





Additional info:

Comment 1 Aziza Karol 2012-01-09 05:47:36 UTC

*** This bug has been marked as a duplicate of bug 772275 ***