Cloud Computing
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 moreContributing 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 moreTracking 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 moreInstalling 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 moreThe 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 moreLearning 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 moreDisabling 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 moreUnderstanding 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 moreRunning 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 moreInconsistent messaging for OpenStackClient
As I mentioned earlier in Moving to OpenStackClient CLI I came across several differences in reconciling the legacy CLI tools. I have also come across very inconsistent messaging. Here is a simple example.
Read moreMoving to OpenStackClient CLI
In working with the keynote CLI within the TripleO scripts I came across the following deprecation warning message. $ keystone token-get /usr/local/lib/python2.7/dist-packages/keystoneclient/shell.py:65: DeprecationWarning: The keystone CLI is deprecated in favor of python-openstackclient.
Read moreAWS cost saving tips – EBS Volumes
A trivial cost saving tip for checking if you are spending money in your AWS environment on unused resources. This is especially appropriate when using provisioned IOPS EBS volumes. $ ec2-describe-volumes | grep available VOLUME vol-44dff904 8 snap-d86d0884 us-east-1b available 2014-08-01T14:11:24+0000 standard VOLUME vol-62dff922 100 us-east-1b available 2014-08-01T14:11:24+0000 io1 1000 VOLUME vol-15dff955 8 snap-d86d0884 us-east-1b available 2014-08-01T14:11:24+0000 standard VOLUME vol-80a88ec0 8 snap-d86d0884 us-east-1b available 2014-08-01T15:12:54+0000 standard VOLUME vol-ca82a48a 100 us-east-1b available 2014-08-01T16:13:49+0000 standard VOLUME vol-5d79581d 8 snap-d86d0884 us-east-1b available 2014-08-01T18:27:01+0000 standard VOLUME vol-baf9dbfa 8 snap-d86d0884 us-east-1b available 2014-08-03T18:20:59+0000 standard VOLUME vol-53ffdd13 8 snap-d86d0884 us-east-1b available 2014-08-03T18:25:52+0000 standard VOLUME vol-ade7daed 8 snap-d86d0884 us-east-1b available 2014-08-13T20:10:46+0000 standard VOLUME vol-34e2df74 8 snap-065a2e52 us-east-1b available 2014-08-13T20:26:17+0000 standard VOLUME vol-cacef38a 100 snap-280ffb7f us-east-1b available 2014-08-13T21:19:18+0000 standard VOLUME vol-41350a01 8 snap-f23ccba5 us-east-1b available 2014-08-14T16:54:27+0000 standard VOLUME vol-51350a11 100 snap-fc3ccbab us-east-1b available 2014-08-14T16:54:27+0000 standard VOLUME vol-912f10d1 8 snap-96ee24c1 us-east-1b available 2014-08-14T17:15:06+0000 standard VOLUME vol-a82f10e8 100 snap-9dee24ca us-east-1b available 2014-08-14T17:15:06+0000 standard These are available and unused EBS volumes which you should consider deleting.
Read moreImproving performance – A full stack problem
Improving the performance of a web system involves knowledge of how the entire technology stack operates and interacts. There are many simple and common tips that can provide immediate improvements for a website.
Read moreWriting re-runable shell script
I recently started playing with [devstack][1] again (An all-in-on OpenStack developer setup). Last time was over 3 years ago because I remember a [pull request for a missing dependency][2] at the time.
Read more