Open Marcus-D opened 6 years ago
can you include your mapping definitions, as well as the node definitions that are produced by the plugin?
what rundeck version are you using? are you using the "asynchronous nodes cache" for the project, and what is the asynch seting for the ec2 plugin?
I am using the rundeck version: 2.10.4-1. I am not using asynchronous node caching. Should I?
Mapping properties editUrl.default=https://console.aws.amazon.com/ec2/home#Instances:search=${node.instanceId} hostname.selector=privateIpAddress sshport.default=22 sshport.selector=tags/ssh_config_Port ssh-keypath.default=/home/marcus/.ssh/temp-key.pem;username.default=ubuntu instanceId.selector=instanceId nodename.selector=tags/Name,instanceId osArch.selector=architecture osFamily.default=unix osFamily.selector=platform osName.default=Linux osName.selector=platform privateDnsName.selector=privateDnsName privateIpAddress.selector=privateIpAddress attributepublicIpAddress.selector=publicIpAddress attribute.pulbicDnsName.selector=publicDnsName state.selector=state.name tag.pending.selector=state.name=pending tag.running.selector=state.name=running tag.shutting-down.selector=state.name=shutting-down tag.stopped.selector=state.name=stopped tag.stopping.selector=state.name=stopping tag.terminated.selector=state.name=terminated tags.default=ec2 tags.selector=tags/Rundeck-Tags username.default=ubuntu username.selector=tags/Rundeck-User
Node resources:
resources.source.2.config.endpoint=ec2.us-east-2.amazonaws.com
project.jobs.gui.groupExpandLevel=1
project.ssh-authentication=privateKey
resources.source.1.config.generateFileAutomatically=true
project.ansible-ssh-auth-type=privateKey
resources.source.2.config.accessKey=
I have set the mapping for asynch in the file... I am aware that you can more mapping with the ansible attributes.
Hi Someone, How to configure AWS EC2 instances as nodes in Rundeck ? Could you please help me with the step by steps & share me if any video exact if exists ... Thanks in advance.
I am getting an authentication error. The reason is because the username is still the old username of AWS: ec2-user. I changed it in the dfaultMapping.properties in the Rundeck-ec2-node-plugin directory.
Error Authentication failure connecting to node: "aws-demo". Could not authenticate.Authentication failure connecting to node: "aws-demo". Could not authenticate.
Debugging mode:
Any thoughts or opinions on how to configure this file or searching for a different file will be greatly appreciated.