On Mon, 4 Aug 2014, Sarang G wrote: > Hi, > > I am configuring Ceph Cluster using teuthology. I want to use Valgrind. > > My yaml File contains: > > check-locks: false > > roles: > - [mon.0, osd.0] > - [mon.1, osd.1] > - [mon.2, osd.2, client.0] BTW I would use mon.[abc] instead of [012] as the internal ranks will be based on the IP address sorting, not the names you provide here, and it can be confusing when they are both numeric but don't match. > tasks: > - install: > ?? branch: firefly > ?? flavor: notcmalloc > - ceph: > ??? valgrind: > ????? osd.0: --tool=memcheck Does this same job work when you remove the valgrind: option? > ??? log-whitelist: > ??? - slow request > ??? - clocks > ??? - wrongly marked me down > ??? - objects unfound and apparently lost > - interactive: > > I have 3 targets in another yaml file. > Targets are Ubuntu 14.04. > > Snippet of teuthology.log: > > 2014-08-04T01:05:56.727 INFO:teuthology.task.ceph.osd.0:Started > 2014-08-04T01:05:56.728 INFO:teuthology.task.ceph.osd.2:Restarting daemon > 2014-08-04T01:05:56.729 INFO:teuthology.orchestra.run.10:Running: 'ceph-osd > -f -i 2' > 2014-08-04T01:05:56.770 INFO:teuthology.task.ceph.osd.0.10.stderr:Traceback > (most recent call last): > 2014-08-04T01:05:56.772 INFO:teuthology.task.ceph.osd.0.10.stderr:? File > "/usr/bin/daemon-helper", line 53, in <module> > 2014-08-04T01:05:56.772 INFO:teuthology.task.ceph.osd.0.10.stderr:??? > preexec_fn=os.setsid, > 2014-08-04T01:05:56.773 INFO:teuthology.task.ceph.osd.0.10.stderr:? File > "/usr/lib/python2.7/subprocess.py", line 710, in __init__ > 2014-08-04T01:05:56.774 INFO:teuthology.task.ceph.osd.0.10.stderr:??? > errread, errwrite) > 2014-08-04T01:05:56.774 INFO:teuthology.task.ceph.osd.0.10.stderr:? File > "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child > 2014-08-04T01:05:56.775 INFO:teuthology.task.ceph.osd.0.10.stderr:??? raise > child_exception > 2014-08-04T01:05:56.775 INFO:teuthology.task.ceph.osd.0.10.stderr:OSError: > [Errno 2] No such file or directory > 2014-08-04T01:05:57.466 INFO:teuthology.task.ceph.osd.2:Started > 2014-08-04T01:05:57.467 INFO:teuthology.task.ceph:Starting mds daemons... > 2014-08-04T01:05:57.468 INFO:teuthology.orchestra.run.10:Running: > 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage ceph > mds set_max_mds 0' > 2014-08-04T01:05:57.476 INFO:teuthology.task.ceph.osd.2.10.stdout:starting > osd.2 at :/0 osd_data /var/lib/ceph/osd/ceph-2 > /var/lib/ceph/osd/ceph-2/journal > 2014-08-04T01:05:57.483 INFO:teuthology.task.ceph.osd.2.10.stderr:2014-08-04 > 08:05:58.175103 7f11a468c7c0 -1 filestore(/var/lib/ceph/osd/ceph-2) > FileStore::mount: unable to access basedir '/var/lib/ceph/osd/ceph-2': (13) > Permission denied > > * How to use Valgrind in teuthology? > * Are there any configuration steps to be done before running Teuthology? > > ~Pras > > > >