rundeck-plugins / rundeck-ec2-nodes-plugin

Get resource node data from Amazon EC2
85 stars 45 forks source link

Node list not populated #42

Closed scalp42 closed 8 years ago

scalp42 commented 8 years ago

Hi there,

Using a fresh install of Rundeck 2.6.2 and rundeck-ec2-nodes-plugin-1.5.1.jar (I also tried master), the node list is not populated at all:

I can confirm the IAM profile has correct access to ec2:* and used a token as well with full access to test:

The xml is pretty much empty on the server:

root@noop-i-7d2780a5 /var/lib/rundeck/var/resourceModelSourceCache/antho # ll
total 12K
drwxrwxr-x 2 rundeck rundeck 4.0K Feb 22 23:19 ./
drwxrwxr-x 3 rundeck rundeck 4.0K Feb 22 23:18 ../
-rw-rw-r-- 1 rundeck rundeck   51 Feb 22 23:38 2.aws-ec2.xml

root@noop-i-7d2780a5 /var/lib/rundeck/var/resourceModelSourceCache/antho # cat 2.aws-ec2.xml
<?xml version="1.0" encoding="UTF-8"?>

<project/>

Any ideas ? The logs don't show anything unfortunately.

Thanks in advance!

scalp42 commented 8 years ago

@gschueler confirming also that I configured the resource correctly:

gschueler commented 8 years ago

what ec2 realm are you using? you might need to set the endpoint

scalp42 commented 8 years ago

Good catch, using us-west-2, let me try that.

scalp42 commented 8 years ago

That was totally the endpoint, thanks @gschueler! Closing.