Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Prevent job names containing slashes (/)

#558
  • Issue Type: Bug
  • Rundeck version: 1.4.1

Issue:

Cannot create jobs with Job References containing forward slashes (/). The jobs containing slashes can be run directly from the web interface.


Reproduce: (Enter steps to reproduce bug here.)

1) Create a job named "Package /mnt/multimedia/binary to /mnt/imports in EC Prod"
2) Create a different job named "* Transfer MySQL and Media files from EC Production to Stage" and add job 1) as a Job Reference
3) Try to execute job 1) and verify it can be run directly from the web inteface
4) Execute job 2) from Web interface gives the following output:

No Unique Job found for name: imports in EC Prod, group: Package /mnt/multimedia/binary to /mnt, project: SVT_Escenic_interim
02:59:22 finishInterpretCommand(localhost): rundeck-jobref: null SEVERE 02:59:22 Failed dispatching to node localhost: Job ref [Package /mnt/multimedia/binary to /mnt/imports in EC Prod] invalid: No Unique Job found for name: imports in EC Prod, group: Package /mnt/multimedia/binary to /mnt, project: SVT_Escenic_interim
02:59:22 [workflow] Finish step: 1,rundeck-jobref 02:59:22 [workflow] Finish execution: rundeck-workflow-node-first: [Workflow , failures: {localhost=[Failed dispatching to node localhost: Job ref [Package /mnt/multimedia/binary to /mnt/imports in EC Prod] invalid: No Unique Job found for name: imports in EC Prod, group: Package /mnt/multimedia/binary to /mnt, project: SVT_Escenic_interim, Step 1 of the workflow threw an exception: Failed dispatching to node localhost: Job ref [Package /mnt/multimedia/binary to /mnt/imports in EC Prod] invalid: No Unique Job found for name: imports in EC Prod, group: Package /mnt/multimedia/binary to /mnt, project: SVT_Escenic_interim]}] SEVERE 02:59:22 [Workflow , failures: {localhost=[Failed dispatching to node localhost: Job ref [Package /mnt/multimedia/binary to /mnt/imports in EC Prod] invalid: No Unique Job found for name: imports in EC Prod, group: Package /mnt/multimedia/binary to /mnt, project: SVT_Escenic_interim, Step 1 of the workflow threw an exception: Failed dispatching to node localhost: Job ref [Package /mnt/multimedia/binary to /mnt/imports in EC Prod] invalid: No Unique Job found for name: imports in EC Prod, group: Package /mnt/multimedia/binary to /mnt, project: SVT_Escenic_interim]}]

Reported by Tom Molin · April 17th, 2012 @ 07:31 AM

State: resolved
Milestone: Rundeck 1.4.3
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler
    • Tag set to bug, jobs, validation

    slashes are not allowed in job names

    The job creation should prevent creating jobs with slashes in the name.

    April 17th, 2012 @ 12:01 PM

  2. Greg Schueler
    Greg Schueler
    • Assigned user cleared.
    • Milestone set to Rundeck 1.4.3
    • Milestone order changed from 126 to 0

    April 26th, 2012 @ 04:48 PM

  3. Greg Schueler
    Greg Schueler
    • Title changed from Cannot create jobs with Job References containing forward slashes (/) to Prevent job names containing slashes (/)
    • Assigned user set to Greg Schueler

    May 1st, 2012 @ 04:06 PM

  4. Greg Schueler
    Greg Schueler
    • State changed from new to open

    Updated issue title.

    Job creation/update should apply a constraint so that the job name doesn't contain slash characters, since it is reserved as the group path separator.

    May 1st, 2012 @ 04:07 PM

  5. Greg Schueler
    Greg Schueler
    • State changed from open to needs_verification

    May 1st, 2012 @ 04:08 PM

  6. Greg Schueler
  7. Greg Schueler
    Greg Schueler
    • State changed from needs_verification to resolved

    May 16th, 2012 @ 06:35 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.