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

2014-08-14 Thread Sage Weil
You can accomplish the same thing by adding a section like

targets:
  ubu...@plana37.front.sepia.ceph.com: ssh-rsa 
B3NzaC1yc2EDAQABAAABAQDlGkqSVZEriH63rFY4R4y6jelC0RGv/A8JtkIGWqRDIjLYsXgB4GoSNsI5H0FGhR+8ZiE2kOimFvpzYXCiFEW9QNWEcdKn75ZsnUnCTJf0fhYUyyD0qaxL3BhDyPX2pazSPvIB9w+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 '
> mydict['myuser@plana02'] = 'ssh-rsa ' 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-ow...@vger.kernel.org 
> [mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of guping
> Sent: Thursday, August 14, 2014 8:22 AM
> To: ceph-devel@vger.kernel.org
> 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 majord...@vger.kernel.org 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 majord...@vger.kernel.org
> 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


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

2014-08-13 Thread Vijayendra Shamanna
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 '
mydict['myuser@plana02'] = 'ssh-rsa ' 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-ow...@vger.kernel.org 
[mailto:ceph-devel-ow...@vger.kernel.org] On Behalf Of guping
Sent: Thursday, August 14, 2014 8:22 AM
To: ceph-devel@vger.kernel.org
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 majord...@vger.kernel.org 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Is that possible to run teuthology on local test servers

2014-08-13 Thread guping
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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html