Hi David
The node launches fine, but I find that the 'tags' I get from
node.getTags() never contains the tags I set on it...
Am I doing this wrong? Or is there another way to attach metadata to a node?
I'm not the expert here, but from the looks of the appropriate live
test [1], it appears that tags and user metadata are only expected to
be set if the Tag API [2] is present for the particular EC2 provider
you're talking to.
For AWS EC2, that should probably be the case, but we can at least
check to see if things are working as expected there. Somewhere in
your test code, you could see if:
myComputeServiceContext.unwrapApi(EC2Api.class).getTagApi().isPresent()
is true or not. If it *is* present, we'd then need to see why the tags
aren't being set, but as an immediate workaround you could at least
try to use the Tag API to manipulate the tags directly.
Regards
ap
[1]
https://github.com/jclouds/jclouds/blob/master/apis/ec2/src/test/java/org/jclouds/ec2/compute/EC2ComputeServiceLiveTest.java#L91
[2] http://javadocs.jclouds.cloudbees.net/org/jclouds/ec2/features/TagApi.html