Sunday, 25 January 2015

Obdi 0.1.3 released

Obdi 0.1.3 is available today from the GitHub Releases page.

  • When plugin is deleted also delete from files table
  • Show status (green tick, red exclamation etc.) in the job viewer table
  • Show the command that was run in Job Viewer detail page
  • Reduced salt timeout to 10 seconds for Configure Server -> List Servers
  • Fixed connection reset error for Configure Server plugin when showing the table, after clicking the Review button.
Centos 6 RPMs are available with this release.

Documentation is slated for the 0.1.4 release.

Obdi job viewer enhancement

I added status icons to the Salt Job Viewer today to make it easy to see when jobs have failed. The status is only checked for highstate jobs though.

To achieve this I added a new REST endpoint to obdi in a Go plugin to show and receive job status information. The Web GUI reads all job status items, and a shell script sets them when it notices a new job has come in (using inotify on the Salt job queue). The shell script runs forever and I'm running it from cron.

I've only just finished it so it remains to be seen how well it works.

Monday, 19 January 2015

Obdi in Pictures

I've started a new Open Source project called Obdi. It's a remote script runner useful for lots of things but right now it has a few plugins to help with managing servers using Salt Stack. The following screen shots give a very quick overview of where I've got to with the Salt Stack plugins...

View and configure your servers
Log in, choose the environment, then list the servers.


Choose a git version to use by clicking the plus sign on the previous screen.
This is for controlling upgrades.

Bootstrap responsive design. Use it on your phone.
The next screen shots show a server that is down, changing the git version for a server, and modifying the state files assigned to a server. Grains can also be viewed but this is not shown.


View Salt Jobs.

Assign a default set of state files using server globs.

Manage Keys.

Bring in the latest Git HEAD.