Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make loadbalancer account for master instance type #545

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

lseek
Copy link

@lseek lseek commented Jul 28, 2015

The load balancer currently assumes that all nodes in a cluster
(including the master node) are of the same instance type and throws an
exception if this is not so. But the StarCluster config explicitly
allows the master node to be of a different instance type than its
execution hosts. Therefore if a cluster is configured in such a manner
the loadbalancer will fail to run.

This commit makes the loadbalancer take into account that the master
node can be of a different instance type.

David Koo added 4 commits July 28, 2015 12:31
The load balancer currently assumes that all nodes in a cluster
(including the master node) are of the same instance type and throws an
exception if this is not so. But the StarCluster config explicitly
allows the master node to be of a different instance type than its
execution hosts. Therefore if a cluster is configured in such a manner
the loadbalancer will fail to run.

This commit makes the loadbalancer take into account that the master
node can be of a different instance type.
The load balancer currently assumes that all nodes in a cluster
(including the master node) are of the same instance type and throws an
exception if this is not so. But the StarCluster config explicitly
allows the master node to be of a different instance type than its
execution hosts. Therefore if a cluster is configured in such a manner
the loadbalancer will fail to run.

This commit makes the loadbalancer take into account that the master
node can be of a different instance type.
Initialize 'master' variable in loadbalancer's slots_per_host method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant