It is really urgent for me to choose the latest EC2 plugin (still not released) in testing. It seems that there are no latest commits since two months ago.
I have configured the tags for my new spot instance request, like:
Name: Name
Value: Henry
But after the spot instance launched, it seems no tags have been attached to this spot instance.
Could you please fix it before the official release?
Thanks
Henry
[JENKINS-19058] ec2-plugin cannot add specified instance tags on launched spot instances
Assignee | Original: Francis Upton [ francisu ] | New: Adam Irr [ aji9861 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Some more information about why this is happening.
Spot Instance Requests should be getting the tags assigned. The problem is that the tags do not then get passed on to the fulfilling instance. According to the AWS documentation this is the intended behavior (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/concepts-spot-instances-request-tags.html). It seems we need to manually pass on the tags from the Spot Request to the actual instance.