Red Hat Bugzilla – Bug 843807
What number gives a higher priority?
Last modified: 2012-12-10 16:48:55 EST
Description of problem:
When creating a Cloud Resource Provider, there is an opportunity to include a priority. However there is no documentation regarding what the values mean. If I assign a value of 1 to one provider and a value of 10 to another, which one is the higher priority? Is it the higher number or the first number?
Also, there is no mention where this comes into play. Is this value referenced when I choose auto-select in the Cluster when I launch?
Lastly, what are the available values? Is 0 a higher (or lower) priority than 1? What about -1000?
related to bug 828463
Modified doc text for Cloud Resource Provider Account creation:
"Type the Priority for your Cloud Resource Provider. This defines to order of priority that CloudForms Cloud Engine utilizes Cloud Resource Providers. Priority is ranked from lowest to highest. For example, a priority of 3 ranks higher than a priority of 5."
as per comment from Imre Farkas on bug 864457:
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.
This documentation has now been dropped to translation ahead of publication. For any further issues, please open a new a bug.
This document is now publicly available on access.redhat.com. For any further issues, please raise a new bug.