Installing Rundeck on Ubuntu 14.04 (Trusty) in Five Minutes

Rundeck is open source software that helps you automate routine operational procedures in data center or cloud environments. There are a lot of features that Rundeck offers, one of the ones I use is the ability to create jobs and workflows that allow me to execute commands on remote machines, capture the results, (success or failure) and then process that result and either continue on with the workflow or terminate it. I can have the system notify me via email or webhooks as well as many other options through the plugin system for notifications. In a nutshell, Rundeck is a feature rich tool to schedule and run your tasks on one or thousands of systems.

Continue reading

Posted in Open Source, Ubuntu | Leave a comment

Review: jQuery 2.0 Development Cookbook

There are many JavaScript libraries out there but jQuery is still one the most commonly used and probably one of the most popular JavaScript libraries in use today. Today I’m going to review the “jQuery 2.0 Development Cookbook” by Leon Revill and published by Packtpub.

Continue reading

Posted in JavaScript, Open Source, Reviews | 30 Comments

Tutorial: Learning Salt with Vagrant (Ubuntu 14.04) – Part 1

Where I work we use Salt to do large scale Cloud deployments to support a massive Object Store. Obviously, such installs on this scale need to be done with automation tools. In this case our team is using Salt. Today I want to go over how you can setup a Salt installation on your computer using Vagrant so you can experiment with Salt further and learn how it works, etc.

Salt is a fast, scalable and flexible systems management software for data center automation, cloud orchestration, server provisioning, configuration management and more. Salt is written in Python.

Continue reading

Posted in Open Source, Python, Salt, Ubuntu | Leave a comment

Tutorial: ZeroMQ Publish/Subscribe Pattern with Python 2.7.x or Python 3.4.x

What is ZeroMQ? According to Wikipedia: “ZeroMQ is a high-performance asynchronous messaging library aimed at use in scalable distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a ├śMQ system can run without a dedicated message broker. The library is designed to have a familiar socket-style API.

ZeroMQ has several patterns you can use in your projects. Today, I’m going to go over the publish/subscribe pattern. This is a pattern you could use in many situations that warrant one or more publishers sending messages to one or more subscribers. You can even filter on the message type as you’ll see in one of the examples with this article.

Continue reading

Posted in Open Source, Python | 3 Comments

Troubleshooting a problem with DevStack using source code from an OpenStack (Git) Review

I recently had to troubleshoot a problem that was causing a DevStack VM (dsvm) check/gate to fail on the OpenStack incubator project Barbican. The proposed code change needed to be installed and run on a clean DevStack VM. This is one way to troubleshoot such things.

Continue reading

Posted in Open Source, OpenStack | Leave a comment

Barbican has officially been incubated in OpenStack – How to get started using it

Today Barbican was officially incubated into OpenStack. What is Barbican? Barbican is a REST API designed for the secure storage, provisioning and management of secrets, including in OpenStack environments. If you would like to kick the tires and try out Barbican you can follow the instructions on our wiki.

Continue reading

Posted in Open Source, OpenStack | Leave a comment

An Introduction to OpenStack TaskFlow with Python

OpenStack TaskFlow is a library to complete workflows/tasks in a highly available manner. The TaskFlow wiki is located here and contains a pretty good overview. In the simplest terms: Taskflow is used to organize actions into lightweight task objects which are then linked together as an ordered sequence by a flow. This will be a quick overview summarizing the information already out there and doing a few examples to get the basics down.

Continue reading

Posted in Open Source, OpenStack, Python | Leave a comment

Three ways to get a Scoped Token from OpenStack Keystone

Let’s take a look at three (very basic) ways to get a scoped token from Keystone (the OpenStack Identity Project). Keep in mind that these are just a few ways you can go about this. Before trying this out make sure you have a Keystone endpoint to test against and if you don’t you can follow my tutorial on how to get Keystone (Havanna) up and running on Ubuntu.

Continue reading

Posted in Open Source, OpenStack, Python, REST | Leave a comment

Learning Python WSGI and Building Simple Middleware

WSGI stands for Web Services Gateway. You can read the original PEP 333 as well as the updated PEP 3333 which includes community errata, addenda, and clarifications, as well as better Python 3 support. Today, I’m going to show you how to create and run some simple WSGI examples as well as some basic middleware.

Continue reading

Posted in Open Source, Python | Leave a comment

Trying out OpenStack with DevStack

DevStack offers shell scripts to build OpenStack development environments. Getting up and running with DevStack is reasonably easy, however, there are a couple things to know if you are new to it. I’m going to cover the basics on how to get an OpenStack environment up and running using DevStack on a Cloud VM.

Continue reading

Posted in Open Source, OpenStack | Leave a comment