Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SingleHostExclusive does not work #3108

Open
MarioQuillas opened this issue Jan 26, 2018 · 1 comment
Open

SingleHostExclusive does not work #3108

MarioQuillas opened this issue Jan 26, 2018 · 1 comment

Comments

@MarioQuillas
Copy link

When trying to execute a task in SingleHostExclusive mode (example workflow attached), the task remains pending forever.

<?xml version="1.0" encoding="UTF-8"?>
<job
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xmlns="urn:proactive:jobdescriptor:3.9"
     xsi:schemaLocation="urn:proactive:jobdescriptor:3.9 http://www.activeeon.com/public_content/schemas/proactive/jobdescriptor/3.9/schedulerjob.xsd"
    name="SingleHostExclusive" 
    priority="normal"
    onTaskError="continueJobExecution"
     maxNumberOfExecution="2"
>
  <taskFlow>
    <task name="Groovy_Task">
      <description>
        <![CDATA[ The simplest task, ran by a groovy engine. ]]>
      </description>
      <parallel numberOfNodes="1">
        <topology>
          <singleHostExclusive/>
        </topology>
      </parallel>
      <scriptExecutable>
        <script>
          <code language="groovy">
            <![CDATA[
println "uname -a".execute().text
]]>
          </code>
        </script>
      </scriptExecutable>
    </task>
  </taskFlow>
</job>
@tobwiens
Copy link
Contributor

Hello Mario,

did you remove your job from try.activeeon.com? I cannot see any pending job with that name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants