Re: [ceph-commit] teuthology value error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[Moving to ceph-devel list, which is a better fit than ceph-commit.]

On Tue, Oct 2, 2012 at 3:33 AM, Lokesh Krishnappa
<lokesh.professional.it@xxxxxxxxx> wrote:
> Hi all,
> Am new to ceph test suite. trying to execute test command in single machine
> , test bed setup as follows:
> teuthology: 0.0.1
> os: ubuntu12.04LTS
> config file format: (rbd_cls_tests1.yaml)
>
> roles:
>
> [mon.a,osd.0,osd.1]
>
> targets:
> lokesh@lokesh: ssh-rsa
> AAAAB3NzaC1yc2EAAAADAQABAAABAQDmSb/VpYpdSQLp4unsKUNV/DKV2f55M1QSXHu10Qvco33rYopOF/l5+eYlINCHF1v/SA+bLOMT/4OHGkZR67TajAoXFpyolVSxZKRoJHLV2iJ+MrRiaxShctMYWpLOjc4iRA4BG3FTG5TTPKJweDj8dDdUIqZ9PuSpP5VuOriCpQkPWECL2hJqAYwnknK1Uhg3rYV0XxL14Iep9KCZf2PcJNw3Eur6XKDAczu/sAUlOiLrBsQpFmOaPY5jFDaM3U7KpJvqiI4Drq331iMh9n3GuA+JvcTMKuT7CN36GswlvGuakTzaDoR66JaYYKkGzDl977K94XrAdQwa2NKLu1XH
>
> tasks:
>
> ceph:
> ceph-fuse:
> workunit: clients: client.0: - rbd/test_cls_rbd.sh -interactive-on-error:
> true
>
> While executing the above config file, using:
> lokesh@lokesh:~/Downloads/ceph-teuthology-78b7b02$
> ./virtualenv/bin/teuthology rbd_cls_tests1.yaml
>
> had getting error msg as:
>
>
> Traceback (most recent call last):
> File "./virtualenv/bin/teuthology", line 9, in
> load_entry_point('teuthology==0.0.1', 'console_scripts', 'teuthology')()
> File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/teuthology/run.py",
> line 97, in main
> read_config(ctx)
> File "/home/lokesh/Downloads/ceph-teuthology-78b7b02/teuthology/misc.py",
> line 501, in read_config
> ctx.teuthology_config.update(new)
> ValueError: dictionary update sequence element #0 has length 1; 2 is
> required
>
> I dint get clear picture abt the error . so could any one help me out .

I haven't looked at teuthology much in a while, but the error is
complaining that you have a list of length 1 that requires length 2.
I'm pretty sure your problem is that you only have one machine
available, but the default Ceph task wants 2.

Rather more importantly than that, teuthology is a piece of our
internal infrastructure. We make it available to others, but if you
plan to use it in your own testing you will need infrastructure of
your own to run it on — we have a generic server farm, but also
"special" machines like a lock server, in addition to the client
actually running the test. You should not play with it casually.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux