![]() |
|
|
|
|
Issue Type:
|
Task
|
|
Assignee:
|
Francis Upton
|
|
Components:
|
ec2-plugin |
|
Created:
|
15/Apr/15 9:02 AM
|
|
Description:
|
When trying to update the number of executors on an EC2-provisioned slave, I got the stack trace:
Caused by: com.amazonaws.AmazonServiceException: You are not authorized to perform this operation. (Service: AmazonEC2; Status Code: 403; Error Code: UnauthorizedOperation; Request ID: 74362561-8527-44c1-8f5e-564831b5ce39)
at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:1078)
at com.amazonaws.http.AmazonHttpClient.executeOneRequest(AmazonHttpClient.java:726)
at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:461)
at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:296)
at com.amazonaws.services.ec2.AmazonEC2Client.invoke(AmazonEC2Client.java:10549)
at com.amazonaws.services.ec2.AmazonEC2Client.deleteTags(AmazonEC2Client.java:2040)
at hudson.plugins.ec2.EC2AbstractSlave.clearLiveInstancedata(EC2AbstractSlave.java:386)
at hudson.plugins.ec2.EC2AbstractSlave.reconfigure(EC2AbstractSlave.java:263)
at hudson.plugins.ec2.EC2OndemandSlave.reconfigure(EC2OndemandSlave.java:98)
at hudson.model.Computer.doConfigSubmit(Computer.java:1211)
... 80 more
I resolved this by adding
"ec2:DeleteTags",
to the policy used by Jenkins.
The documentation needs to be updated to include this in it's example policy.
|
|
Environment:
|
Jenkins ver. 1.599
ec2-plugin 1.27
|
|
Project:
|
Jenkins
|
|
Priority:
|
Major
|
|
Reporter:
|
Nick Johns
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
--
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
[email protected].
For more options, visit
https://groups.google.com/d/optout.