Closed ozbillwang closed 9 years ago
how was the ec2 plugin set up for each project, did you filter the nodes?
Thanks, @gschueler
My rundeck instance is aws ec2 instance as well. I put rundeck-ec2-nodes-plugin-1.5.jar
under /var/lib/rundeck/libext
Create dev and uat projects as same way (Add a new Resource Model Source --> AWS EC2 Resources)
Filter Params tag:environment=uat or dev
Mapping Params username.default=ec2-user;hostname.selector=privateIpAddress;tags.selector=tags/group
Mapping params
are same in both projects. Accept default for rest.
my concerns,
dev
are dev instances filter by tag:environment=dev
, all nodes in project uat
are uat instances, they should not come to other project. In my tags setting, no node's tag:environment has both dev
and uat
.saved filter
in rundeck should be only appeared in current project, why i can see it in other projects, and the filter will not make sense for different projects. @gschueler any updates for this issue?
just had a look at this. it does look like a bug in rundeck. I filed it as https://github.com/rundeck/rundeck/issues/1231
@gschueler Thanks for the updates. I will go through rundeck/rundeck#1231 to add my comments.
@gschueler
I saw the pull request for this issue has been merged to rundeck, that's great. I start testing with the latest commits, will be back for the result.
@gschueler
I confirmed the problem has been fixed in new release 2.5.1.
But I am not in the Bug Reporters
list for this new release.
@SydOps Apologies! It is auto generated from the issue reporters in the rundeck project, but since I ended up creating the issue it didn't have you in the list, sorry.
I should thank to you. I am appreciated it gets progressed, and I can implement with new version in my project now.
Not sure this is the issue in rundeck or rundeck-ec2-nodes-plugin.
In AWS system, I have three environments (tags environment=dev/uat/prod), So I create three rundeck projects (dev/uat/prod), each environment has several groups, such as abc1, abc2, etc. So for one aws ec2 instance, the tags will be
In rundeck dev project, I save the filter (group: abc1), I can see all instances (dev and abc1) in that group, so saved the filter as "dev.abc1"
So I move to uat project, then i found the filter (dev.abc1) is also appeared in project uat, and if I choice it, show the dev instances, that's not right. I shouldn't see any dev instances in uat project.
Could you please help if there are something I can fixe?
My environment: