Skip to contentSkip to conversation

About teuthology

DISCUSSION Mehdi Abaakouk 4 participants 5 messages Jul 31, 2012

lore
Share & tools
lore
#0 lore raw

Hi,

I have taken a look into teuthology, the automation of all this tests are good, but are they any way to run it into a already installed ceph clusters ?

Thanks in advance.

Cheers,

Signature · 3 lines
Mehdi Abaakouk for eNovance
mail: [email protected]
irc: sileht
#1 lore raw
Quoted 10 lines · Mehdi Abaakouk

Hi,

I have taken a look into teuthology, the automation of all this tests are good, but are they any way to run it into a already installed ceph clusters ?

Thanks in advance.

Cheers,

Hi Mehdi,

I think a number of the test related tasks should run fine without strictly requiring the ceph task. You may have to change binary locations for things like rados, but those should be pretty minor.

Best way to find out is to give it a try!

Mark

#2 lore raw
Quoted 8 lines · Mark Nelson

On 7/31/12 8:59 AM, Mehdi Abaakouk wrote:
Hi Mehdi,

I think a number of the test related tasks should run fine without strictly requiring the ceph task. You may have to change binary locations for things like rados, but those should be pretty minor.

Best way to find out is to give it a try!

Thanks for your quick answer :)

I have already tried, but the code massively refers to files in /tmp/cephtest/, it seems to me that changing the path of the binaries isn't enough, some of them are built by the ceph task.

Perhaps a quicker (a bit dirty) way is to create a new task 'cephdist', that prepares the required files in /tmp/cephtest.
ie:
- link dist binary to /tmp/cephtest/binary/usr/local/bin/...
- link /etc/ceph/ceph.conf to /tmp/cephtest/ceph.conf
- ship cephtest tool in /tmp/cephtest (like ceph task)
- make dummy script for coverage (because distributed ceph doesn't seem to have ceph-coverage)

What do you think about it ?

Cheers

Signature · 3 lines
Mehdi Abaakouk for eNovance
mail: [email protected]
irc: sileht
#4 lore raw
In reply to Mehdi Abaakouk
Quoted 7 lines · Mehdi Abaakouk

Hi,

I have taken a look into teuthology, the automation of all this tests are good, but are they any way to run it into a already installed ceph clusters ?

Thanks in advance.

Many of the actual tests being run are already independent functionality or stress tests or benchmarks; for example, ffsb will run against any filesystem.

The things that are specifically written for teuthology are currently quite tied in details.

There is a longer-term plan to rework teuthology into using package-based installation, and at that time I hope we will be able to modularize the tests out of the teuthology core, and to make them easier to run from just the command line.

This work depends on a bunch of internal changes to our testing lab infrastructure -- package-based testing is not feasible until we have lab machine reinstallation 100% automated, and currently it still tends to need too much manual care.

#3 lore raw
In reply to Mehdi Abaakouk
Quoted 25 lines · Mehdi Abaakouk
Quoted 8 lines · Mark Nelson

On 7/31/12 8:59 AM, Mehdi Abaakouk wrote:
Hi Mehdi,

I think a number of the test related tasks should run fine without strictly requiring the ceph task. You may have to change binary locations for things like rados, but those should be pretty minor.

Best way to find out is to give it a try!

Thanks for your quick answer :)

I have already tried, but the code massively refers to files in /tmp/cephtest/, it seems to me that changing the path of the binaries isn't enough, some of them are built by the ceph task.

Perhaps a quicker (a bit dirty) way is to create a new task 'cephdist', that prepares the required files in /tmp/cephtest.
ie:
- link dist binary to /tmp/cephtest/binary/usr/local/bin/...
- link /etc/ceph/ceph.conf to /tmp/cephtest/ceph.conf
- ship cephtest tool in /tmp/cephtest (like ceph task)
- make dummy script for coverage (because distributed ceph doesn't seem to have ceph-coverage)

Quoted 1 line

What do you think about it ?

That's probably the easiest way to get it working right now, if you want to use the teuthology-specific tests. As Tommi mentioned, the /tmp/cephtest stuff will go away in the long term.

There may be a few more things needed to run some of the tests (e.g. the binaries built when configured --with-debug like test_librbd, test_rados_api_io, etc.).

Josh