Posted
on February 10, 2013, 9:02 pm,
by Derek Higgins,
under
cloud.
Looking for a Fedora 18 qcow2 image to use on openstack? I’ve put one here. Cloud init is configured to set the ssh public key for the user “fedora” who has full sudo access.
Simply download the file and use glance add
$ glance -d add name="Fedora 18" disk_format=qcow2 container_format=bare is_public=true < f18-x86_64-openstack-sda.qcow2
If you’d prefer to build your own one, I’ve included the kickstart file simply download it and run the commands
$ yum install -y appliance-tools qemu-img # I did this on Fedora 17
$ appliance-creator --name f18-x86_64-openstack --format qcow2 --config=f18-x86_64-openstack.ks
$ qemu-img convert -f qcow2 -c -O qcow2 f18-x86_64-openstack/f18-x86_64-openstack-sda.qcow2 f18-x86_64-openstack-sda.qcow2
The details above are a slightly altered version of a Fedora 17 image provided by Daniel Berrange http://berrange.fedorapeople.org/images/
Posted
on December 18, 2012, 1:05 pm,
by Derek Higgins,
under
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
Read the rest of this entry »
Posted
on August 22, 2012, 9:14 pm,
by Derek Higgins,
under
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
Read the rest of this entry »
Posted
on August 20, 2012, 2:55 pm,
by Derek Higgins,
under
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
Read the rest of this entry »
Posted
on August 17, 2012, 10:02 pm,
by Derek Higgins,
under
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
Read the rest of this entry »