Bug 768089

Summary: Provider Selection is non-deterministic and might have implicit favouritism
Product: [Retired] CloudForms Cloud Engine Reporter: William Henry <whenry>
Component: aeolus-conductorAssignee: Scott Seago <sseago>
Status: CLOSED CURRENTRELEASE QA Contact: wes hayutin <whayutin>
Severity: high Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, 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-08-30 17:16:11 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 William Henry 2011-12-15 18:05:09 UTC
Description of problem:
Provider selection is non-deterministic when there are more than one match. The Conductor needs a way for administrators to set a global priority value for provider accounts.

The admin should be allowed to prioritize versus allowing the conductor to pick the first from a list that is returned from a query.   Because if there is no priority then we might find that there is an implicit favouritism because one provider always seems to top the list. 

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Shveta 2012-01-03 15:57:32 UTC
mapped a realm to two providers mock and ec2 .
mock -  priority 1
ec2  - priority 2

launched instance , instance was launched for mock 

Then i interchanged priorities of accounts. 
ec2 -- priority 1
mock -- priority 2

instance was launched for ec2.

verified in 
rpm -qa|grep aeolus
aeolus-conductor-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-all-0.8.0-0.20111222233342gitd98cb57.el6.noarch
aeolus-conductor-daemons-0.8.0-0.20111222233342gitd98cb57.el6.noarch
rubygem-aeolus-image-0.3.0-0.20111222173411gitc13b654.el6.noarch
rubygem-aeolus-cli-0.3.0-0.20111222173356git3cd6277.el6.noarch
aeolus-configure-2.5.0-0.20111222173430git17b704a.el6.noarch
aeolus-conductor-doc-0.8.0-0.20111222233342gitd98cb57.el6.noarch