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.

dispatcher needs option to queue job but also observe log

#297

Right now there are two options when running commands and jobs with dispatch and/or run:

1) Queue the job. Spits back a URL where you can observe the output of the job.
2) Don't queue. Output comes back to the terminal.

We need an option where it's queued, but the output also comes back to the terminal (as if you went to the URL and followed the output). This is important because we want to allow users not to use the GUI but also use the logging capabilities of the rundeck server.

I would go as far as to say this should be the default behavior, although I am not adamant on that point.

Reported by Moses Lei · May 19th, 2011 @ 02:02 PM

State: new
Milestone: none
Assigned to: Greg Schueler Greg Schueler

Activity

  1. Greg Schueler
    Greg Schueler

    this could perhaps be done by having the client side also tail (and parse) the log file that is produced by the server

    May 19th, 2011 @ 04:57 PM

  2. Deleted User
    Deleted User

    But that would assume bi-directional communication on the remote machine?

    May 20th, 2011 @ 02:43 PM

  3. Greg Schueler
    Greg Schueler

    if you use CLI tool or web API to run jobs/adhoc commands from a different
    client, then it would require some new api ability to tail log output
    remotely...

    May 20th, 2011 @ 02:48 PM

  4. Greg Schueler
    Greg Schueler

    the new api ability would use the same underlying code. the ajax/json used
    by the gui is not documented as an api.

    the gui polls for new data. That is the simplest way to do this for the api.

    if you want more realtime output, this requires the server to keep
    connection open and the thread running

    May 20th, 2011 @ 03:11 PM

  5. Deleted User
    Deleted User

    At some point yeah. Given the request/response nature of the webui, you'd have to have a way of changing to some stream mechanism, i.e. websockets. All in due time :)

    May 20th, 2011 @ 03:19 PM

  6. Greg Schueler
    Greg Schueler
    • Assigned user set to Greg Schueler

    see #368

    June 22nd, 2012 @ 10:38 AM

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.