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

Meek/fix autoscaling regions #1

Merged
merged 3 commits into from
Mar 20, 2014
Merged

Meek/fix autoscaling regions #1

merged 3 commits into from
Mar 20, 2014

Conversation

meekmichael
Copy link

The issue I had with autoscale clusters and regions was that get_slice() had some ec2-specific code in it. This fixes that.

I also upgrade to fog 1.20 and excon 0.31 as those work for me and I was having some errors without them. It's your call on whether or not this is necessary. I've got it in one of my other open pull requests for core ironfan as it is needed to support something else I did.

Michael Mittelstadt added 3 commits March 11, 2014 14:10
…og::Compute::AWS::Error: Duplicate => The permission \'1500008810-1-1-65535\' has already been authorized on the specified group"
@@ -56,7 +56,8 @@ def get_slice(slice_string, *args)
#
ui.info("Inventorying servers in #{desc}")
cluster = Ironfan.load_cluster(cluster_name)
Chef::Config[:knife][:region] = cluster.servers.to_a.first.cloud(:ec2).region
cloud = cluster.servers.to_a.first.clouds.values.first.name.to_sym
Chef::Config[:knife][:region] = cluster.servers.to_a.first.cloud(cloud).region
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. I'll bet things like this are littered all over.

betamatt added a commit that referenced this pull request Mar 20, 2014
@betamatt betamatt merged commit 79fefce into betamatt:feature/autoscale_provider Mar 20, 2014
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.

2 participants