Introducing OpenStack Packstack

cloud

Installing and deploying OpenStack is a tricky business and its not uncommon for people to get bogged down at the early stages, the task gets even more difficult when you try to do more then an all in one installation.

In order to help people with this task I have been working on a tool that is capable of installing openstack in a distributed environment using some of the most common configurations. Packstack can be used to transform Fedora 17/18, RHEL 6 or CentOS 6 servers into a functional Openstack Folsom deployment. The tool ssh’s onto each server and apply’s puppet manifests to set openstack up. Below I give a brief outline of how todo this on Fedora 17

I’ll be installing openstack on 2 servers
s1 : keystone, glance, nova controller, cinder, swift proxy
s2 : nova compute, swift storage

Continue reading “Introducing OpenStack Packstack”

Please follow and like us:

Listing openstack keystone credentials

cloud

I often find myself trying to figure out what role and tenants certain users have on a keystone server and this for me usually comes down to running combinations of
keystone user-list
keystone tenant-list
keystone user-role-list

As an alternative I’ve put together a small script that list the relationship between users/tenants and roles in a table format

Continue reading “Listing openstack keystone credentials”

Please follow and like us:

rackspace cloud files from the command line

cloud

In my last post I demonstrated how to use the openstack nova client to control rackspace servers from the command line.

It is also possible to control your rackspace cloud files using the openstack swift client, the first thing we need to do is install the package (again these examples are using fedora 17)

> yum install openstack-swift

Next we need to create the file ~/rackspacerc_cloudfiles, this file will be used to setup our environment anytime we want to use swift, it should look something like this

Continue reading “rackspace cloud files from the command line”

Please follow and like us:

rackspace cloud servers from the command line

cloud

With rackspaces providing its compute service based on OpenStack, its possible to control your servers using the openstack nova client and its fairly simple to do.

You start by installing the openstack-novaclient (these examples are done on fedora 17). For now python-setuptools is needed here as a dependency.

> sudo yum install python-setuptools python-novaclient

Create the file ~/rackspacerc, this file will be used to setup our environment anytime we want to use nova, it should look something like this

export OS_USERNAME=username
export OS_PASSWORD=passwd
export OS_AUTH_URL=https://identity.api.rackspacecloud.com/v2.0/
export OS_REGION_NAME=DFW
export OS_TENANT_NAME=1234567
export NOVA_SERVICE_NAME=cloudServersOpenStack

A word about some of these settings and where to get their values

Continue reading “rackspace cloud servers from the command line”

Please follow and like us: