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

Allow agent to run any kind of command #166

Closed
ypujante opened this Issue Sep 15, 2012 · 4 comments

Comments

Projects
None yet
3 participants
@ypujante
Member

ypujante commented Sep 15, 2012

The agent has some commands built in, like "ps" and "kill". It would be great to allow the agent to run any arbitrary command.

Essentially what you can do through ssh but using the agent rest api

@Spedge

This comment has been minimized.

Contributor

Spedge commented Sep 24, 2012

Agreed, something like this would mean glu has a real lead over something like RunDeck.

@lukestephenson

This comment has been minimized.

lukestephenson commented Oct 1, 2012

Currently evaluating glu vs puppet / mcollective. This would be a useful feature for glu to have. Mcollective has good support for this, but there are other areas I prefer glu.

@ypujante

This comment has been minimized.

Member

ypujante commented Oct 1, 2012

This is the task I am currently working on... Stay tuned!

ypujante added a commit that referenced this issue Nov 18, 2012

#166: first pass: added multiplexed streaming
- idea is that remote command execution will be able to get stdout, stderr and exitValue in a single stream

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

#166: fixed broken tests
- added stdoutStream and stderrStream back
- got rid of unused classes

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

#166: return a unique id with the execution
- use a header in the rest call

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

#166: change api on agent side
store command result on the agent side and allow to stream it while command is running

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

#166: make "commands" an optional feature in UI
- do not show at all any links related to feature
- throw exception if try to use it anyway

ypujante added a commit that referenced this issue Nov 18, 2012

#166: make "commands" an optional feature in agent
use: glu.agent.features.commands.enabled=false to disable

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

#166: refactoring
- moved code in the StreamStorage hierarchy

ypujante added a commit that referenced this issue Nov 18, 2012

#166: added testing for memory storage
- need to keep commands as they are executing!

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

ypujante added a commit that referenced this issue Nov 18, 2012

@ypujante

This comment has been minimized.

Member

ypujante commented Nov 18, 2012

Implemented in 4.6.0

@ypujante ypujante closed this Nov 18, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment