Project

General

Profile

Feature #15578

teuthology: Openstack test task.

Added by Anonymous almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

A task is needed to exercise ceph interactions with OpenStack

My guess is that we can bring up a ceph cluster and run OpenStack on a client node. I have written scripts to do this on downstream rhel, and I am currently testing this on an upstream Centos 7.2 cluster. Essentially, these scripts do the following:

1. Install and run packstack and bring up OpenStack.
2. Create appropriate rbd pools on the Ceph cluster.
3. Modify the OpenStack configurations to use these pools.
4. Create a machine image and bring it up on a compute note.

After that, we still need to install and run tempest nosetests (currently being worked on), and figure out if we need to write other tempest tests as well.

The scripts (run mostly downstream) are on github: https://github.com/wusui/openstack

For the upstream tests so far, I have manually installed packstack rather than use this rhel
specific packstack.sh script.

So the issues that I see for the OpenStack task are:
- We need to implement packstack installation methods for Ubuntu, Centos, and RHEL
- We need to automatically generate the appropriate ceph pools for Glance, Cinder, Nova and
Cinder-backup
- We need to implement the updating of the OpenStack configuration to connect to the the
Ceph cluster. The scripts modify fixed templates right now -- we should probably
actually edit the existing conf files so that OpenStack changes will not affect us.
- We need to figure out if one compute-node is sufficient for our Ceph testing. If it is,
we have to create and attach a compute node
- We need to run the tempest tests.

Most of this code exists in the scripts. It needs to be generalized and teuthologized.

I am also making the assumption that this code will exercise teuthology and the OpenStack configuration itself will be rather minimal (as far as OpenStack is concerned).

Also available in: Atom PDF