Bug 864457 - conductor prefers the provider accounts defined with the highest priority value, instead of lowest
Summary: conductor prefers the provider accounts defined with the highest priority val...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: CloudForms Cloud Engine
Classification: Retired
Component: aeolus-conductor
Version: 1.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: rc
Assignee: Angus Thomas
QA Contact: Rehana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-09 12:40 UTC by Giulio Fidente
Modified: 2012-10-23 15:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-15 15:11:17 UTC
Embargoed:


Attachments (Terms of Use)

Description Giulio Fidente 2012-10-09 12:40:58 UTC
Description of problem:
when launching an application, if conductor is let to choose the provider to be used, it prefers the provider account defined with the highest number in the priority field, instead of the lowest, as assumed by the user guide.


Version-Release number of selected component (if applicable):
aeolus-conductor-0.13.16-1.el6cf


Steps to Reproduce:
1. configure at least two different provider accounts and set two different priority values (say 1 and 2)
2. launch an application letting conductor to auto-select the target cluster 
3. observe conductor preferring the account with the highest value set
  

Additional info:

Comment 1 Giulio Fidente 2012-10-15 15:11:17 UTC
this has to be updated in the doc, not in the software, as per bug 
#843807

Comment 2 Imre Farkas 2012-10-23 15:01:15 UTC
The provider selection during deployment launch has changed a lot since 1.0. In 1.1 we are randomly picking from the set of available provider accounts. The priority attribute is only used for the weight of the random selection.

So you cannot conclude that the provider account with the higher priority will be selected, or the one with the lower priority. Since it's based on random selection it can happen either way.


Note You need to log in before you can comment on or make changes to this bug.