[JIRA] (JENKINS-55203) Jenkins EC2 plugin prints private key contents in Jenkins log

2018-12-14 Thread ni...@dragonlily.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nicola Forbes created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-55203  
 
 
  Jenkins EC2 plugin prints private key contents in Jenkins log   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 ec2-plugin  
 
 
Created: 
 2018-12-14 14:41  
 
 
Environment: 
 Jenkins: 2.150  Plugin: Version 1.41  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Nicola Forbes  
 

  
 
 
 
 

 
 The Jenkins EC2 plugin prints the contents of the private key into the main jenkins log when it spins up and connects to new slaves. Please can this information be excluded from the logging. I believe the line that needs to be changed is:  https://github.com/jenkinsci/ec2-plugin/blob/master/src/main/java/hudson/plugins/ec2/ssh/EC2UnixLauncher.java#L278-L279 Example log output given below: ``` Dec 14, 2018 9:42:50 AM hudson.plugins.ec2.EC2Cloud log INFO: Getting keypair... Dec 14, 2018 9:42:50 AM hudson.plugins.ec2.EC2RetentionStrategy start INFO: Start requested for Jenkins Generic Agents (i-092c20a865eed9e81) Dec 14, 2018 9:42:50 AM hudson.plugins.ec2.EC2Cloud log INFO: Launching instance: i-092c20a865eed9e81 Dec 14, 2018 9:42:50 AM hudson.plugins.ec2.EC2Cloud log INFO: bootstrap() Dec 14, 2018 9:42:50 AM hudson.plugins.ec2.EC2Cloud log INFO: Getting keypair... Dec 14, 2018 9:42:50 AM hudson.plugins.ec2.EC2Cloud log INFO: Using key: my-jenkins-key f1:xf:81:b4:d4:4f:49:1f:b2:f6:2a:hg:39:77:t4:4v BEGIN RSA PRIVATE KEY  ```  
 

  
 
 
 
 

 
  

[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 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 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.