Bug 772352

Summary: image import via webui seems to auto select us-east-1
Product: [Retired] CloudForms Cloud Engine Reporter: wes hayutin <whayutin>
Component: aeolus-conductorAssignee: Matt Wagner <matt.wagner>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, athomas, deltacloud-maint, slinaber, ssachdev
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://hudson.rhq.lab.eng.bos.redhat.com:8080/hudson/view/DEV-CloudForms/job/public-cloudEngine-installConfig/338/console
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-05-15 21:33:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
ss
none
ss2
none
image import none

Description wes hayutin 2012-01-06 22:07:01 UTC
Created attachment 551291 [details]
ss

Description of problem:

1. us-east-1, us-west-1 :setup two providers and two provider accounts, realms etc..
2. get a valid ami id from us-west-1
3. env -> images -> import

4. pick the us-west-1 provider account
5. paste in the us-west-1 ami id
6. give it a name.. 
7. click continue

notice the assigned provider account is us-east-1

see screenshots

Comment 1 wes hayutin 2012-01-06 22:07:39 UTC
Created attachment 551292 [details]
ss2

Comment 2 wes hayutin 2012-01-06 22:08:09 UTC
[root@qeblade31 ~]# rpm -qa | grep aeolus
aeolus-configure-2.6.0-0.20120105171403gitf0043e8.el6.noarch
aeolus-conductor-doc-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-aeolus-cli-0.4.0-0.20120105171410git2c6b457.el6.noarch
rubygem-arel-2.0.10-0.aeolus.el6.noarch
aeolus-conductor-daemons-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-ZenTest-4.3.3-2.aeolus.el6.noarch
aeolus-conductor-0.9.0-0.20120105223209git5e068fe.el6.noarch
rubygem-aeolus-image-0.4.0-0.20120105171419git8108b42.el6.noarch
aeolus-all-0.9.0-0.20120105223209git5e068fe.el6.noarch

Comment 4 Matt Wagner 2012-01-09 21:36:09 UTC
Pushed to master:

commit aa20e016e7896f3f93c580bca6354b51088e43a5
Author: Matt Wagner <matt.wagner>
Date:   Mon Jan 9 13:23:21 2012 -0500

    find_by_provider_name_and_login takes provider into account now
    
    Previously we were only considering provider_type and login, which
    meant that an account shared across multiple providers of the same type
    would always return the first matching provider.
    
    Resolves https://bugzilla.redhat.com/show_bug.cgi?id=772352

Comment 5 Steve Linabery 2012-01-10 18:19:28 UTC
aa20e016e7896f3f93c580bca6354b51088e43a5 in aeolus-conductor-0.8.0-2.el6.src.rpm

Comment 6 wes hayutin 2012-01-12 16:14:55 UTC
bugs in verified or on_qa moving off tracker

Comment 7 Aziza Karol 2012-01-13 10:55:51 UTC
provider account displayed correctly.
see attach screenshot.

verified on:
rpm -qa | grep aeolus
aeolus-configure-2.5.0-4.el6.noarch
rubygem-aeolus-cli-0.3.0-3.el6.noarch
aeolus-conductor-doc-0.8.0-5.el6.noarch
aeolus-all-0.8.0-5.el6.noarch
aeolus-conductor-daemons-0.8.0-5.el6.noarch
rubygem-aeolus-image-0.3.0-2.el6.noarch
aeolus-conductor-0.8.0-5.el6.noarch

Comment 8 Aziza Karol 2012-01-13 10:56:36 UTC
Created attachment 555033 [details]
image import

Comment 10 errata-xmlrpc 2012-05-15 21:33:26 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-0583.html