Nodes are not in RunDeck

724 views
Skip to first unread message

rahulkuma...@motorolasolutions.com

unread,
Jul 2, 2018, 12:45:34 PM7/2/18
to rundeck-discuss
Hello Experts:

I'm new to RunDeck and trying to execute a simple job as a part of learning but seeing following errors

10:35:01localhostcom.dtolabs.rundeck.core.NodesetEmptyException: No matched nodes: MultiNodeSelector{nodenames=[localhost]}10:35:01 at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowExecutor.validateNodeSet(NodeFirstWorkflowExecutor.java:421)10:35:01 at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowExecutor.executeWorkflowImpl(NodeFirstWorkflowExecutor.java:90)10:35:01 at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.executeWorkflow(BaseWorkflowExecutor.java:226)10:35:01 at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.runWorkflow(WorkflowExecutionServiceThread.java:83)10:35:01 at com.dtolabs.rundeck.core.logging.LoggingManagerImpl$MyPluginLoggingManager.runWith(LoggingManagerImpl.java:148)10:35:01 at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.run(WorkflowExecutionServiceThread.java:74)10:35:01Exception: class com.dtolabs.rundeck.core.NodesetEmptyException: No matched nodes: MultiNodeSelector{nodenames=[localhost]}10:35:01No matched nodes: MultiNodeSelector{nodenames=[localhost]}

While checking Nodes, I didn't see any node under Project -> Nodes (see attached), Is there a way i have to add nodes before executing.

I'm running this on Amzon linux machine and version is CLUSTER 2.4.1 (2.11.4-1) 

Capture.JPG

rahulkuma...@motorolasolutions.com

unread,
Jul 3, 2018, 9:14:18 AM7/3/18
to rundeck-discuss
Hello Alex,

Can you please help me to fix this one.

edu...@rundeck.com

unread,
Jul 3, 2018, 9:49:30 AM7/3/18
to rundeck-discuss
Hi Rahul,

It may be possible that you may be facing the behavior described on this bug, triggered if "rundeck.projectsStorageType=db" is set in version Rundeck 2.11.0 upwards, as the Project Storage type is DB by default. A workaround for that is to make sure you add your Node Sources when you create the project via the GUI, or, alternatively adding them to your project's configuration. after you add them, you can check your added nodes under Project -> Nodes tab.

Hope it helps!

Eduardo Carrasco.

jo...@rundeck.com

unread,
Jul 3, 2018, 11:13:07 AM7/3/18
to rundeck-discuss
In the attached graphic, you seem to be running a Pro version of Rundeck.  That's excellent! :) 

With Pro, you get premium support. Have you also raised this issue with the Rundeck Pro Support team? If not, that's highly suggested.

On Monday, July 2, 2018 at 11:45:34 AM UTC-5, rahulkuma...@motorolasolutions.com wrote:

rahulkuma...@motorolasolutions.com

unread,
Jul 3, 2018, 11:51:25 AM7/3/18
to rundeck-discuss
Thanks for suggestion Jorn!

I have logged a ticket with them.

Rahul Saxena

unread,
Jul 3, 2018, 1:00:16 PM7/3/18
to rundeck...@googlegroups.com
Hi Rahul,

You can specify the node in resources.xml. It doesn't require service restart. After adding the node, save the file and then in your job you will see that node.

Thanks,
Rahul

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To post to this group, send email to rundeck...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/8dc53a67-dbd4-4644-835d-a60035029495%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rahulkumar Sahotay (TCSL)

unread,
Jul 3, 2018, 1:02:38 PM7/3/18
to rundeck...@googlegroups.com
Hello Rahul:

Thanks for pointing it here but I would like to run my job on localhost.

is there any "echo hello world" configuration I can get and use it.

Thanks & Regards

Rahul Sahotay
Rahulkuma...@motorolasolutions.com


On Tue, Jul 3, 2018 at 12:00 PM, Rahul Saxena <rahulsa...@gmail.com> wrote:
Hi Rahul,

You can specify the node in resources.xml. It doesn't require service restart. After adding the node, save the file and then in your job you will see that node.

Thanks,
Rahul

On Tue, 3 Jul 2018, 9:21 pm , <rahulkumar.sahotay@motorolasolutions.com> wrote:
Thanks for suggestion Jorn!

I have logged a ticket with them.

On Tuesday, July 3, 2018 at 10:13:07 AM UTC-5, jo...@rundeck.com wrote:
In the attached graphic, you seem to be running a Pro version of Rundeck.  That's excellent! :) 

With Pro, you get premium support. Have you also raised this issue with the Rundeck Pro Support team? If not, that's highly suggested.

On Monday, July 2, 2018 at 11:45:34 AM UTC-5, rahulkuma...@motorolasolutions.com wrote:
Hello Experts:

I'm new to RunDeck and trying to execute a simple job as a part of learning but seeing following errors

10:35:01localhostcom.dtolabs.rundeck.core.NodesetEmptyException: No matched nodes: MultiNodeSelector{nodenames=[localhost]}10:35:01 at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowExecutor.validateNodeSet(NodeFirstWorkflowExecutor.java:421)10:35:01 at com.dtolabs.rundeck.core.execution.workflow.NodeFirstWorkflowExecutor.executeWorkflowImpl(NodeFirstWorkflowExecutor.java:90)10:35:01 at com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.executeWorkflow(BaseWorkflowExecutor.java:226)10:35:01 at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.runWorkflow(WorkflowExecutionServiceThread.java:83)10:35:01 at com.dtolabs.rundeck.core.logging.LoggingManagerImpl$MyPluginLoggingManager.runWith(LoggingManagerImpl.java:148)10:35:01 at com.dtolabs.rundeck.core.execution.WorkflowExecutionServiceThread.run(WorkflowExecutionServiceThread.java:74)10:35:01Exception: class com.dtolabs.rundeck.core.NodesetEmptyException: No matched nodes: MultiNodeSelector{nodenames=[localhost]}10:35:01No matched nodes: MultiNodeSelector{nodenames=[localhost]}

While checking Nodes, I didn't see any node under Project -> Nodes (see attached), Is there a way i have to add nodes before executing.

I'm running this on Amzon linux machine and version is CLUSTER 2.4.1 (2.11.4-1) 

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to rundeck-discuss@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to rundeck-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/CAFX4brD4C1XiNecFYs59cpQo4Vh-aZbfz2AJNTWs1pDpq%3DGrHg%40mail.gmail.com.

Alex Honor

unread,
Jul 3, 2018, 1:07:54 PM7/3/18
to rundeck-discuss
Hi Rahul,

I think the project needs a model source for at least the Rundeck server node. Go to the Project Settings -> Edit Nodes -> Configure Nodes -> Add Source. 
Then add a File source:

Format: YAML
File path: <path to your $RDECK_BASE/projects/${project.name}/etc/resources.yaml
[X] Generate
[X] Include Server Node
[X] Require File Exists 
[X] Writeable

Save the source and the node config.
 

Rahul Saxena

unread,
Jul 3, 2018, 1:14:50 PM7/3/18
to rundeck...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "rundeck-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rundeck-discu...@googlegroups.com.
To post to this group, send email to rundeck...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rundeck-discuss/4bcac0f6-93f7-4926-8ec1-5010da111d86%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages