[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-21 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi Ed, Thanks for the suggestion. I've just tried it out but unfortunately still get the same error (various combos tried). I haven't had a chance to read through the source code, but it looks like az can only take one availability zone, not a list, and so all subnets must be part of the same az. Nicky  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-19 Thread edwardqu...@hotmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Edward Quick commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi Nicola, I could be wrong but a colleague of mine mentioned that you need to provide the AZ list as space delimited (not comma delimited). Ed    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-19 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi David, Thanks for replying so quickly. I'm supplying the subnet ids as a comma-separated list (subnet-, subnet-, subnet-). All of the subnets are part of the same VPC but belong to different AZs.  subnet- is part of AZ us-east-1a subnet- is part of AZ us-east-1b subnet- is part of AZ us-east-1c I am also listing the three AZs as a comma-separated list in the "availability zone" text box ie. us-east-1a, us-east-1b, us-east-1c It is possible that I have misunderstood the new feature. Do the subnets have to be part of the same availability zone?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-16 Thread da...@davidfluck.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Fluck commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 It looks like this change has indeed been released. I've also encountered that error before. How are you listing the subnets? Are you using subnet IDs? Are all of the subnets in the same VPC? This is the relevant code: 

 

private List getEc2SecurityGroups(AmazonEC2 ec2) throws AmazonClientException {
List groupIds = new ArrayList();

DescribeSecurityGroupsResult groupResult = getSecurityGroupsBy("group-name", securityGroupSet, ec2);
if (groupResult.getSecurityGroups().size() == 0) {
groupResult = getSecurityGroupsBy("group-id", securityGroupSet, ec2);
}

for (SecurityGroup group : groupResult.getSecurityGroups()) {
if (group.getVpcId() != null && !group.getVpcId().isEmpty()) {
List filters = new ArrayList();
filters.add(new Filter("vpc-id").withValues(group.getVpcId()));
filters.add(new Filter("state").withValues("available"));
filters.add(new Filter("subnet-id").withValues(getCurrentSubnetId()));

DescribeSubnetsRequest subnetReq = new DescribeSubnetsRequest();
subnetReq.withFilters(filters);
DescribeSubnetsResult subnetResult = ec2.describeSubnets(subnetReq);

List subnets = subnetResult.getSubnets();
if (subnets != null && !subnets.isEmpty()) {
groupIds.add(group.getGroupId());
}
}
}

if (securityGroupSet.size() != groupIds.size()) {
throw new AmazonClientException("Security groups must all be VPC security groups to work in a VPC context");
}

return groupIds;
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 
   

[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-16 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes edited a comment on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi,Is this feature now live?  Are there any instructions on how to use it?  I've tried providing a comma-separated list of subnets in different AZs but receive error  ~ "com.amazonaws.AmazonClientException: Security groups must all be VPC security groups to work in a VPC context". I can only launch slaves if I specify one subnet and the related AZ.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-16 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes edited a comment on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi,   Is this feature now live?  Are there any instructions on how to use it?  I've tried providing a comma-separated list of subnets in different AZs but receive error  `  ~ "com.amazonaws.AmazonClientException: Security groups must all be VPC security groups to work in a VPC context" ` .     I can only launch slaves if I specify one subnet and the related AZ.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-16 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes edited a comment on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi, Is this feature now live?  Are there any instructions on how to use it?  I've tried providing a comma-separated list of subnets in different AZs but receive error  `  "com.amazonaws.AmazonClientException: Security groups must all be VPC security groups to work in a VPC context" ` .   I can only launch slaves if I specify one subnet and the related AZ.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-16 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi,   Is this feature now live?  Are there any instructions on how to use it?  I've tried providing a comma-separated list of subnets in different AZs but receive error "com.amazonaws.AmazonClientException: Security groups must all be VPC security groups to work in a VPC context".   I can only launch slaves if I specify one subnet and the related AZ.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-11-08 Thread mgau...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mikael Gaunin commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi Francis Upton, I guess the status does not reflect the reality. If I'm not wrong, the fix has been delivered into the 1.41 release.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-10-12 Thread boa...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Matt Sicker updated  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35708  
 
 
  EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
Change By: 
 Matt Sicker  
 
 
Status: 
 Open Fixed but Unreleased  
 
 
Resolution: 
 Fixed  
 
 
Released As: 
 1.41  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-10-08 Thread da...@davidfluck.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 David Fluck commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Mikael Gaunin Sorry for the wait! I did, yeah. I should be able to rebase that shortly. Thank you!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-10-08 Thread mgau...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mikael Gaunin commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi David Fluck, we have a good chance to see your PR #295 reviewed soon since new maintainers work actively on this plugin! \o/ Did you see Matt Sicker 's comment on your PR?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-08-28 Thread mgau...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mikael Gaunin commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Hi Francis Upton, any chance to review David Fluck's PR (#295) soon?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2018-02-26 Thread lovelock.l...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Levi Lovelock commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 Any progress or workarounds here? This hurts when using instances that have lower availability (i.e. graphics instances)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2016-10-19 Thread fah...@cliqz.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Faheem Nadeem commented on  JENKINS-35708  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
 This could be useful for us as well. It is a problem to hardcode to a single availability zone / vpc subnet for spot instances as there could be price spikes and capacity bottlenecks.  Tried comma separated subnet IDs for VPC. It did not work   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-35708) EC2 Plugin: Ability to round robin EC2 availability zones

2016-06-14 Thread bro...@pointinside.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Brock Ackley created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-35708  
 
 
  EC2 Plugin: Ability to round robin EC2 availability zones   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Francis Upton  
 
 
Components: 
 ec2-plugin  
 
 
Created: 
 2016/Jun/14 7:32 PM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Brock Ackley  
 

  
 
 
 
 

 
 Is it possible to have instances to spin up across several availability zones (a, b, c, d) to help maximize the availability of creating spot instance in zones that may have greater availability. We have tried to setup different clouds and different instances with different availability zones, but with the same label only to find it takes the first occurrence in the configuration.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment