find_servers_for_task doesn't work anymore in 2.8.0 #77

Closed
lawrencepit opened this Issue Aug 9, 2011 · 3 comments

Comments

Projects
None yet
3 participants

method find_servers_for_task will delegate to find_servers with option :hosts => [] by default. This worked fine up until 2.8.0. In 2.8.0 the first line of method find_servers now returns an empty array, while it should go to the code block where it inspects the given roles to determine the servers.

Owner

leehambley commented Sep 24, 2011

@lawrencepitt can you confirm this is still an issue under 2.9.0, there have been changes to the find_servers method (I suspect it's still a problem, but you may be able to reproduce this more quickly than I.

Contributor

ppg commented Oct 28, 2011

@lawrencepitt This is potentially due to my change in 84506c0; however, from your description I'm not clear on what the expected vs. actual behavior is. Could you perhaps provide a particular roles setup and function call along with the expected and actual outputs? (better yet write a test for it) That will help me understand where the discrepancy is.

Owner

leehambley commented Dec 11, 2011

Closing due to lack of activity

@leehambley leehambley closed this Dec 11, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment