Blog

Writing and testing unit tests in OpenStack

The following outlines an approach of identifying and improving unit tests in an OpenStack project. Obtain the source code You can obtain a copy of current source code for an OpenStack project at http://git.

Read more

Contributing to OpenStack

Following my first OpenStack Summit in Vancouver 4/2015 it was time to become involved with contributing to OpenStack. I have lurked around the mailing lists and several IRC channels for a few weeks and familiarized myself with OpenStack in varying forms including devstack , the free hosted Mirantis Express and the VM version, Ubuntu OpenStack , and even building my own 3 physical server cloud from second hand hardware purchased on eBay.

Read more

Tracking the Ubuntu OpenStack installation process

Following on from Installing Ubuntu OpenStack the following steps help you navigate around the single server installation, monitoring and debugging the installation process. Configuration The initial execution of the installer will create a default config.

Read more

Installing Ubuntu OpenStack

The The Canonical Distribution of Ubuntu OpenStack provides a simple installer to run an OpenStack cloud. You can deploy a simple single machine setup with fully containerized services (11 in total), or a multi server installation leveraging MAAS – Metal as a Service and Landscape Autopilot.

Read more

Understanding OpenStack developer dependencies

While reviewing the OpenStack keystone codebase on an existing VM used with devstack I came across a dependency problem with Python pbr . Python Build Reasonableness (pbr) is actually a result of work on OpenStack.

Read more

The benefit of attending the OpenStack Summit

I attended my first OpenStack Summit in Vancouver 4/2015 . While I have used various cloud computing technologies for eight years and presented cloud content at events such as Cloud Expo, this was my first involvement with OpenStack.

Read more

My thoughts on Architecture and Software Development with MySQL

Yesterday I was able to present to the Portland MySQL Users Group two presentations that are important foundations for effective development with MySQL. Download Architecture Presentation Download Development Presentation With 26 years of architectural experience in RDBMS and 16 years of MySQL knowledge, my extensive exposure to large and small companies from consulting has lead to these presentations containing common obstacles I have seen an help organization with.

Read more

Learning the OpenStackClient (OSC)

As a way to navigate the extent of the CLI options for nova, keystone, glance and also openstack commands I came up with an educational approach. While still early development the goal is to provide a Beginner/Intermediate/Expert views exposing various commands and options to help the user learn in a controlled way.

Read more

Python 3 semantics for integer division

As I refresh my skills in Python 2 to Python 3 semantics I discovered there is a difference in the division operator (i.e. /). When using integers in Python 2 the result (by default) is an integer.

Read more

Disabling the temporary authorization token in devstack keystone

While building my own OpenStack cloud on physical servers I realized that Keystone uses a temporary authorization token in the Create the service entity and API endpoint and Create projects, users, and roles steps.

Read more

Understanding the different Openstack tox configs

Openstack projects use tox to manage virtual environments and run unit tests which I talked about here . In this example I am using the oslo.config repo to look at the various tox configs in openstack use.

Read more

Installing Python 3.3 on Ubuntu 14.04.2 LTS

Ubuntu 14.04 by default uses Python 2.7 and 3.4. If you want to install Python 3.3, in my case because various Openstack projects that maintain 3.3 compatibility. I had a hard time finding what I would consider an official means.

Read more

Configuring git-review on Mac OS X

If you are using git-review for the first time the following instructions correctly install and configure for Mac OS X. Software sudo easy_install pip sudo pip install -U setuptools sudo pip install git-review Configuration

Read more

Running openstack tests with tox

Recently the OSC (python-openstackclient ) project removed run_tests.sh #177066 and tools/install_venv.py scripts #177086 . As I was very new to OpenStack development practices this threw me because of reading several OpenStack documentation pages including Getting the code that specifically mentions in Hacking on your laptop and running unit tests an example Setting Up a Developer Environment , and consulting with a friend that is a ATC this is the way I learned to setup virtual environments and running tests .

Read more