RE: Is that possible to run teuthology on local test servers

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

 



You can accomplish the same thing by adding a section like

targets:
  ubuntu@xxxxxxxxxxxxxxxxxxxxxxxxxxxx: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDlGkqSVZEriH63rFY4R4y6jelC0RGv/A8JtkIGWqRDIjLYsXgB4GoSNsI5H0FGhR+8ZiE2kOimFvpzYXCiFEW9QNWEcdKn75ZsnUnCTJf0fhYUyyD0qaxL00003BhDyPX2pazSPvIB9w+WSATpW3XoL6uos7VIRjGn95VsHOonWjx25rupntyF9ac0VChYCFAO7WVQcxDfQ8MAW3O4YhH+uIuzv62ZahI8l+9A1rKbxcQU5aOaS+lhJArHEGxF38JXGWOmqybhe1x8wc4Fw/1g777VfwbyzG0wh2WgxkZ2R7qzKttnJ+iT8a/Un+ZLi8AnWN7KiwabRiMvc1VXO6zl

to your yaml.  The key is the *public* key of the machine (what you get 
from ssh-keyscan), to verify you are talking to the right target.  That, 
along with the 'roles' and 'tasks' section, is put in a yaml file, and the 
filename is passed to the 'teuthology' binary.

sage


On Thu, 14 Aug 2014, Vijayendra Shamanna wrote:

> Hi,
> 
> I had gotten teuthology to work some time back to a reasonable extent in my local setup with a few quick ugly hacks. The main set of changes were,
> 
> 1. Explicitly named my test systems as "plana01" , "plana02" & "plana03". Some of the teuthology code which checks for VM instances does compare with known set/class of machine names
> 2. In lock_machines() routine (teuthology/task/internal.py), set ctx.config['targets'] as follows:
>     mydict['myuser@plana01'] = 'ssh-rsa <my_ssh_key1>'
>     mydict['myuser@plana02'] = 'ssh-rsa <my_ssh_key2>' and so on..
>    ctx.config['targets'] = mydict
> 3. Comment out the reporting code in teuthology/report.py
> 
> There were a few other minor changes like disabling teuthology branch checkout etc.
> 
> Thanks,
> Viju
> 
> 
> 
> -----Original Message-----
> From: ceph-devel-owner@xxxxxxxxxxxxxxx [mailto:ceph-devel-owner@xxxxxxxxxxxxxxx] On Behalf Of guping
> Sent: Thursday, August 14, 2014 8:22 AM
> To: ceph-devel@xxxxxxxxxxxxxxx
> Subject: Is that possible to run teuthology on local test servers
> 
> I read the doc on the github teuthology, but still can not figure out how to run teuthology on my local test servers.
> Any experience? Any advice?
> 
> --
> Thanks,
> Gu Ping
> 
> --
> 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
> 
> ________________________________
> 
> PLEASE NOTE: The information contained in this electronic mail message is intended only for the use of the designated recipient(s) named above. If the reader of this message is not the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify the sender by telephone or e-mail (as shown above) immediately and destroy any and all copies of this message in your possession (whether hard copies or electronically stored copies).
> 
> --
> 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
> 
> 
--
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